Jelajahi Sumber

修改请求方式

tianboguang 3 tahun lalu
induk
melakukan
0692c4afa5

+ 1 - 1
platform-common/src/main/java/com/platform/service/impl/ZhiHouseService.java

@@ -246,7 +246,7 @@ public class ZhiHouseService {
     public TbUser getByUserId(Long userId) {
         Map<String, Object> mp = new HashMap<>();
         mp.put("userId", userId);
-        String url = zhiHouseHost + "shop/sys/user/infoAnon/"+userId;
+        String url = zhiHouseHost + "api/shop/getByUserId";
         ResponseEntity<ReturnDTO>  responseEntity = restTemplate.postForEntity(url, mp,ReturnDTO.class);
         if(responseEntity.getStatusCode()!= HttpStatus.OK){
             throw new CommonBaseException(ResultCodeEnum.D100);