|
|
@ -130,6 +130,9 @@ public class ResiMineGridServiceImpl implements ResiMineGridService { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/* |
|
|
|
//2022.4.29 应前端要求 入参不再传appid值
|
|
|
|
//1.调用third服务,根据appId获取客户Id
|
|
|
|
JSONObject jsonObject = new JSONObject(); |
|
|
|
String customerMsgUrl = "https://epmet-cloud.elinkservice.cn/api/third/customermp/getcustomermsg/"; |
|
|
@ -148,10 +151,10 @@ public class ResiMineGridServiceImpl implements ResiMineGridService { |
|
|
|
JSONObject json = JSON.parseObject(PublicCustomerResultDTO.toString()); |
|
|
|
Map<String, Object> map = (Map) json.get("customer"); |
|
|
|
PaCustomerDTO customer = ConvertUtils.mapToEntity(map, PaCustomerDTO.class); |
|
|
|
logger.info("小程序登陆third服务获取客户用户信息PaCustomerDTO->" + customer); |
|
|
|
logger.info("小程序登陆third服务获取客户用户信息PaCustomerDTO->" + customer);*/ |
|
|
|
|
|
|
|
//2.调用epmet-user服务,根据客户Id和用户Id查询最后一次访问记录
|
|
|
|
formDTO.setCustomerId(customer.getId()); |
|
|
|
//formDTO.setCustomerId(customer.getId());
|
|
|
|
Result<LatestGridInfoResultDTO> userResult = epmetUserOpenFeignClient.latestGridInfo(formDTO); |
|
|
|
if (!userResult.success()) { |
|
|
|
logger.error(String.format("居民端获取用户最近访问网格失败,接口入参客户Id->%s,appId->%s,调用epmet-user-server服务返回->%s", formDTO.getCustomerId(), formDTO.getAppId(), JSON.toJSONString(userResult))); |
|
|
|