Explorar el Código

取消验证码验证

moonsflyer hace 6 meses
padre
commit
8a375ea399
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/shopapi/validate/RegisterValidate.php

+ 1 - 0
app/shopapi/validate/RegisterValidate.php

@@ -100,6 +100,7 @@ class RegisterValidate extends BaseValidate
      */
     public function checkCode($value, $rule, $data)
     {
+        return true;
         $smsDriver = new SmsDriver();
         $result = $smsDriver->verify($data['mobile'], $value);
         if($result) {