find(); if (empty($user)) { ajax_return(1, '手机号不存在'); } if ($user['status'] == TalentUserModel::STATUS_DISABLE) { ajax_return(1, '该账号已被禁用,请联系管理员'); } if ($user['password'] != md5(md5($user['salt']) . $param['password'])) { ajax_return(1, '密码错误'); } session('talent.user.id', $user['id']); ajax_return(); } }