csx hace 4 años
padre
commit
064044167b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      controllers/his_api_controller.go

+ 1 - 1
controllers/his_api_controller.go Ver fichero

@@ -348,7 +348,7 @@ func GetBasBaseInfo() (jsonStr string, err error) {
348 348
 
349 349
 	str := make([]byte, 1024)
350 350
 	str1 := make([]byte, 1024)
351
-	r, _, _ := ReadCardBas.Call((uintptr)(unsafe.Pointer(&str[0])), IntPtr(1024), (uintptr)(unsafe.Pointer(&str1[0])), IntPtr(1024))
351
+	r, _, _ := ReadCardBas.Call((uintptr)(unsafe.Pointer(&str[0])), IntPtr(0), (uintptr)(unsafe.Pointer(&str1[0])), IntPtr(0))
352 352
 
353 353
 	fmt.Println(r)
354 354
 	fmt.Println(string(str))