linwu 1 سال پیش
والد
کامیت
eaeefb0234
1فایلهای تغییر یافته به همراه7 افزوده شده و 7 حذف شده
  1. 7 7
      app/Http/Controllers/Web/Auth/RegisterController.php

+ 7 - 7
app/Http/Controllers/Web/Auth/RegisterController.php

@@ -106,9 +106,9 @@ class RegisterController extends WebBaseController
 
     public function registerCompanyPost(RegisterValidatorRequest $registerValidatorRequest)
     {
-        if (!$this->geetestService->checkGeetest()) {
+        /*if (!$this->geetestService->checkGeetest()) {
             return $this->sendErrorResponse("极验不通过,请重新验证");
-        }
+        }*/
         $company = $this->registerService->registerCompany($registerValidatorRequest->all());
         $this->authService->login($company);
         $this->membersSetmealService->addMemberSetmeal($company, config('aix.companyset.setmeal_com.setmeal_com_set.reg_service'));
@@ -121,9 +121,9 @@ class RegisterController extends WebBaseController
 
     public function registerPersonPost(RegisterValidatorRequest $registerValidatorRequest)
     {
-        if (!$this->geetestService->checkGeetest()) {
+        /*if (!$this->geetestService->checkGeetest()) {
             return $this->sendErrorResponse("验证码不通过,请重新验证");
-        }
+        }*/
 
         if ($registerValidatorRequest->reg_type == 1) {
             if (!$this->smsService->checkAuthSms($registerValidatorRequest->mobile, Smser::TEMPLATE_AUTH_REGISTER, $registerValidatorRequest->mobile_vcode)) {
@@ -147,9 +147,9 @@ class RegisterController extends WebBaseController
 
     public function registerOrgPost(RegisterValidatorRequest $registerValidatorRequest)
     {
-        if (!$this->geetestService->checkGeetest()) {
-            return $this->sendErrorResponse("极验不通过,请重新验证");
-        }
+//        if (!$this->geetestService->checkGeetest()) {
+//            return $this->sendErrorResponse("极验不通过,请重新验证");
+//        }
         $org = $this->registerService->registerOrg($registerValidatorRequest->all());
         $this->authService->login($org);
         //$this->membersSetmealService->addMemberSetmeal($org, config('aix.companyset.setmeal_com.setmeal_com_set.reg_service'));