Browse Source

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

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

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

@@ -480,7 +480,10 @@ func (c *JSybController) ReadCard() {
480 480
 	c.TestGetBasBaseInit(fixmedins_code, secret_key, ak)
481 481
 	pCardInfo, pBusiCardInfo := c.GetBasBaseInfo()
482 482
 	pBusiCardInfo = Remove0000(pBusiCardInfo)
483
+	pCardInfo = Remove0000(pCardInfo)
484
+
483 485
 	fmt.Println(pBusiCardInfo)
486
+	fmt.Println(pCardInfo)
484 487
 	bas := strings.Split(pCardInfo, "|")
485 488
 	basNumber := bas[2]
486 489
 	card_sn := bas[3]