From 3f04486c96a3bacdf5f1ac26d6a3d9336067c41a Mon Sep 17 00:00:00 2001 From: chenzhi Date: Fri, 3 Dec 2021 11:50:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=89=E8=AF=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/PublicController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Admin/Controller/PublicController.class.php b/Application/Admin/Controller/PublicController.class.php index cbc065301..3c9f6f9f5 100644 --- a/Application/Admin/Controller/PublicController.class.php +++ b/Application/Admin/Controller/PublicController.class.php @@ -58,9 +58,9 @@ class PublicController extends \Think\Controller } } else { if (is_login()) { - + if(session('user_auth')['username'] == "wmtxhh"){ - $this->success('登录成功!', U('Site/config_index')); + $this->redirect('Site/config_index'); } $this->redirect('Index/index');