Quellcode durchsuchen

Merge branch 'master' of http://59.57.98.130:3000/jjhc/jucai

linwu vor 1 Monat
Ursprung
Commit
583a6bb91b

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

+ 1 - 1
app/Services/Auth/AuthService.php

@@ -76,7 +76,7 @@ class AuthService
             $data = [
                 'mobile' => $account,
                 'password' => Hash::make($this->getRandomName()),
-                'utype' => 1,
+                'utype' => 2,
                 'reg_type' => 1,
                 'reg_source' => 2,
                 'member_status' => 1,