202306131、新增项目级消息待办页面功能。2、新增项目单位是否同步实名制设置功能。3、优化考试合格自动生成卡号功能。
This commit is contained in:
@@ -23,22 +23,26 @@ namespace FineUIPro.Web
|
||||
{
|
||||
get
|
||||
{
|
||||
if (Session["CurrUser"] == null)
|
||||
{
|
||||
string account = string.Empty;
|
||||
string password = string.Empty;
|
||||
if (Request.Cookies["u"] != null)
|
||||
{
|
||||
account = HttpUtility.UrlDecode(Request.Cookies["u"].Value);
|
||||
}
|
||||
if (Request.Cookies["p"] != null)
|
||||
{
|
||||
password = Request.Cookies["p"].Value;
|
||||
}
|
||||
Session["CurrUser"] = BLL.Funs.DB.Person_Persons.FirstOrDefault(x => x.Account == account && x.Password == Funs.EncryptionPassword(password));
|
||||
}
|
||||
|
||||
if (Session["CurrUser"] == null) return null;
|
||||
return (Model.Person_Persons)Session["CurrUser"];
|
||||
|
||||
|
||||
//if (Session["CurrUser"] == null)
|
||||
//{
|
||||
// string account = string.Empty;
|
||||
// string password = string.Empty;
|
||||
// if (Request.Cookies["u"] != null)
|
||||
// {
|
||||
// account = HttpUtility.UrlDecode(Request.Cookies["u"].Value);
|
||||
// }
|
||||
// if (Request.Cookies["p"] != null)
|
||||
// {
|
||||
// password = Request.Cookies["p"].Value;
|
||||
// }
|
||||
// Session["CurrUser"] = BLL.Funs.DB.Person_Persons.FirstOrDefault(x => x.Account == account && x.Password == Funs.EncryptionPassword(password));
|
||||
//}
|
||||
|
||||
//return (Model.Person_Persons)Session["CurrUser"];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user