fix:单点
This commit is contained in:
1 parent
88a41ffffe
commit
63a3b8cc9c
1 file changed
+2
-1
+2
-1
@@ -410,6 +410,7 @@ public class ThirdPartyOAuth2Service {
|
||||
ResponseEntity<ApiResponse<ZZDUserDTO>> 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());
|
||||
|
||||
Reference in new issue
Block a user