feat:云流水

This commit is contained in:
苏竹红
2025-04-17 16:48:29 +08:00
parent 887fd9b1a9
commit 7bd4f2503d
5 changed files with 6 additions and 11 deletions

View File

@@ -199,8 +199,7 @@ public class PushServiceImpl implements PushService {
OpportunityApiResponse<T> apiResponse = objectMapper.readValue(responseBody, javaType);
if (apiResponse.getCode() != 200) {
throw new ServiceException(ErrorCodeEnum.THIRD_API_ERROR,
"业务逻辑错误: " + apiResponse.getMsg());
throw new ServiceException(ErrorCodeEnum.THIRD_API_ERROR,apiResponse.getMsg());
}
return apiResponse.getData();
}
@@ -320,8 +319,7 @@ public class PushServiceImpl implements PushService {
XgjBaseResponse<T> apiResponse = objectMapper.readValue(responseBody, javaType);
if (apiResponse.getRetCode() != 200) {
throw new ServiceException(ErrorCodeEnum.THIRD_API_ERROR,
"业务逻辑错误: " + apiResponse.getRetMsg());
throw new ServiceException(ErrorCodeEnum.THIRD_API_ERROR,apiResponse.getRetMsg());
}
return apiResponse.getRetData();

View File

@@ -123,8 +123,7 @@ public class ThirdBigDataServiceImpl implements ThirdBigDataService {
OpportunityApiResponse<T> apiResponse = objectMapper.readValue(responseBody, javaType);
if (apiResponse.getCode() != 0) {
throw new ServiceException(ErrorCodeEnum.THIRD_API_ERROR,
"业务逻辑错误: " + apiResponse.getMsg());
throw new ServiceException(ErrorCodeEnum.THIRD_API_ERROR, apiResponse.getMsg());
}
return apiResponse.getData();

View File

@@ -112,8 +112,7 @@ public class ThirdHuoMaServiceImpl implements HuoMaService {
OpportunityApiResponse<T> apiResponse = objectMapper.readValue(responseBody, javaType);
if (apiResponse.getCode() != 200) {
throw new ServiceException(ErrorCodeEnum.THIRD_API_ERROR,
"业务逻辑错误: " + apiResponse.getMsg());
throw new ServiceException(ErrorCodeEnum.THIRD_API_ERROR,apiResponse.getMsg());
}
return apiResponse.getData();

View File

@@ -123,8 +123,7 @@ public class ThirdOpportunityServiceImpl implements ThirdOpportunityService {
OpportunityApiResponse<T> apiResponse = objectMapper.readValue(responseBody, javaType);
if (apiResponse.getCode() != 200) {
throw new ServiceException(ErrorCodeEnum.THIRD_API_ERROR,
"业务逻辑错误: " + apiResponse.getMsg());
throw new ServiceException(ErrorCodeEnum.THIRD_API_ERROR,apiResponse.getMsg());
}
return apiResponse.getData();

View File

@@ -1,5 +1,5 @@
spring.application.name=zxjp-web
spring.profiles.active=@profileActive@
spring.profiles.active=test
server.port=40300
server.servlet.context-path=/zxjp