Browse Source

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

csx 3 years ago
parent
commit
1735a06498
1 changed files with 2 additions and 0 deletions
  1. 2 0
      controllers/js/jsyb_controller.go

+ 2 - 0
controllers/js/jsyb_controller.go View File

@@ -508,6 +508,7 @@ func (c *JSybController) TestGetBasBaseInit(code string, secret_key string, ak s
508 508
 		c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeReadCardException)
509 509
 		return
510 510
 	}
511
+	fmt.Println("SSCard的返回结果为:", string(str))
511 512
 
512 513
 	result := int(ret)
513 514
 	fmt.Println("SSCard的运算结果为1:", result)
@@ -521,6 +522,7 @@ func (c *JSybController) GetBasBaseInfo() string {
521 522
 		fmt.Println("readcard is nil")
522 523
 		readCard = DllDef.MustFindProc("ReadCardBas")
523 524
 	}
525
+	fmt.Println("!!!!!")
524 526
 	str := make([]byte, 2048)
525 527
 	str1 := make([]byte, 8192)
526 528
 	ret2, _, _ := readCard.Call((uintptr)(unsafe.Pointer(&str[0])), uintptr(1024), (uintptr)(unsafe.Pointer(&str1[0])), uintptr(1024))