Browse Source

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

csx 3 years ago
parent
commit
c5f894f0f1
3 changed files with 7 additions and 7 deletions
  1. 3 3
      conf/app.conf
  2. 2 2
      controllers/sg/his_api_controller.go
  3. 2 2
      service/gdyb_service.go

+ 3 - 3
conf/app.conf View File

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

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

@@ -1699,7 +1699,7 @@ func (c *HisApiController) GetRegisterInfo() {
1699 1699
 				insutype = "310"
1700 1700
 			}
1701 1701
 
1702
-			insutype = "390"
1702
+			//insutype = "390"
1703 1703
 
1704 1704
 			//if count == 1 {
1705 1705
 			//	c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeRegisterRepeatException)
@@ -2387,7 +2387,7 @@ func (c *HisApiController) GetUploadInfo() {
2387 2387
 				insutype = "310"
2388 2388
 			}
2389 2389
 
2390
-			insutype = "390"
2390
+			//insutype = "390"
2391 2391
 			if his.IdCardType == 1 {
2392 2392
 				cert_no = his.MedicalInsuranceNumber
2393 2393
 

+ 2 - 2
service/gdyb_service.go View File

@@ -2446,12 +2446,12 @@ func SetInputMessage(nonce string, timestamp int64, org_name string, doctor stri
2446 2446
 	inputMessage["msgid"] = fixmedins_code + timeFormat + strconv.FormatInt(int64(randNum), 10) // 发送方报文 ID
2447 2447
 	inputMessage["mdtrtarea_admvs"] = mdtrtarea_admvs                                           // 就医地医保区划
2448 2448
 	inputMessage["insuplc_admdvs"] = insuplc_admdvs                                             // 参保地医保区划
2449
-	inputMessage["recer_sys_code"] = "01"                                                       // 接收方系统代码
2449
+	inputMessage["recer_sys_code"] = "1"                                                        // 接收方系统代码
2450 2450
 	inputMessage["dev_no"] = ""                                                                 // 设备编号
2451 2451
 	inputMessage["dev_safe_info"] = ""                                                          // 设备安全信息
2452 2452
 	inputMessage["cainfo"] = ""                                                                 // 数字签名信息
2453 2453
 	inputMessage["signtype"] = ""                                                               // 签名类型
2454
-	inputMessage["infver"] = "V1.1"                                                             // 接收方系统代码
2454
+	inputMessage["infver"] = "V2.0"                                                             // 接收方系统代码
2455 2455
 	inputMessage["opter_type"] = "1"                                                            // 经办人类别
2456 2456
 	inputMessage["opter"] = doctor                                                              // 经办人
2457 2457
 	inputMessage["opter_name"] = doctor                                                         // 经办人姓名