diff --git a/pjcloud-thirdparty/pjcloud-thirdparty-biz/src/main/java/com/bsd/pjcloud/thirdparty/service/ThirdPartyOAuth2Service.java b/pjcloud-thirdparty/pjcloud-thirdparty-biz/src/main/java/com/bsd/pjcloud/thirdparty/service/ThirdPartyOAuth2Service.java index 70dc2197b..659f1754f 100644 --- a/pjcloud-thirdparty/pjcloud-thirdparty-biz/src/main/java/com/bsd/pjcloud/thirdparty/service/ThirdPartyOAuth2Service.java +++ b/pjcloud-thirdparty/pjcloud-thirdparty-biz/src/main/java/com/bsd/pjcloud/thirdparty/service/ThirdPartyOAuth2Service.java @@ -410,6 +410,7 @@ public class ThirdPartyOAuth2Service { ResponseEntity> response = restTemplate.exchange( url, HttpMethod.GET, requestEntity, responseType ); +// if (true){ if (response.getBody().getCode().equals("-1")){ log.error("获取浙政钉/诗画用户信息失败"); @@ -422,7 +423,7 @@ public class ThirdPartyOAuth2Service { thirdPartyLogEntity.setApiName(UserTypeEnum.SH.getDescription()); } // thirdPartyLogEntity.setApiName("获取浙政钉/诗画用户信息失败"); - thirdPartyLogEntity.setRequestUrl(url); + thirdPartyLogEntity.setRequestUrl( baseUrl + config.getZzdShUserInfoUrl()); thirdPartyLogEntity.setRequestParameter(zzdToken); thirdPartyLogEntity.setResponseBody(JSON.toJSONString(response.getBody())); thirdPartyLogEntity.setErrorCode(response.getBody().getCode());