|
@@ -636,7 +636,7 @@ func (c *JSybController) ReadCard() {
|
636
|
636
|
mdtrtarea_admvs := c.GetString("mdtrtarea_admvs")
|
637
|
637
|
url := c.GetString("url")
|
638
|
638
|
cainfo := c.GetString("cainfo")
|
639
|
|
- id_card_type, _ := c.GetInt64("id_card_type")
|
|
639
|
+ id_card_type := c.GetString("id_card_type")
|
640
|
640
|
operator_id := c.GetString("operator_id")
|
641
|
641
|
operator := c.GetString("operator")
|
642
|
642
|
|
|
@@ -647,7 +647,7 @@ func (c *JSybController) ReadCard() {
|
647
|
647
|
c.TestGetBasBaseInit(fixmedins_code, secret_key, ak)
|
648
|
648
|
fmt.Println(id_card_type)
|
649
|
649
|
switch id_card_type {
|
650
|
|
- case 1:
|
|
650
|
+ case "1":
|
651
|
651
|
pCardInfo, pBusiCardInfo := c.GetBasBaseInfo()
|
652
|
652
|
pBusiCardInfo = Remove0000(pBusiCardInfo)
|
653
|
653
|
pCardInfo = Remove0000(pCardInfo)
|
|
@@ -682,7 +682,7 @@ func (c *JSybController) ReadCard() {
|
682
|
682
|
|
683
|
683
|
}
|
684
|
684
|
break
|
685
|
|
- case 3: //电子凭证
|
|
685
|
+ case "3": //电子凭证
|
686
|
686
|
pCardInfo, pBusiCardInfo := c.GetELeInfo(fixmedins_code, operator_id, operator)
|
687
|
687
|
fmt.Println(pCardInfo)
|
688
|
688
|
fmt.Println(pBusiCardInfo)
|