public static modelClass getCurUserFromSession()
{
try
{
return HttpContext.Current.Session["LoginUser"] as modelClass;
}
catch (Exception ex)
{
return null;
}
}
时间: 2024-08-29 04:48:40