csx 3 anni fa
parent
commit
2d48a97880
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      controllers/sg/his_api_controller.go

+ 1 - 1
controllers/sg/his_api_controller.go Vedi File

@@ -93,7 +93,7 @@ func (c *HisApiController) TestPay() {
93 93
 
94 94
 	//bytes_arr, _ := json.Marshal(inputData)
95 95
 	str3 := make([]byte, 256)
96
-	ret4, _, err4 := readCards.Call(StrPtr(jsonStr), (uintptr)(unsafe.Pointer(&str3[0])))
96
+	ret4, _, err4 := readCards.Call(jsonStr, (uintptr)(unsafe.Pointer(&str3[0])))
97 97
 	fmt.Println(":", string(str3))
98 98
 
99 99
 	if err4 != nil {