hzd 1 год назад
Родитель
Сommit
cf82a98082
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      application/common/model/User.php

+ 1 - 1
application/common/model/User.php

@@ -246,7 +246,7 @@ class User extends Base
         // 登录限流
         $ret = (new \app\common\util\ThrottlesUtil(config('app.login_throttles')))->tooManyAttempts($accountName);
         if($ret){
-            $this->error('账号已被锁定,请稍后重试');
+            $this->error = '账号已被锁定,请稍后重试';
         }
 
         // 登录是根据账号和手机号组成,先查账号再查手机号