csx 3 vuotta sitten
vanhempi
commit
58568b24b3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      controllers/sg/his_api_controller.go

+ 1 - 1
controllers/sg/his_api_controller.go Näytä tiedosto

@@ -82,7 +82,7 @@ func (c *HisApiController) TestPay() {
82 82
 	inputData["id"] = "44022919620927046X"
83 83
 	bytes_arr, _ := json.Marshal(inputData)
84 84
 	str3 := make([]byte, 256)
85
-	ret4, _, err4 := readCards.Call(StrPtr(string(bytes_arr)), (uintptr)(unsafe.Pointer(&str[0])))
85
+	ret4, _, err4 := readCards.Call(StrPtr(string(bytes_arr)), (uintptr)(unsafe.Pointer(&str3[0])))
86 86
 	fmt.Println(":", string(str3))
87 87
 
88 88
 	if err4 != nil {