|
@@ -104,7 +104,7 @@ public class ApiCompanyServiceImpl extends BaseService implements ApiCompanyServ
|
|
|
throw new ServiceException(CommonConstant.QUERY_FAILED);
|
|
|
} catch (ApiRequestException apie) {
|
|
|
log.error("[-companyAdd-] 错误信息:" + apie.getMessage());
|
|
|
- throw new ApiRequestException(apie.getMessage(), ApiResponseCodeEnum.CODE_200.getValue());
|
|
|
+ throw new com.jkcredit.invoice.hub.spi.lang.exception.ApiRequestException(apie.getMessage());
|
|
|
} catch (ServiceException se) {
|
|
|
log.error("[-companyAdd-] 错误信息:" + se.getMessage());
|
|
|
throw new ServiceException(se.getMessage());
|