Pārlūkot izejas kodu

添加日志

tags/v2.4.1
xiaoying pirms 1 gada
vecāks
revīzija
637da07a99
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      tuoheng_oidc_admin/src/main/java/com/tuoheng/third/service/impl/ThirdServiceImpl.java

+ 1
- 0
tuoheng_oidc_admin/src/main/java/com/tuoheng/third/service/impl/ThirdServiceImpl.java Parādīt failu

@@ -177,6 +177,7 @@ public class ThirdServiceImpl implements ThirdService {
response = restTemplate.exchange(url, HttpMethod.GET, httpEntity, parameterizedTypeReference, request.getRoleId());
} catch (Exception e) {
log.error("对应平台标识:{}", platform.getPlatformName());
log.info(e.getMessage());
throw new ServiceException(HttpStatus.BAD_REQUEST.value(), "获取菜单列表失败!");
}
if (response == null || !response.hasBody() || response.getBody().getCode() != JsonResult.SUCCESS) {

Notiek ielāde…
Atcelt
Saglabāt