202306131、新增项目级消息待办页面功能。2、新增项目单位是否同步实名制设置功能。3、优化考试合格自动生成卡号功能。
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Tree>
|
||||
<TreeNode id="AEBFEC10-DD23-4E95-A684-B291A681A5E8" Text="待办信息" NavigateUrl="SysManage/ProjectToDo.aspx">
|
||||
</TreeNode>
|
||||
</Tree>
|
||||
@@ -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