Browse Source

Merge branch 'master' of http://git.shengws.com/csx/gdyb

csx 3 years ago
parent
commit
f52eb48e6e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/js/jsyb_controller.go

+ 1 - 1
controllers/js/jsyb_controller.go View File

@@ -528,7 +528,7 @@ func (c *JSybController) GetBasBaseInfo() string {
528 528
 	fmt.Println("!!!!!")
529 529
 	str := make([]byte, 2048)
530 530
 	str1 := make([]byte, 8192)
531
-	ret2, _, _ := readCard.Call((uintptr)(unsafe.Pointer(&str[0])), uintptr(1024), (uintptr)(unsafe.Pointer(&str1[0])), uintptr(1024))
531
+	ret2, _, _ := readCard.Call((uintptr)(unsafe.Pointer(&str[0])), (uintptr)(unsafe.Pointer(&str1[0])))
532 532
 	fmt.Println(string(str1))
533 533
 	fmt.Println(string(str))
534 534
 	//fmt.Println(":", ConvertToString(string(str1), "gbk", "utf-8"))