소스 검색

注释行为验证

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();
     }