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