提交单据管理和修改密码功能
This commit is contained in:
@@ -293,6 +293,27 @@ namespace Lskj.Business.Impl
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 记录修改后的密码
|
||||
/// </summary>
|
||||
/// <param name="userId"></param>
|
||||
/// <param name="afterPass"></param>
|
||||
/// <returns></returns>
|
||||
public static bool RecordPassword(string afterPass,string text)
|
||||
{
|
||||
try
|
||||
{
|
||||
//加密密码
|
||||
afterPass = AESUtil.Encrypt(afterPass);
|
||||
LogUtil.WriteDebug("", text, afterPass, "");
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user