|
|
@@ -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(); |