|
@@ -2590,34 +2590,34 @@ func Jxyb3261(stmt_mon string, setl_optins string, org_name string, doctor strin
|
2590
|
2590
|
return JXHttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData), "3261"), string(bytesData)
|
2591
|
2591
|
}
|
2592
|
2592
|
|
2593
|
|
-func Jxyb3262(stmt_mon string, setl_optins string, org_name string, doctor string, fixmedins_code string, insuplc_admdvs string, mdtrtarea_admvs string, request_url string, access_key string, secret_key string, cainfo string) (string, string) {
|
2594
|
|
- // 生成签名
|
2595
|
|
- timestamp := time.Now().Unix()
|
2596
|
|
- // 生成输入报文
|
2597
|
|
- inputMessage := SetJXInputMessage(timestamp, org_name, doctor, fixmedins_code, insuplc_admdvs, mdtrtarea_admvs, cainfo)
|
2598
|
|
- input := make(map[string]interface{})
|
2599
|
|
- inputData := make(map[string]interface{})
|
2600
|
|
- inputMessage["infno"] = "3262" // 交易编码
|
2601
|
|
- inputData["fixmedins_code"] = fixmedins_code
|
2602
|
|
- inputData["fixmedins_name"] = org_name
|
2603
|
|
- inputData["fix_fill_dept"] = fix_fill_dept
|
2604
|
|
- inputData["fix_fill_psn_id"] = fix_fill_psn_id
|
2605
|
|
- inputData["fix_fill_psn"] = fix_fill_psn
|
2606
|
|
- inputData["fix_fill_date"] = fix_fill_date
|
2607
|
|
- inputData["stmt_loc"] = stmt_loc
|
2608
|
|
- inputData["upld_btch"] = upld_btch
|
2609
|
|
-
|
2610
|
|
- input["data"] = inputData
|
2611
|
|
- inputMessage["input"] = input //交易输入
|
2612
|
|
- bytesData, err := json.Marshal(inputMessage)
|
2613
|
|
- fmt.Println(string(bytesData))
|
2614
|
|
- if err != nil {
|
2615
|
|
- fmt.Println(err.Error())
|
2616
|
|
- return err.Error(), ""
|
2617
|
|
- }
|
2618
|
|
- request_url = request_url + "3261"
|
2619
|
|
- return JXHttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData), "3261"), string(bytesData)
|
2620
|
|
-}
|
|
2593
|
+//func Jxyb3262(stmt_mon string, setl_optins string, org_name string, doctor string, fixmedins_code string, insuplc_admdvs string, mdtrtarea_admvs string, request_url string, access_key string, secret_key string, cainfo string) (string, string) {
|
|
2594
|
+// // 生成签名
|
|
2595
|
+// timestamp := time.Now().Unix()
|
|
2596
|
+// // 生成输入报文
|
|
2597
|
+// inputMessage := SetJXInputMessage(timestamp, org_name, doctor, fixmedins_code, insuplc_admdvs, mdtrtarea_admvs, cainfo)
|
|
2598
|
+// input := make(map[string]interface{})
|
|
2599
|
+// inputData := make(map[string]interface{})
|
|
2600
|
+// inputMessage["infno"] = "3262" // 交易编码
|
|
2601
|
+// inputData["fixmedins_code"] = fixmedins_code
|
|
2602
|
+// inputData["fixmedins_name"] = org_name
|
|
2603
|
+// inputData["fix_fill_dept"] = fix_fill_dept
|
|
2604
|
+// inputData["fix_fill_psn_id"] = fix_fill_psn_id
|
|
2605
|
+// inputData["fix_fill_psn"] = fix_fill_psn
|
|
2606
|
+// inputData["fix_fill_date"] = fix_fill_date
|
|
2607
|
+// inputData["stmt_loc"] = stmt_loc
|
|
2608
|
+// inputData["upld_btch"] = upld_btch
|
|
2609
|
+//
|
|
2610
|
+// input["data"] = inputData
|
|
2611
|
+// inputMessage["input"] = input //交易输入
|
|
2612
|
+// bytesData, err := json.Marshal(inputMessage)
|
|
2613
|
+// fmt.Println(string(bytesData))
|
|
2614
|
+// if err != nil {
|
|
2615
|
+// fmt.Println(err.Error())
|
|
2616
|
+// return err.Error(), ""
|
|
2617
|
+// }
|
|
2618
|
+// request_url = request_url + "3261"
|
|
2619
|
+// return JXHttpRequest(request_url, access_key, secret_key, timestamp, string(bytesData), "3261"), string(bytesData)
|
|
2620
|
+//}
|
2621
|
2621
|
|
2622
|
2622
|
func Jxyb3263(fixmedins_setl_cnt int64, acct_pay float64, fund_pay_sumamt float64, medfee_sumamt float64, stmt_begndate string, stmt_enddate string, setl_optins string, clr_type string, insutype string, org_name string, doctor string, fixmedins_code string, insuplc_admdvs string, mdtrtarea_admvs string, request_url string, access_key string, secret_key string, cainfo string) (string, string) {
|
2623
|
2623
|
// 生成签名
|