/// <summary> /// 管理员注销 /// </summary> public void UserLogout() { AdminCookie.SesionUser userExt = GetUserInfoFromCookie(); if (userExt == null) { return; } AdminCookie.ClearUserSession(); }
/// <summary> /// 获取管理员对象 by cookie /// </summary> /// <returns></returns> public AdminCookie.SesionUser GetUserInfoFromCookie() { AdminCookie.SesionUser userExt = AdminCookie.GetUserFromCookie(); return(userExt); }