Browse Source

更新提示信息

tags/v2.4.0
xiaoying 1 year ago
parent
commit
33d42e3975
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      tuoheng_oidc_admin/src/main/java/com/tuoheng/service/impl/ClientUserServiceImpl.java

+ 4
- 4
tuoheng_oidc_admin/src/main/java/com/tuoheng/service/impl/ClientUserServiceImpl.java View File

@@ -576,14 +576,14 @@ public class ClientUserServiceImpl implements ClientUserSevice {
break;
}
} catch (Exception e) {
throw new ServiceException(HttpStatus.BAD_REQUEST.value(), "机场平台创建租户失败");
throw new ServiceException(HttpStatus.BAD_REQUEST.value(), "机场业务发送请求失败");
}
if (null == response || !response.hasBody()) {
log.error("机场平台创建租户响应失败");
throw new ServiceException(HttpStatus.BAD_REQUEST.value(), "机场平台创建租户失败");
log.error("机场业务发送请求失败响应失败");
throw new ServiceException(HttpStatus.BAD_REQUEST.value(), "机场业务发送请求失败");
}
if (response.getBody().getCode() != JsonResult.SUCCESS) {
log.error("机场平台创建租户响应失败" + response.getBody());
log.error("机场业务发送请求失败响应失败" + response.getBody());
throw new ServiceException(HttpStatus.BAD_REQUEST.value(), response.getBody().getMsg());
}
return JsonResult.success();

Loading…
Cancel
Save