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