From e6e408845bb57ffed9f92cd0f21c135114968523 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Mon, 4 Jan 2021 10:38:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96cw=E5=8F=AA=E8=83=BD=E7=99=BB?= =?UTF-8?q?=E9=99=86=E5=AD=90=E7=B3=BB=E7=BB=9F?= 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, 4 insertions(+) diff --git a/Application/Admin/Controller/PublicController.class.php b/Application/Admin/Controller/PublicController.class.php index b1a5c93e8..9b31d6136 100644 --- a/Application/Admin/Controller/PublicController.class.php +++ b/Application/Admin/Controller/PublicController.class.php @@ -24,6 +24,10 @@ class PublicController extends \Think\Controller if (!check_verify($verify)) { $this->error('验证码输入错误!'); } + /* 财务账号只能登陆子系统*/ + if(!IS_SUBSITE && $username == "cw"){ + $this->error('账户或密码错误!'); + } /* 调用UC登录接口登录 */ $User = new UserApi;