@@ -39,7 +39,7 @@ class BaseController extends PublicController
}
$this->adminId = $adminId;
$admin = AdminService::getById($adminId, true);
- if (empty($admin)) {
+ if (empty($admin) && in_array($action->id, $this->guestAccess) == false) {
util::logout('帐号无效');
$this->admin = $admin;