|
|
|
@ -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);
|
|
|
|
|
|
|
|
|
|