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