|
|
@@ -105,9 +105,11 @@ namespace MySystem.Areas.Api.Controllers.v1.Main1
|
|
|
if (query.Id > 0)
|
|
|
{
|
|
|
query.LoginPwd = function.MD532(query.Mobile.Substring(query.Mobile.Length - 6, 6)); //登录密码
|
|
|
+ query.UpdateMan = AppConfig.LoginSession.sysAdminName + "_" + AppConfig.LoginSession.sysRealName;
|
|
|
if (loginMobile.Id > 0)
|
|
|
{
|
|
|
loginMobile.LoginPwd = query.LoginPwd; //登录密码
|
|
|
+ loginMobile.UpdateMan = AppConfig.LoginSession.sysAdminName + "_" + AppConfig.LoginSession.sysRealName;
|
|
|
}
|
|
|
}
|
|
|
main1db.SaveChanges();
|
|
|
@@ -159,11 +161,13 @@ namespace MySystem.Areas.Api.Controllers.v1.Main1
|
|
|
if (query.Id > 0)
|
|
|
{
|
|
|
query.Mobile = Mobile;
|
|
|
+ query.UpdateMan = AppConfig.LoginSession.sysAdminName + "_" + AppConfig.LoginSession.sysRealName;
|
|
|
query.LoginPwd = function.MD532(Mobile.Substring(Mobile.Length - 6, 6)); //登录密码
|
|
|
if (loginMobile.Id > 0)
|
|
|
{
|
|
|
loginMobile.LoginMobile = Mobile;
|
|
|
loginMobile.LoginPwd = query.LoginPwd; //登录密码
|
|
|
+ loginMobile.UpdateMan = AppConfig.LoginSession.sysAdminName + "_" + AppConfig.LoginSession.sysRealName;
|
|
|
}
|
|
|
}
|
|
|
main1db.SaveChanges();
|