/** * 登出 * */ public static function logout() { $user = Acl::getLoginInfo(); $user && Model::getInstance()->cache()->delete("SSOSingleSignOn" . $user['id']); Cookie::delete(Config::get('userauthid')); }
/** * 登出 * */ public static function logout() { Cookie::delete(Config::get('userauthid')); }