|
@@ -120,8 +120,8 @@ func Gdyb1101(certNo string, org_name string, doctor string, fixmedins_code stri
|
120
|
120
|
return err.Error()
|
121
|
121
|
}
|
122
|
122
|
reader := bytes.NewReader(bytesData)
|
123
|
|
- url := "http://igb.hsa.gdgov.cn/ebus/gdyb_api/prd/hsa/hgs/1101"
|
124
|
|
-
|
|
123
|
+
|
|
124
|
+ url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/1101"
|
125
|
125
|
|
126
|
126
|
|
127
|
127
|
request, err := http.NewRequest("POST", url, reader)
|
|
@@ -131,7 +131,7 @@ func Gdyb1101(certNo string, org_name string, doctor string, fixmedins_code stri
|
131
|
131
|
}
|
132
|
132
|
|
133
|
133
|
request.Header.Set("Content-Type", "application/json;charset=UTF-8")
|
134
|
|
- request.Header.Set("x-tif-paasid", "sg03_prd")
|
|
134
|
+ request.Header.Set("x-tif-paasid", "test_hosp")
|
135
|
135
|
request.Header.Set("x-tif-signature", signature)
|
136
|
136
|
request.Header.Set("x-tif-timestamp", strconv.FormatInt(timestamp, 10))
|
137
|
137
|
request.Header.Set("x-tif-nonce", nonce)
|
|
@@ -1416,16 +1416,16 @@ func Gdyb3301(baseParams *models.BaseParams, name string, codg string, list_type
|
1416
|
1416
|
return err.Error()
|
1417
|
1417
|
}
|
1418
|
1418
|
reader := bytes.NewReader(bytesData)
|
1419
|
|
- url := "http://igb.hsa.gdgov.cn/ebus/gdyb_api/prd/hsa/hgs/3301"
|
1420
|
|
-
|
1421
|
|
-
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+ url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/3301"
|
1422
|
1422
|
request, err := http.NewRequest("POST", url, reader)
|
1423
|
1423
|
if err != nil {
|
1424
|
1424
|
fmt.Println(err.Error())
|
1425
|
1425
|
return err.Error()
|
1426
|
1426
|
}
|
1427
|
1427
|
request.Header.Set("Content-Type", "application/json;charset=UTF-8")
|
1428
|
|
- request.Header.Set("x-tif-paasid", "sg03_prd")
|
|
1428
|
+ request.Header.Set("x-tif-paasid", "test_hosp")
|
1429
|
1429
|
request.Header.Set("x-tif-signature", signature)
|
1430
|
1430
|
request.Header.Set("x-tif-timestamp", strconv.FormatInt(timestamp, 10))
|
1431
|
1431
|
request.Header.Set("x-tif-nonce", nonce)
|
|
@@ -1471,16 +1471,16 @@ func Gdyb3302(baseParams *models.BaseParams, name string, codg string, list_type
|
1471
|
1471
|
return err.Error()
|
1472
|
1472
|
}
|
1473
|
1473
|
reader := bytes.NewReader(bytesData)
|
1474
|
|
- url := "http://igb.hsa.gdgov.cn/ebus/gdyb_api/prd/hsa/hgs/3302"
|
|
1474
|
+
|
1475
|
1475
|
|
1476
|
|
-
|
|
1476
|
+ url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/3302"
|
1477
|
1477
|
request, err := http.NewRequest("POST", url, reader)
|
1478
|
1478
|
if err != nil {
|
1479
|
1479
|
fmt.Println(err.Error())
|
1480
|
1480
|
return err.Error()
|
1481
|
1481
|
}
|
1482
|
1482
|
request.Header.Set("Content-Type", "application/json;charset=UTF-8")
|
1483
|
|
- request.Header.Set("x-tif-paasid", "sg03_prd")
|
|
1483
|
+ request.Header.Set("x-tif-paasid", "test_hosp")
|
1484
|
1484
|
request.Header.Set("x-tif-signature", signature)
|
1485
|
1485
|
request.Header.Set("x-tif-timestamp", strconv.FormatInt(timestamp, 10))
|
1486
|
1486
|
request.Header.Set("x-tif-nonce", nonce)
|
|
@@ -1534,14 +1534,16 @@ func Gdyb2505(psnNo string, doctor string, org_name string, fixmedins_code strin
|
1534
|
1534
|
return err.Error()
|
1535
|
1535
|
}
|
1536
|
1536
|
reader := bytes.NewReader(bytesData)
|
1537
|
|
- url := "http://igb.hsa.gdgov.cn/ebus/gdyb_api/prd/hsa/hgs/2505"
|
|
1537
|
+
|
|
1538
|
+ url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/2505"
|
|
1539
|
+
|
1538
|
1540
|
request, err := http.NewRequest("POST", url, reader)
|
1539
|
1541
|
if err != nil {
|
1540
|
1542
|
fmt.Println(err.Error())
|
1541
|
1543
|
return err.Error()
|
1542
|
1544
|
}
|
1543
|
1545
|
request.Header.Set("Content-Type", "application/json;charset=UTF-8")
|
1544
|
|
- request.Header.Set("x-tif-paasid", "sg03_prd")
|
|
1546
|
+ request.Header.Set("x-tif-paasid", "test_hosp")
|
1545
|
1547
|
request.Header.Set("x-tif-signature", signature)
|
1546
|
1548
|
request.Header.Set("x-tif-timestamp", strconv.FormatInt(timestamp, 10))
|
1547
|
1549
|
request.Header.Set("x-tif-nonce", nonce)
|
|
@@ -1583,8 +1585,8 @@ func Gdyb2506(psnNo string, doctor string, org_name string, fixmedins_code strin
|
1583
|
1585
|
}
|
1584
|
1586
|
reader := bytes.NewReader(bytesData)
|
1585
|
1587
|
|
1586
|
|
- url := "http://igb.hsa.gdgov.cn/ebus/gdyb_api/prd/hsa/hgs/2506"
|
1587
|
|
-
|
|
1588
|
+
|
|
1589
|
+ url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/2506"
|
1588
|
1590
|
|
1589
|
1591
|
|
1590
|
1592
|
request, err := http.NewRequest("POST", url, reader)
|
|
@@ -1594,7 +1596,7 @@ func Gdyb2506(psnNo string, doctor string, org_name string, fixmedins_code strin
|
1594
|
1596
|
}
|
1595
|
1597
|
|
1596
|
1598
|
request.Header.Set("Content-Type", "application/json;charset=UTF-8")
|
1597
|
|
- request.Header.Set("x-tif-paasid", "sg03_prd")
|
|
1599
|
+ request.Header.Set("x-tif-paasid", "test_hosp")
|
1598
|
1600
|
request.Header.Set("x-tif-signature", signature)
|
1599
|
1601
|
request.Header.Set("x-tif-timestamp", strconv.FormatInt(timestamp, 10))
|
1600
|
1602
|
request.Header.Set("x-tif-nonce", nonce)
|
|
@@ -1653,7 +1655,9 @@ func Gdyb2503(psnNo string, insutype string, org_name string, doctor string, fix
|
1653
|
1655
|
return err.Error()
|
1654
|
1656
|
}
|
1655
|
1657
|
reader := bytes.NewReader(bytesData)
|
1656
|
|
- url := "http://igb.hsa.gdgov.cn/ebus/gdyb_api/prd/hsa/hgs/2503"
|
|
1658
|
+
|
|
1659
|
+ url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/2503"
|
|
1660
|
+
|
1657
|
1661
|
request, err := http.NewRequest("POST", url, reader)
|
1658
|
1662
|
if err != nil {
|
1659
|
1663
|
fmt.Println(err.Error())
|
|
@@ -1661,7 +1665,7 @@ func Gdyb2503(psnNo string, insutype string, org_name string, doctor string, fix
|
1661
|
1665
|
}
|
1662
|
1666
|
|
1663
|
1667
|
request.Header.Set("Content-Type", "application/json;charset=UTF-8")
|
1664
|
|
- request.Header.Set("x-tif-paasid", "sg03_prd")
|
|
1668
|
+ request.Header.Set("x-tif-paasid", "test_hosp")
|
1665
|
1669
|
request.Header.Set("x-tif-signature", signature)
|
1666
|
1670
|
request.Header.Set("x-tif-timestamp", strconv.FormatInt(timestamp, 10))
|
1667
|
1671
|
request.Header.Set("x-tif-nonce", nonce)
|
|
@@ -1703,14 +1707,16 @@ func Gdyb2504(psnNo string, org_name string, doctor string, fixmedins_code strin
|
1703
|
1707
|
return err.Error()
|
1704
|
1708
|
}
|
1705
|
1709
|
reader := bytes.NewReader(bytesData)
|
1706
|
|
- url := "http://igb.hsa.gdgov.cn/ebus/gdyb_api/prd/hsa/hgs/2504"
|
|
1710
|
+
|
|
1711
|
+ url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/2504"
|
|
1712
|
+
|
1707
|
1713
|
request, err := http.NewRequest("POST", url, reader)
|
1708
|
1714
|
if err != nil {
|
1709
|
1715
|
fmt.Println(err.Error())
|
1710
|
1716
|
return err.Error()
|
1711
|
1717
|
}
|
1712
|
1718
|
request.Header.Set("Content-Type", "application/json;charset=UTF-8")
|
1713
|
|
- request.Header.Set("x-tif-paasid", "sg03_prd")
|
|
1719
|
+ request.Header.Set("x-tif-paasid", "test_hosp")
|
1714
|
1720
|
request.Header.Set("x-tif-signature", signature)
|
1715
|
1721
|
request.Header.Set("x-tif-timestamp", strconv.FormatInt(timestamp, 10))
|
1716
|
1722
|
request.Header.Set("x-tif-nonce", nonce)
|