Browse Source

注释行为验证

sandm 2 days ago
parent
commit
f9cafa070d
1 changed files with 3 additions and 3 deletions
  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();
     }