林琦海 5 years ago
parent
commit
2ad96d08d5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app-pt/controllers/BaseController.php

+ 1 - 1
app-pt/controllers/BaseController.php

@@ -31,7 +31,7 @@ class BaseController extends PublicController
             if (empty($staff)) {
                 util::logout();
             }
-            if($staff->status==0){
+            if($staff['status']==0){
                 util::logout("账号已冻结");
             }
             $this->staff = $staff;