|
@@ -97,12 +97,8 @@ func (o *OneClickInfo) GetPhoneByToken() (map[string]interface{}, error) {
|
|
|
//获取手机号
|
|
|
return nil, *_result.Body.Data.Mobile
|
|
|
} else {
|
|
|
- log.Println("GetPhoneWithTokenWithOptions:", *_result.Body.Message, *_result.Body.Code,o.SpToken)
|
|
|
- if *_result.Body.Code == "isv.PARAMETERS_MISMATCH" {
|
|
|
- return fmt.Errorf("输入手机号码和当前流量卡运营商归属不一致"), ""
|
|
|
- } else {
|
|
|
- return fmt.Errorf("无法识别网络环境,请使用验证码登录"), ""
|
|
|
- }
|
|
|
+ log.Println("GetPhoneWithTokenWithOptions:", *_result.Body.Message, *_result.Body.Code, o.SpToken)
|
|
|
+ return fmt.Errorf("无法识别网络环境,请使用验证码登录"), ""
|
|
|
}
|
|
|
|
|
|
//return fmt.Errorf(*_result.Body.Message), ""
|