From 63a3b8cc9cc78f7d12e9b72dfba668a93fa696c1 Mon Sep 17 00:00:00 2001 From: zjf <1799650030@qq.com> Date: Thu, 3 Apr 2025 10:50:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=8D=95=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pjcloud/thirdparty/service/ThirdPartyOAuth2Service.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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());