sandm пре 5 дана
родитељ
комит
f9cafa070d
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      app/Http/Controllers/Web/Common/SmsController.php

+ 3 - 3
app/Http/Controllers/Web/Common/SmsController.php

@@ -52,9 +52,9 @@ class SmsController extends WebBaseController
 //        if (!$this->authService->checkUser($mobile, "", 2)) {
 //            return $this->sendErrorResponse("该手机号码没有绑定账号,请先注册");
 //        }
-        if(!$this->tencentCaptchaService->check(request()->input('randstr'),request()->input('ticket'),request()->ip())){
-            return $this->sendErrorResponse("验证码不通过,请重新验证");
-        }
+//        if(!$this->tencentCaptchaService->check(request()->input('randstr'),request()->input('ticket'),request()->ip())){
+//            return $this->sendErrorResponse("验证码不通过,请重新验证");
+//        }
         $this->smsService->sendAuthSms($mobile, Smser::TEMPLATE_AUTH_LOGIN);
         return $this->sendSuccessResponse();
     }