|
@@ -800,9 +800,9 @@ func (c *NmController) GetELeInfo(code string, operator_id string, operator_name
|
800
|
800
|
|
801
|
801
|
bytesData, _ := json.Marshal(input)
|
802
|
802
|
//gdyb_url := beego.AppConfig.String("gdyb_url")
|
803
|
|
-
|
|
803
|
+ fmt.Println(string(bytesData))
|
804
|
804
|
url := "http://10.38.22.15:8081" + "/localcfc/api/hsecfc/localQrCodeQuery"
|
805
|
|
- ret2, _, _ := readCard.Call(StrPtr(url), StrPtr(string(bytesData)), (uintptr)(unsafe.Pointer(&pBusiCardInfo[0])))
|
|
805
|
+ ret2, _, _ := readCard.Call(StrPtr(url), (uintptr)(unsafe.Pointer(&bytesData[0])), (uintptr)(unsafe.Pointer(&pBusiCardInfo[0])))
|
806
|
806
|
fmt.Println(ret2)
|
807
|
807
|
fmt.Println(DeleteExtraSpace(string(pBusiCardInfo)))
|
808
|
808
|
fmt.Println(":", ConvertToString(DeleteExtraSpace(string(pBusiCardInfo)), "gbk", "utf-8"))
|