Browse Source

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

csx 3 years ago
parent
commit
97e41bfe23
2 changed files with 5 additions and 4 deletions
  1. 3 2
      conf/app.conf
  2. 2 2
      controllers/sg/his_api_controller.go

+ 3 - 2
conf/app.conf View File

@@ -44,7 +44,8 @@ appsecret="61ee2e6268497d5aa9de0b0187c39aea"
44 44
 
45 45
 
46 46
 [prod]
47
-org_id = 10106
47
+
48
+org_id = 9919
48 49
 mobile_token_expiration_second = 86400
49 50
 httpdomain = https://api.xt.kuyicloud.com
50 51
 sso_domain = https://sso.kuyicloud.com
@@ -53,7 +54,7 @@ front_end_domain = "https://xt.kuyicloud.com/#"
53 54
 #url  = "http://192.168.1.228:17001/szsi-portal/transData"
54 55
 url = "http://192.168.1.88:6666/szsi-portal/transData"
55 56
 gdyb_url = "http://igb.hsa.gdgov.cn/ebus/gdyb_api/prd/hsa/hgs/"
56
-gdyb_paasid = "jm_sc_yjyy"
57
+gdyb_paasid = "sg03_prd"
57 58
 
58 59
 readmysqlhost = shengws1.mysql.rds.aliyuncs.com
59 60
 readmysqlport = 3306

+ 2 - 2
controllers/sg/his_api_controller.go View File

@@ -1019,7 +1019,7 @@ func (c *HisApiController) GetRegisterInfo() {
1019 1019
 
1020 1020
 			if count <= 0 {
1021 1021
 				api := "http://127.0.0.1:9532/" + "gdyb/two?cert_no=" + IdCardNo + "&insutype=" +
1022
-					insutype + "&psn_no=" + res.Output.Baseinfo.PsnNo +
1022
+					"390" + "&psn_no=" + res.Output.Baseinfo.PsnNo +
1023 1023
 					"&org_name=" + miConfig.OrgName + "&doctor=" + patientPrescription.Doctor + "&ipt_otp_no=" + ipt_otp_no +
1024 1024
 					"&dept=" + department.Name + "&fixmedins_code=" + miConfig.Code + "&dept_code=" + department.Number + "&doctor_id=" + doctor_id + "&insuplc_admdvs=" + miConfig.InsuplcAdmdvs + "&mdtrtarea_admvs=" + miConfig.MdtrtareaAdmvs + "&secret_key=" + miConfig.SecretKey + "&id_card_type=" + strconv.FormatInt(int64(id_card_type), 10)
1025 1025
 				resp, requestErr := http.Get(api)
@@ -1501,7 +1501,7 @@ func (c *HisApiController) GetUploadInfo() {
1501 1501
 				}
1502 1502
 
1503 1503
 				api := "http://127.0.0.1:9532/" + "gdyb/eight?cert_no=" + cert_no + "&insutype=" +
1504
-					insutype + "&psn_no=" + psn_no + "&chrg_bchno=" + chrg_bchno + "&mdtrt_id=" + mdtrt_id +
1504
+					"390" + "&psn_no=" + psn_no + "&chrg_bchno=" + chrg_bchno + "&mdtrt_id=" + mdtrt_id +
1505 1505
 					"&total=" + allTotal + "&org_name=" + miConfig.OrgName + "&doctor=" + roles.UserName + "&fixmedins_code=" + miConfig.Code + "&insuplc_admdvs=" + miConfig.InsuplcAdmdvs + "&mdtrtarea_admvs=" + miConfig.MdtrtareaAdmvs + "&secret_key=" +
1506 1506
 					miConfig.SecretKey + "&med_type=" + strconv.FormatInt(patientPrescription.RegisterType, 10) + "&id_card_type=" + strconv.FormatInt(int64(his.IdCardType), 10)
1507 1507
 				resp, requestErr := http.Get(api)