From e4c55377f055d86d98593a9255c7f2ba51608fd5 Mon Sep 17 00:00:00 2001 From: ichynul Date: Thu, 21 May 2020 01:13:23 +0800 Subject: [PATCH] update --- src/admin/controller/Admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/admin/controller/Admin.php b/src/admin/controller/Admin.php index 66c05db..388b07d 100644 --- a/src/admin/controller/Admin.php +++ b/src/admin/controller/Admin.php @@ -23,7 +23,7 @@ class Admin extends Controller $this->pageTitle = '用户管理'; $this->postAllowFields = ['phone', 'name', 'email']; - $this->delNotAllowed = [1]; + $this->delNotAllowed = [1, session('admin_id')]; } protected function filterWhere()