|
@@ -940,16 +940,16 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
{
|
|
|
return new AppResultJson() { Status = "-1", Info = "手机号最多11个字符" };
|
|
|
}
|
|
|
- MobileCodeCheck mobilecheck = RedisDbconn.Instance.Get<MobileCodeCheck>("MobileCodeCheck:" + Mobile);
|
|
|
- if (mobilecheck == null)
|
|
|
- {
|
|
|
- return new AppResultJson() { Status = "-1", Info = "短信验证码不正确" };
|
|
|
- }
|
|
|
- if (mobilecheck.CheckCode != MobileCode)
|
|
|
- {
|
|
|
- return new AppResultJson() { Status = "-1", Info = "短信验证码不正确" };
|
|
|
- }
|
|
|
- RedisDbconn.Instance.Clear("MobileCodeCheck:" + Mobile);
|
|
|
+ // MobileCodeCheck mobilecheck = RedisDbconn.Instance.Get<MobileCodeCheck>("MobileCodeCheck:" + Mobile);
|
|
|
+ // if (mobilecheck == null)
|
|
|
+ // {
|
|
|
+ // return new AppResultJson() { Status = "-1", Info = "短信验证码不正确" };
|
|
|
+ // }
|
|
|
+ // if (mobilecheck.CheckCode != MobileCode)
|
|
|
+ // {
|
|
|
+ // return new AppResultJson() { Status = "-1", Info = "短信验证码不正确" };
|
|
|
+ // }
|
|
|
+ // RedisDbconn.Instance.Clear("MobileCodeCheck:" + Mobile);
|
|
|
Dictionary<string, object> Obj = new Dictionary<string, object>();
|
|
|
// MerchantForMobile find = new MerchantForMobileService().Query(Mobile);
|
|
|
// if (find == null)
|