Kaynağa Gözat

更新异常提示信息,精准对应业务平台

tags/v2.4.1
xiaoying 1 yıl önce
ebeveyn
işleme
b9a7c713e1
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. +3
    -3
      tuoheng_oidc_admin/src/main/java/com/tuoheng/service/impl/ClientUserServiceImpl.java

+ 3
- 3
tuoheng_oidc_admin/src/main/java/com/tuoheng/service/impl/ClientUserServiceImpl.java Dosyayı Görüntüle

@@ -553,7 +553,7 @@ public class ClientUserServiceImpl implements ClientUserSevice {
throw new ServiceException(HttpStatus.BAD_REQUEST.value(), "业务平台新增租户失败");
}
if (response.getBody().getCode() != JsonResult.SUCCESS) {
log.error("业务平台更新租户响应失败, 业务平台标识:" + dto.getClientId());
log.error("业务平台新增租户响应失败,数据来源:" + platform.getPlatformName());
throw new ServiceException(HttpStatus.BAD_REQUEST.value(), response.getBody().getMsg());
}
return JsonResult.success();
@@ -619,7 +619,7 @@ public class ClientUserServiceImpl implements ClientUserSevice {
throw new ServiceException(HttpStatus.BAD_REQUEST.value(), "业务平台更新租户失败");
}
if (response.getBody().getCode() != JsonResult.SUCCESS) {
log.error("业务平台更新租户响应失败, 业务平台标识:" + dto.getClientId());
log.error("业务平台更新租户响应失败,数据来源:" + platform.getPlatformName());
throw new ServiceException(HttpStatus.BAD_REQUEST.value(), response.getBody().getMsg());
}
return JsonResult.success();
@@ -681,7 +681,7 @@ public class ClientUserServiceImpl implements ClientUserSevice {
throw new ServiceException(HttpStatus.BAD_REQUEST.value(), "业务平台删除租户失败");
}
if (response.getBody().getCode() != JsonResult.SUCCESS) {
log.error("业务平台更新租户响应失败, 业务平台标识:" + dto.getClientId());
log.error("业务平台删除租户响应失败,数据来源:" + platform.getPlatformName());
throw new ServiceException(HttpStatus.BAD_REQUEST.value(), response.getBody().getMsg());
}
return JsonResult.success();

Yükleniyor…
İptal
Kaydet