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;