Преглед на файлове

Merge branch 'master' of http://git.shengws.com/csx/gdyb

csx преди 3 години
родител
ревизия
6e1a08786c
променени са 2 файла, в които са добавени 12 реда и са изтрити 5 реда
  1. 5 5
      conf/app.conf
  2. 7 0
      controllers/sg/his_api_controller.go

+ 5 - 5
conf/app.conf Целия файл

@@ -45,7 +45,7 @@ appsecret="61ee2e6268497d5aa9de0b0187c39aea"
45 45
 
46 46
 
47 47
 [prod]
48
-org_id = 10265
48
+org_id = 10106
49 49
 mobile_token_expiration_second = 86400
50 50
 httpdomain = https://api.xt.kuyicloud.com
51 51
 sso_domain = https://sso.kuyicloud.com
@@ -53,12 +53,12 @@ call_domain = https://hf.sgjyun.com
53 53
 front_end_domain = "https://xt.kuyicloud.com/#"
54 54
 #url  = "http://192.168.1.228:17001/szsi-portal/transData"
55 55
 #url = "http://192.168.1.88:6666/szsi-portal/transData"
56
-# gdyb_url = "http://igb.hsa.gdgov.cn/ebus/gdyb_api/prd/hsa/hgs/"
56
+gdyb_url = "http://igb.hsa.gdgov.cn/ebus/gdyb_api/prd/hsa/hgs/"
57 57
 #gdyb_url="http://igb.hsa.gdgov.cn/ebus/sz_prd/hsa/hgs/"
58 58
 #内蒙古
59
-gdyb_url = "http://10.38.23.105:8090/uif-hsaf-med-api/api/medical/service/"
60
-gdyb_paasid = "sg03_prd"
61
-#gdyb_paasid = "jm_sc_yjyy"
59
+# gdyb_url = "http://10.38.23.105:8090/uif-hsaf-med-api/api/medical/service/"
60
+# gdyb_paasid = "sg03_prd"
61
+gdyb_paasid = "jm_sc_yjyy"
62 62
 #gdyb_paasid="zh_prd_yjyy"
63 63
 #gdyb_paasid = "sz_prd_yjyy"
64 64
 #gdyb_paasid = "zq_prd_yjyy"

+ 7 - 0
controllers/sg/his_api_controller.go Целия файл

@@ -3145,6 +3145,12 @@ func (c *HisApiController) GetRegisterInfo() {
3145 3145
 			if len(insutypes) == 2 {
3146 3146
 				insutype = med_type
3147 3147
 			}
3148
+
3149
+			if len(med_type) > 0 {
3150
+
3151
+				insutype = med_type
3152
+			}
3153
+
3148 3154
 			for _, item := range rf {
3149 3155
 				if item.Insutype == insutype {
3150 3156
 					insuplc_admdvs = item.InsuplcAdmdvs
@@ -3854,6 +3860,7 @@ func (c *HisApiController) GetUploadInfo() {
3854 3860
 							insutype = strconv.FormatInt(his.SocialType, 10)
3855 3861
 						}
3856 3862
 
3863
+						insutype = strconv.FormatInt(his.SocialType, 10)
3857 3864
 						//insutype = "390"
3858 3865
 						if his.IdCardType == 1 {
3859 3866
 							// cert_no = his.MedicalInsuranceNumber