DuGuYang hai 1 ano
pai
achega
2a0f8bc0d1
Modificáronse 1 ficheiros con 10 adicións e 10 borrados
  1. 10 10
      Areas/Api/Controllers/v1/MainServer/MerchantInfoController.cs

+ 10 - 10
Areas/Api/Controllers/v1/MainServer/MerchantInfoController.cs

@@ -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)