Showing
1 changed file
with
4 additions
and
5 deletions
| ... | @@ -4,9 +4,6 @@ import com.fasterxml.jackson.databind.DeserializationFeature; | ... | @@ -4,9 +4,6 @@ import com.fasterxml.jackson.databind.DeserializationFeature; |
| 4 | import com.fasterxml.jackson.databind.ObjectMapper; | 4 | import com.fasterxml.jackson.databind.ObjectMapper; |
| 5 | import com.infoloop.tianting.model.dto.ClientCustomerDbDTO.CurrentClientCustomerDto; | 5 | import com.infoloop.tianting.model.dto.ClientCustomerDbDTO.CurrentClientCustomerDto; |
| 6 | import com.infoloop.tianting.model.dto.ClientCustomerDbDTO.CurrentClientCustomerListDto; | 6 | import com.infoloop.tianting.model.dto.ClientCustomerDbDTO.CurrentClientCustomerListDto; |
| 7 | -import com.infoloop.tianting.model.dto.WxUserDto.WxUserOpenIdDto; | ||
| 8 | -import java.util.ArrayList; | ||
| 9 | -import java.util.List; | ||
| 10 | import lombok.RequiredArgsConstructor; | 7 | import lombok.RequiredArgsConstructor; |
| 11 | import okhttp3.MediaType; | 8 | import okhttp3.MediaType; |
| 12 | import okhttp3.OkHttpClient; | 9 | import okhttp3.OkHttpClient; |
| ... | @@ -16,6 +13,8 @@ import okhttp3.Response; | ... | @@ -16,6 +13,8 @@ import okhttp3.Response; |
| 16 | import org.springframework.beans.factory.annotation.Autowired; | 13 | import org.springframework.beans.factory.annotation.Autowired; |
| 17 | import org.springframework.stereotype.Service; | 14 | import org.springframework.stereotype.Service; |
| 18 | 15 | ||
| 16 | +import java.util.List; | ||
| 17 | + | ||
| 19 | @Service | 18 | @Service |
| 20 | @RequiredArgsConstructor(onConstructor = @__(@Autowired)) | 19 | @RequiredArgsConstructor(onConstructor = @__(@Autowired)) |
| 21 | public class ClientCustomerServiceHttpClient { | 20 | public class ClientCustomerServiceHttpClient { |
| ... | @@ -26,9 +25,9 @@ public class ClientCustomerServiceHttpClient { | ... | @@ -26,9 +25,9 @@ public class ClientCustomerServiceHttpClient { |
| 26 | try { | 25 | try { |
| 27 | String url = ""; | 26 | String url = ""; |
| 28 | if (isHis) { | 27 | if (isHis) { |
| 29 | - url = "https://nutri2.infoscm.cn/v3/hiscustomers/current/query"; | 28 | + url = "https://nutri.amcare.com.cn/v3/hiscustomers/current/query"; |
| 30 | } else { | 29 | } else { |
| 31 | - url = "https://nutri2.infoscm.cn/v3/clientcustomers/current/query"; | 30 | + url = "https://nutri.amcare.com.cn/v3/clientcustomers/current/query"; |
| 32 | } | 31 | } |
| 33 | 32 | ||
| 34 | MediaType mediaType = MediaType.parse("application/json; charset=utf-8"); | 33 | MediaType mediaType = MediaType.parse("application/json; charset=utf-8"); | ... | ... |
-
Please register or login to post a comment