|
|
@ -52,9 +52,11 @@ public class YuShanSysApiService { |
|
|
|
//只有榆山街道的工作人员才调用
|
|
|
|
if (null != staff && (staff.getAgencyId().equals(SpecialCustomerOrgConstant.YUSHAN_AGENCY_ID_PROD) || staff.getAgencyPIds().contains(SpecialCustomerOrgConstant.YUSHAN_AGENCY_ID_PROD))) { |
|
|
|
formDTO.setMobile(staff.getMobile()); |
|
|
|
//测试用手机号
|
|
|
|
// formDTO.setMobile("13205302682");
|
|
|
|
Result<String> res = HttpClientManager.getInstance().sendPostByJSON(apiPath, JSON.toJSONString(formDTO)); |
|
|
|
Result result = JSON.parseObject(res.getData(), Result.class); |
|
|
|
log.info(String.format("updateUserPoints 入参:%s", JSON.toJSONString(formDTO))); |
|
|
|
log.info(String.format("updateUserPoints 入参:%s;返参:%s", JSON.toJSONString(formDTO),JSON.toJSONString(result))); |
|
|
|
if (!result.success()) { |
|
|
|
log.warn("updateUserPoints failed:{}", JSON.toJSONString(result)); |
|
|
|
} |
|
|
|