csx 3 yıl önce
ebeveyn
işleme
2d48a97880
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      controllers/sg/his_api_controller.go

+ 1 - 1
controllers/sg/his_api_controller.go Dosyayı Görüntüle

@@ -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 {