Sfoglia il codice sorgente

1.紫金财险修改

wks 3 anni fa
parent
commit
e67583db0e

+ 3 - 2
src/main/java/com/ydtech/modules/order/entity/api/zj/constants/enums/ResultEnum.java

@@ -17,14 +17,15 @@ public enum ResultEnum {
     R_0000("0000", "成功"),
     R_4001("4001", "重复投保标志"),
     R_9980("9980", "转保标志"),
-    R_9999("9999", "系统异常");
+    R_9999("9999", "系统异常"),
+    R_999("999", "系统异常");
 
     private final String code;
 
     private final String desc;
 
     public static void verify(String rtnCode, String rtnMsg) {
-        if (R_9999.getCode().equals(rtnCode)) {
+        if (R_9999.getCode().equals(rtnCode) || R_999.getCode().equals(rtnCode)) {
             throw new SystemException(rtnMsg);
         }
     }

+ 2 - 33
src/main/resources/application-prod.yml

@@ -61,19 +61,7 @@ cbit:
   ip: 10.23.69.91
   url_pre: http://88.88.1.52:5017
 filePath: /usr/local/apache-tomcat-8.5.73/webapps/upload/
-hb:
-  audit:
-    url: http://172.24.144.213:8088/hb/hb_hebao
-  getPolicyPrint:
-    url: http://172.24.144.213:8088/hb/hb_bdsearch
-  image:
-    url: http://172.24.144.213:8088/hb/hb_phoup
-  quote:
-    url: http://172.24.144.213:8088/hb/hb_bfjs
-hn:
-  vin:
-    search:
-      url: http://172.24.144.213:8088/hn/vinsearch
+
 master:
   password:
     ciphertext: 9d3b721959d63c10173d378e82aaecf2
@@ -101,17 +89,7 @@ pagehelper:
 pyramid:
   dept:
     id: 99140109M03D01
-rb:
-  audit:
-    url: http://172.24.144.213:8088/rb/jiaofei
-  brand:
-    search:
-      url: http://172.24.144.213:8088/rb/brandsearch
-  car:
-    search:
-      url: http://172.24.144.213:8088/rb/carsearch
-  quote:
-    url: http://172.24.144.213:8088/rb/bfjs
+
 resp_json: '{"status":"Z00001","msg":"success","data":{"invoiceType":[],"payWayList":[{"payWayCode":"Z000005"}],"switchList":[{"cityName":null,"insurerId":null,"configCode":"Z00002","configValue":"ON","remark":"��Ҫ����ǩ��"},{"cityName":null,"insurerId":null,"configCode":"Z00009","configValue":"ON","remark":"��Ҫǰ���ύ��ת����̨֧��"},{"cityName":null,"insurerId":null,"configCode":"Z00007","configValue":"ON","remark":"��Ҫ���ó���ȷ��"},{"cityName":null,"insurerId":null,"configCode":"Z00001","configValue":"ON","remark":"��Ҫ���Ͷ���(�ֻ�ʵ����֤)"}]},"insurerId":"000108","baseParam":{"requestNo":"baodafang-00197e79fcc-f39c-4c54-86fc-a88668b0647e"},"success":true}'
 
 spring:
@@ -183,15 +161,6 @@ yc:
       callBack: http://sxzgkj.baoxianzhanggui.com/web-api/api/yongCheng/callBack
     url: http://www.yongcheng.com:17002/
   #    url: http://140.206.189.151:17000/
-  audit:
-    url: /yc/jiaofei
-  domain: http://47.92.254.66:8088
-  getPolicyPrint:
-    url: /yc/bdxz
-  image:
-    url: /yc/yxsc
-  quote:
-    url: /yc/bfjs
 
 zm:
   ascription:

+ 0 - 42
src/main/resources/application-test.yml

@@ -77,23 +77,6 @@ cbit:
 #文件上传路径测试
 filePath: C:/soft/apache-tomcat-8.5.75/webapps/upload/
 
-# 恒邦
-hb:
-  audit:
-    url: http://47.92.254.66:8088/hb/hb_hebao
-  getPolicyPrint:
-    url: http://47.92.254.66:8088/hb/hb_bdsearch
-  image:
-    url: http://47.92.254.66:8088/hb/hb_phoup
-  quote:
-    url: http://47.92.254.66:8088/hb/hb_bfjs
-
-#华农
-hn:
-  vin:
-    search:
-      #华农vin码查询
-      url: http://47.92.254.66:8088/hn/vinsearch
 master:
   password:
     ciphertext: 9d3b721959d63c10173d378e82aaecf2
@@ -126,20 +109,6 @@ pyramid:
   dept:
     id: 99D05
 
-# 人保
-rb:
-  audit:
-    url: http://47.92.254.66:8088/rb/jiaofei
-  brand:
-    search:
-      url: http://47.92.254.66:8088/rb/brandsearch
-  car:
-    search:
-      url: http://47.92.254.66:8088/rb/carsearch
-  domain: http://47.92.254.66:8088/rb
-  quote:
-    url: http://47.92.254.66:8088/rb/bfjs
-
 resp_json: '{"code":200,"msg":null,"data":{"busUniqueId":"P_YBX_TESTT0NukiEN02OGDABB","total":3518.79,"insureId":null,"businessPolicy":{"specialTermItems":null,"coverages":null,"applicationNo":"53201093900246326035"},"trafficPolicy":{"specialTermItems":null,"coverages":null,"applicationNo":"53201093900246326036"},"propertyPolicies":null,"casualtyPolicies":null}}'
 
 
@@ -288,16 +257,6 @@ yc:
     #      callBack: http://47.92.254.66:8080/api/yongCheng/callBack
     url: http://www.yongcheng.com:17002/
   #    url: http://140.206.189.151:17000/
-  audit:
-    url: /yc/jiaofei
-  domain: http://47.92.254.66:8088
-  getPolicyPrint:
-    url: /yc/bdxz
-  image:
-    url: /yc/yxsc
-  quote:
-    url: /yc/bfjs
-
 
 #中煤
 zm:
@@ -340,7 +299,6 @@ zj:
 #    proposalCityCode: 320100
 #    proposalAreaCode: 320000
     # 为接入方提供获取token服务
-
     accessTokenUrl: https://test-open.zking.com/api/v1/public/token/getAccessToken
     # 车险业务
     url: http://test-open.zking.com/api/v1/insurance/autoMobile/carInsurance/