csx 4 年之前
父節點
當前提交
064044167b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/his_api_controller.go

+ 1 - 1
controllers/his_api_controller.go 查看文件

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