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