Browse Source

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

csx 3 years ago
parent
commit
50c43e3e42
2 changed files with 10 additions and 10 deletions
  1. 4 4
      conf/app.conf
  2. 6 6
      service/gdyb_service.go

+ 4 - 4
conf/app.conf View File

1
 appname = 血透
1
 appname = 血透
2
 httpport = 9532
2
 httpport = 9532
3
-runmode = dev
3
+runmode = prod
4
 
4
 
5
 #
5
 #
6
 copyrequestbody = true
6
 copyrequestbody = true
44
 
44
 
45
 
45
 
46
 [prod]
46
 [prod]
47
-org_id = 9504
47
+org_id = 9919
48
 mobile_token_expiration_second = 86400
48
 mobile_token_expiration_second = 86400
49
 httpdomain = https://api.xt.kuyicloud.com
49
 httpdomain = https://api.xt.kuyicloud.com
50
 sso_domain = https://sso.kuyicloud.com
50
 sso_domain = https://sso.kuyicloud.com
53
 #url  = "http://192.168.1.228:17001/szsi-portal/transData"
53
 #url  = "http://192.168.1.228:17001/szsi-portal/transData"
54
 url = "http://192.168.1.88:6666/szsi-portal/transData"
54
 url = "http://192.168.1.88:6666/szsi-portal/transData"
55
 gdyb_url = "http://igb.hsa.gdgov.cn/ebus/gdyb_api/prd/hsa/hgs/"
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
 #gdyb_paasid = "zh_prd_yjyy"
58
 #gdyb_paasid = "zh_prd_yjyy"
59
 
59
 
60
 readmysqlhost = shengws1.mysql.rds.aliyuncs.com
60
 readmysqlhost = shengws1.mysql.rds.aliyuncs.com

+ 6 - 6
service/gdyb_service.go View File

135
 	gdyb_url := beego.AppConfig.String("gdyb_url")
135
 	gdyb_url := beego.AppConfig.String("gdyb_url")
136
 	gdyb_paasid := beego.AppConfig.String("gdyb_paasid")
136
 	gdyb_paasid := beego.AppConfig.String("gdyb_paasid")
137
 
137
 
138
-	DllDef := syscall.MustLoadDLL("PbJson.dll")
139
-	Iinit := DllDef.MustFindProc("yh_dzybk_call")
140
-	var str3 string
141
-	ret, _, _ := Iinit.Call(StrPtr("1101"), StrPtr(string(bytesData)), StrPtr(str3))
142
-	fmt.Println(ret)
143
-	fmt.Println(str3)
138
+	//DllDef := syscall.MustLoadDLL("PbJson.dll")
139
+	//Iinit := DllDef.MustFindProc("yh_dzybk_call")
140
+	//var str3 string
141
+	//ret, _, _ := Iinit.Call(StrPtr("1101"), StrPtr(string(bytesData)), StrPtr(str3))
142
+	//fmt.Println(ret)
143
+	//fmt.Println(str3)
144
 
144
 
145
 	//url := "http://igb.hsa.gdgov.cn/ebus/gdyb_api/prd/hsa/hgs/1101"
145
 	//url := "http://igb.hsa.gdgov.cn/ebus/gdyb_api/prd/hsa/hgs/1101"
146
 	url := gdyb_url + "1101"
146
 	url := gdyb_url + "1101"