|
|
@@ -47,11 +47,11 @@ class SmsController extends ApiBaseController
|
|
|
protected function registerSms($mobile)
|
|
|
{
|
|
|
|
|
|
- if (config('aix.system.site_safety.site_vo_code.captcha_open') == 1) {
|
|
|
- if (!$this->geetestService->checkGeetest()) {
|
|
|
- return $this->sendErrorResponse("验证码不通过,请重新验证");
|
|
|
- }
|
|
|
- }
|
|
|
+// if (config('aix.system.site_safety.site_vo_code.captcha_open') == 1) {
|
|
|
+// if (!$this->geetestService->checkGeetest()) {
|
|
|
+// return $this->sendErrorResponse("验证码不通过,请重新验证");
|
|
|
+// }
|
|
|
+// }
|
|
|
$this->smsService->sendAuthSms($mobile, Smser::TEMPLATE_AUTH_REGISTER);
|
|
|
return $this->sendSuccessResponse();
|
|
|
}
|