用户同步调整

optimize
wanghaomei 2 years ago
parent c76778d459
commit 2daf45cf56

@ -79,7 +79,7 @@ namespace Myshipping.Core.Job
//sysUser.Name = user.SHOWNAME;//只在新增时同步姓名,防止覆盖
sysUser.AdminType = AdminType.None;
sysUser.DjyUserId = user.GID;
sysUser.NickName = user.SHOWNAME;
//sysUser.NickName = user.SHOWNAME;//只在新增时同步昵称,防止覆盖
sysUser.Phone = ub.MOBILE;
sysUser.Email = ub.EMAIL1;
@ -87,6 +87,7 @@ namespace Myshipping.Core.Job
{
sysUser.Password = DESCEncryption.Encrypt(user.PASSWORD, keyDES);//只在新增时同步密码
sysUser.Name = user.SHOWNAME;//只在新增时同步姓名,防止覆盖
sysUser.NickName = user.SHOWNAME;//只在新增时同步昵称,防止覆盖
var newUser = _repUser.Insert(sysUser);

Loading…
Cancel
Save