|
|
|
@ -163,7 +163,7 @@ public class SdtServiceImpl implements SdtService { |
|
|
|
HashMap<String, Object> params = new HashMap<>(); |
|
|
|
params.put("access_token", getCachedAccessToken(customerId)); |
|
|
|
params.put("code", authCode); |
|
|
|
Result<String> sdtResult = HttpClientManager.getInstance().sendGet("/cgi-bin/user/getuserinfo", params); |
|
|
|
Result<String> sdtResult = HttpClientManager.getInstance().sendGet(API_GET_USER_INFO_URL, params); |
|
|
|
if (!sdtResult.success()) { |
|
|
|
// http状态判断
|
|
|
|
log.error("【山东通登录】查询用户编码-http错误:{}", sdtResult.getMsg()); |
|
|
|
@ -185,7 +185,7 @@ public class SdtServiceImpl implements SdtService { |
|
|
|
HashMap<String, Object> userDetailParams = new HashMap<>(); |
|
|
|
userDetailParams.put("access_token", getCachedAccessToken(customerId)); |
|
|
|
userDetailParams.put("userid", userId); |
|
|
|
Result<String> userDetailResult = HttpClientManager.getInstance().sendGet("/cgi-bin/user/get", userDetailParams); |
|
|
|
Result<String> userDetailResult = HttpClientManager.getInstance().sendGet(API_GET_USER_DETAIL_URL, userDetailParams); |
|
|
|
if (!userDetailResult.success()) { |
|
|
|
// http状态判断
|
|
|
|
log.error("【山东通登录】查询用户详细信息-http错误:{}", userDetailResult.getMsg()); |
|
|
|
|