hzd 1 年之前
父节点
当前提交
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 = '账号已被锁定,请稍后重试';
         }
 
         // 登录是根据账号和手机号组成,先查账号再查手机号