hzd 1 năm trước cách đây
mục cha
commit
cf82a98082
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 = '账号已被锁定,请稍后重试';
         }
 
         // 登录是根据账号和手机号组成,先查账号再查手机号