浏览代码

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

csx 4 年前
父节点
当前提交
a6f32445f2
共有 1 个文件被更改,包括 33 次插入16 次删除
  1. 33 16
      service/sz_his_service.go

+ 33 - 16
service/sz_his_service.go 查看文件

@@ -63,7 +63,9 @@ func SzybMZ002(doctor string, doctor_code string, fixmedins_code string, dept_co
63 63
 			return err.Error()
64 64
 		}
65 65
 		reader := bytes.NewReader(bytesData)
66
-		url := "http://192.168.1.228:17001/szsi-portal/transData"
66
+		//url := "http://192.168.1.228:17001/szsi-portal/transData"
67
+		url := " http://192.168.1.88:6666/szsi-portal/transData"
68
+
67 69
 		request, err := http.NewRequest("POST", url, reader)
68 70
 		if err != nil {
69 71
 			fmt.Println(err.Error())
@@ -107,7 +109,9 @@ func SzybMZ002(doctor string, doctor_code string, fixmedins_code string, dept_co
107 109
 			return err.Error()
108 110
 		}
109 111
 		reader := bytes.NewReader(bytesData)
110
-		url := "http://192.168.1.228:17001/szsi-portal/transData"
112
+		//url := "http://192.168.1.228:17001/szsi-portal/transData"
113
+		url := " http://192.168.1.88:6666/szsi-portal/transData"
114
+
111 115
 		request, err := http.NewRequest("POST", url, reader)
112 116
 		if err != nil {
113 117
 			fmt.Println(err.Error())
@@ -180,7 +184,7 @@ func SzybFY001(doctor string, doctor_code string, fixmedins_code string, datas [
180 184
 		return err.Error()
181 185
 	}
182 186
 	reader := bytes.NewReader(bytesData)
183
-	url := "http://192.168.1.228:17001/szsi-portal/transData"
187
+	url := " http://192.168.1.88:6666/szsi-portal/transData"
184 188
 	request, err := http.NewRequest("POST", url, reader)
185 189
 	if err != nil {
186 190
 		fmt.Println(err.Error())
@@ -234,7 +238,8 @@ func SzybFY002(doctor string, doctor_code string, fixmedins_code string, datas [
234 238
 	}
235 239
 	reader := bytes.NewReader(bytesData)
236 240
 	//url := "http://192.168.1.99:10000"
237
-	url := "http://192.168.1.228:17001/szsi-portal/transData"
241
+	//url := "http://192.168.1.228:17001/szsi-portal/transData"
242
+	url := " http://192.168.1.88:6666/szsi-portal/transData"
238 243
 
239 244
 	request, err := http.NewRequest("POST", url, reader)
240 245
 	if err != nil {
@@ -283,7 +288,8 @@ func SzybFY004(doctor string, doctor_code string, fixmedins_code string, total f
283 288
 	}
284 289
 	reader := bytes.NewReader(bytesData)
285 290
 	//url := "http://192.168.1.99:10000"
286
-	url := "http://192.168.1.228:17001/szsi-portal/transData"
291
+	//url := "http://192.168.1.228:17001/szsi-portal/transData"
292
+	url := " http://192.168.1.88:6666/szsi-portal/transData"
287 293
 
288 294
 	request, err := http.NewRequest("POST", url, reader)
289 295
 	if err != nil {
@@ -344,7 +350,8 @@ func SzybFY005(doctor string, doctor_code string, fixmedins_code string, total f
344 350
 	}
345 351
 	reader := bytes.NewReader(bytesData)
346 352
 	//url := "http://192.168.1.99:10000"
347
-	url := "http://192.168.1.228:17001/szsi-portal/transData"
353
+	//url := "http://192.168.1.228:17001/szsi-portal/transData"
354
+	url := " http://192.168.1.88:6666/szsi-portal/transData"
348 355
 
349 356
 	request, err := http.NewRequest("POST", url, reader)
350 357
 	if err != nil {
@@ -388,7 +395,8 @@ func SzybJY001(doctor string, doctor_code string, fixmedins_code string, setl_nu
388 395
 	}
389 396
 	reader := bytes.NewReader(bytesData)
390 397
 	//url := "http://192.168.1.99:10000"
391
-	url := "http://192.168.1.228:17001/szsi-portal/transData"
398
+	//url := "http://192.168.1.228:17001/szsi-portal/transData"
399
+	url := " http://192.168.1.88:6666/szsi-portal/transData"
392 400
 
393 401
 	request, err := http.NewRequest("POST", url, reader)
394 402
 	if err != nil {
@@ -432,7 +440,8 @@ func SzybJY002(doctor string, doctor_code string, fixmedins_code string, setl_nu
432 440
 	}
433 441
 	reader := bytes.NewReader(bytesData)
434 442
 	//url := "http://192.168.1.99:10000"
435
-	url := "http://192.168.1.228:17001/szsi-portal/transData"
443
+	//url := "http://192.168.1.228:17001/szsi-portal/transData"
444
+	url := " http://192.168.1.88:6666/szsi-portal/transData"
436 445
 
437 446
 	request, err := http.NewRequest("POST", url, reader)
438 447
 	if err != nil {
@@ -478,7 +487,8 @@ func SzybJY003(doctor string, doctor_code string, fixmedins_code string, setl_nu
478 487
 	}
479 488
 	reader := bytes.NewReader(bytesData)
480 489
 	//url := "http://192.168.1.99:10000"
481
-	url := "http://192.168.1.228:17001/szsi-portal/transData"
490
+	//url := "http://192.168.1.228:17001/szsi-portal/transData"
491
+	url := " http://192.168.1.88:6666/szsi-portal/transData"
482 492
 
483 493
 	request, err := http.NewRequest("POST", url, reader)
484 494
 	if err != nil {
@@ -652,7 +662,8 @@ func SzybML008(doctor string, doctor_code string, fixmedins_code string, basedru
652 662
 	}
653 663
 	reader := bytes.NewReader(bytesData)
654 664
 	//url := "http://192.168.1.99:10000"
655
-	url := "http://192.168.1.228:17001/szsi-portal/transData"
665
+	//url := "http://192.168.1.228:17001/szsi-portal/transData"
666
+	url := " http://192.168.1.88:6666/szsi-portal/transData"
656 667
 
657 668
 	request, err := http.NewRequest("POST", url, reader)
658 669
 	if err != nil {
@@ -749,7 +760,8 @@ func SzybML009(doctor string, doctor_code string, fixmedins_code string, pro *mo
749 760
 	}
750 761
 	reader := bytes.NewReader(bytesData)
751 762
 	//url := "http://192.168.1.99:10000"
752
-	url := "http://192.168.1.228:17001/szsi-portal/transData"
763
+	//url := "http://192.168.1.228:17001/szsi-portal/transData"
764
+	url := " http://192.168.1.88:6666/szsi-portal/transData"
753 765
 
754 766
 	request, err := http.NewRequest("POST", url, reader)
755 767
 	if err != nil {
@@ -866,7 +878,8 @@ func SzybML010(doctor string, doctor_code string, fixmedins_code string, datas [
866 878
 	}
867 879
 	reader := bytes.NewReader(bytesData)
868 880
 	//url := "http://192.168.1.99:10000"
869
-	url := "http://192.168.1.228:17001/szsi-portal/transData"
881
+	//url := "http://192.168.1.228:17001/szsi-portal/transData"
882
+	url := " http://192.168.1.88:6666/szsi-portal/transData"
870 883
 
871 884
 	request, err := http.NewRequest("POST", url, reader)
872 885
 	if err != nil {
@@ -954,7 +967,8 @@ func SzybYS001(doctor string, doctor_code string, fixmedins_code string, doc *mo
954 967
 	}
955 968
 	reader := bytes.NewReader(bytesData)
956 969
 	//url := "http://192.168.1.99:10000"
957
-	url := "http://192.168.1.228:17001/szsi-portal/transData"
970
+	//url := "http://192.168.1.228:17001/szsi-portal/transData"
971
+	url := " http://192.168.1.88:6666/szsi-portal/transData"
958 972
 
959 973
 	request, err := http.NewRequest("POST", url, reader)
960 974
 	if err != nil {
@@ -1099,7 +1113,8 @@ func SzybYS002(doctor string, doctor_code string, fixmedins_code string, datas *
1099 1113
 	}
1100 1114
 	reader := bytes.NewReader(bytesData)
1101 1115
 	//url := "http://192.168.1.99:10000"
1102
-	url := "http://192.168.1.228:17001/szsi-portal/transData"
1116
+	//url := "http://192.168.1.228:17001/szsi-portal/transData"
1117
+	url := " http://192.168.1.88:6666/szsi-portal/transData"
1103 1118
 
1104 1119
 	request, err := http.NewRequest("POST", url, reader)
1105 1120
 	if err != nil {
@@ -1191,7 +1206,8 @@ func SzybYS003(doctor string, doctor_code string, fixmedins_code string, datas [
1191 1206
 	}
1192 1207
 	reader := bytes.NewReader(bytesData)
1193 1208
 	//url := "http://192.168.1.99:10000"
1194
-	url := "http://192.168.1.228:17001/szsi-portal/transData"
1209
+	//url := "http://192.168.1.228:17001/szsi-portal/transData"
1210
+	url := " http://192.168.1.88:6666/szsi-portal/transData"
1195 1211
 
1196 1212
 	request, err := http.NewRequest("POST", url, reader)
1197 1213
 	if err != nil {
@@ -1253,7 +1269,8 @@ func SzybYML007(doctor string, doctor_code string, fixmedins_code string, infor
1253 1269
 	}
1254 1270
 	reader := bytes.NewReader(bytesData)
1255 1271
 	//url := "http://192.168.1.99:10000"
1256
-	url := "http://192.168.1.228:17001/szsi-portal/transData"
1272
+	//url := "http://192.168.1.228:17001/szsi-portal/transData"
1273
+	url := " http://192.168.1.88:6666/szsi-portal/transData"
1257 1274
 
1258 1275
 	request, err := http.NewRequest("POST", url, reader)
1259 1276
 	if err != nil {