Browse Source

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

csx 4 years ago
parent
commit
e10049a7fe
1 changed files with 3 additions and 0 deletions
  1. 3 0
      controllers/sz/sz_his_api_controller.go

+ 3 - 0
controllers/sz/sz_his_api_controller.go View File

@@ -1730,6 +1730,9 @@ func ReadBasCardGetNumber(request string) (string, string, string, string, error
1730 1730
 	readCards := DllDef2.MustFindProc("iReadCardBas")
1731 1731
 	str := request
1732 1732
 	str3 := make([]byte, 256)
1733
+	fmt.Println(":", request)
1734
+	fmt.Println(":", StrPtr(str))
1735
+
1733 1736
 	ret4, _, err := readCards.Call(IntPtr(1), StrPtr(str), (uintptr)(unsafe.Pointer(&str3[0])))
1734 1737
 	fmt.Println(":", string(str3))
1735 1738
 	fmt.Println(":", ConvertToString(string(str3), "gbk", "utf-8"))