|
|
@ -72,6 +72,9 @@ public class SdtServiceImpl implements SdtService { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
// todo
|
|
|
|
log.info("【山东通】刷新access_token结果为:{}", stringResult.getData()); |
|
|
|
|
|
|
|
SdtGetAccessTokenResult sdtResult = JSON.parseObject(stringResult.getData(), SdtGetAccessTokenResult.class); |
|
|
|
if (!sdtResult.success()) { |
|
|
|
log.error("【山东通】刷新accessToken失败:{}", sdtResult.getErrmsg()); |
|
|
@ -189,6 +192,9 @@ public class SdtServiceImpl implements SdtService { |
|
|
|
throw new EpmetException(EpmetErrorCode.SERVER_ERROR.getCode(), "调用山东通查询用户编码失败", null); |
|
|
|
} |
|
|
|
|
|
|
|
// todo
|
|
|
|
log.info("【山东通】查询用户编码结果为:{}", sdtResult.getData()); |
|
|
|
|
|
|
|
SdtStaffInfoResult staffInfoResult = JSON.parseObject(sdtResult.getData(), SdtStaffInfoResult.class); |
|
|
|
if (!staffInfoResult.success()) { |
|
|
|
// 山东通业务返回状态判断
|
|
|
@ -217,6 +223,9 @@ public class SdtServiceImpl implements SdtService { |
|
|
|
throw new EpmetException(EpmetErrorCode.SERVER_ERROR.getCode(), "调用山东通查询用户详细信息失败", null); |
|
|
|
} |
|
|
|
|
|
|
|
// todo
|
|
|
|
log.info("【山东通】查询用户详细信息结果为:{}", userDetailResult.getData()); |
|
|
|
|
|
|
|
SdtStaffDetailResult staffDetailResult = JSON.parseObject(userDetailResult.getData(), SdtStaffDetailResult.class); |
|
|
|
if (!staffDetailResult.success()) { |
|
|
|
// 山东通业务返回状态判断
|
|
|
|