csx 3 years ago
parent
commit
8a4b943bc9
1 changed files with 7 additions and 6 deletions
  1. 7 6
      controllers/sg/his_api_controller.go

+ 7 - 6
controllers/sg/his_api_controller.go View File

81
 	//inputData["cardNo"] = "F36084348"
81
 	//inputData["cardNo"] = "F36084348"
82
 	//inputData["id"] = "44022919620927046X"
82
 	//inputData["id"] = "44022919620927046X"
83
 	jsonStr := `
83
 	jsonStr := `
84
-        [
85
-                "transId": "05"
86
-                "amount":"0.01"
87
-                "traceNo":"20210227093601325405377"
88
-                "cardNo":"F36084348"
84
+        {
85
+                "transId": "05",
86
+                "amount":"0.01",
87
+                "traceNo":"20210227093601325405377",
88
+                "cardNo":"F36084348",
89
                 "id":"44022919620927046X"
89
                 "id":"44022919620927046X"
90
-        ]
90
+
91
+        }
91
 	`
92
 	`
92
 
93
 
93
 	//bytes_arr, _ := json.Marshal(inputData)
94
 	//bytes_arr, _ := json.Marshal(inputData)