浏览代码

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

csx 3 年前
父节点
当前提交
dceef29027
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      controllers/sg/his_api_controller.go

+ 3 - 0
controllers/sg/his_api_controller.go 查看文件

@@ -231,6 +231,9 @@ func (c *HisApiController) GetBasBaseInfo() string {
231 231
 	str1 := make([]byte, 1024)
232 232
 	ret2, _, err2 := readCard.Call((uintptr)(unsafe.Pointer(&str[0])), uintptr(1024), (uintptr)(unsafe.Pointer(&str1[0])), uintptr(1024))
233 233
 
234
+	fmt.Println(string(str1))
235
+	fmt.Println(string(str))
236
+
234 237
 	if err2 != nil {
235 238
 		fmt.Println("SSCard的运算结果为:", ret2)
236 239
 		c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeReadCardException)