Ver código fonte

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

csx 2 anos atrás
pai
commit
282df09e50
2 arquivos alterados com 8 adições e 3 exclusões
  1. 3 3
      conf/app.conf
  2. 5 0
      controllers/sg/his_api_controller.go

+ 3 - 3
conf/app.conf Ver arquivo

@@ -45,7 +45,7 @@ appsecret="61ee2e6268497d5aa9de0b0187c39aea"
45 45
 
46 46
 
47 47
 [prod]
48
-org_id = 10138
48
+org_id = 10188
49 49
 mobile_token_expiration_second = 86400
50 50
 httpdomain = https://api.xt.kuyicloud.com
51 51
 sso_domain = https://sso.kuyicloud.com
@@ -54,7 +54,7 @@ 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 56
 # gdyb_url = "http://igb.hsa.gdgov.cn/ebus/gdyb_api/prd/hsa/hgs/"
57
-gdyb_url="http://igb.hsa.gdgov.cn/ebus/sz_prd/hsa/hgs/"
57
+# gdyb_url="http://igb.hsa.gdgov.cn/ebus/sz_prd/hsa/hgs/"
58 58
 # gdyb_url = "http://10.97.240.206/ebus/sztest_hosp/poc/hsa/hgs/"
59 59
 #内蒙古
60 60
 # http://tyjk.nm.hsip.gov.cn:8090/uif-hsaf-med-api/api/medical/service
@@ -66,7 +66,7 @@ gdyb_url="http://igb.hsa.gdgov.cn/ebus/sz_prd/hsa/hgs/"
66 66
 #珠海
67 67
 # gdyb_paasid="zh_prd_yrojyy"
68 68
 #深圳
69
-gdyb_paasid = "sz_prd_yjyy"
69
+# gdyb_paasid = "sz_prd_yjyy"
70 70
 #肇庆
71 71
 # gdyb_paasid = "zq_prd_yjyy"
72 72
 

+ 5 - 0
controllers/sg/his_api_controller.go Ver arquivo

@@ -6322,6 +6322,8 @@ func (c *HisApiController) GetUploadInfo() {
6322 6322
 								//判断是否使用了押金
6323 6323
 								if dec_way == "true" {
6324 6324
 									tmpstring := strconv.FormatInt(order.ID, 10)
6325
+									order.Decimal = decimal
6326
+									service.UpDateOrder(order)
6325 6327
 									//扣押金
6326 6328
 									errmsg = service.SpendDeposit(c.GetAdminUserInfo().CurrentOrgId, id, c.GetAdminUserInfo().AdminUser.Id, tmpstring, decimal)
6327 6329
 									if errmsg != nil {
@@ -6726,6 +6728,9 @@ func (c *HisApiController) GetUploadInfo() {
6726 6728
 					if dec_way == "true" {
6727 6729
 						tmpstring := strconv.FormatInt(order.ID, 10)
6728 6730
 						//扣押金
6731
+						order.Decimal = decimal
6732
+						service.UpDateOrder(order)
6733
+
6729 6734
 						errmsg = service.SpendDeposit(c.GetAdminUserInfo().CurrentOrgId, id, c.GetAdminUserInfo().AdminUser.Id, tmpstring, decimal)
6730 6735
 						if errmsg != nil {
6731 6736
 							c.ServeFailJsonSend(enums.ErrorCodeParamWrong, errmsg.Error())