Browse Source

修改企业注册错误信息返回

xusonglin 4 years ago
parent
commit
a92948ebf5

+ 1 - 1
src/main/java/com/jkcredit/invoice/hub/service/apiCompany/ApiCompanyServiceImpl.java

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