From 4628ee8a00c38dcac2168cd3cb4bcae81653a09a Mon Sep 17 00:00:00 2001 From: chenzhi <294767167@11qq.com> Date: Mon, 28 Feb 2022 17:49:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=99=BB=E5=BD=95=E5=90=8D?= =?UTF-8?q?=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Model/MemberModel.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Admin/Model/MemberModel.class.php b/Application/Admin/Model/MemberModel.class.php index 90356e9e3..197066500 100644 --- a/Application/Admin/Model/MemberModel.class.php +++ b/Application/Admin/Model/MemberModel.class.php @@ -34,7 +34,7 @@ class MemberModel extends Model { */ public function login($uid){ /* 检测是否在当前应用注册 */ - $user = $this->field(true)->find($uid); + $user = SM("Member","sys_")->field(true)->find($uid); if(!$user || 1 != $user['status']) { $this->error = '用户不存在或已被禁用!'; //应用级别禁用 return false;