update 默认路由配置文件

This commit is contained in:
2021-05-08 10:43:52 +08:00
parent 5a2909f121
commit 99dcb53f27
4 changed files with 30 additions and 2 deletions

View File

@@ -235,9 +235,13 @@ namespace Ewide.Core.Service
var user = input.Adapt<SysUser>();
await user.UpdateExcludeAsync(new string[] {
nameof(SysUser.Account),
nameof(SysUser.Name),
nameof(SysUser.Password),
nameof(SysUser.AdminType),
nameof(SysUser.Status)
nameof(SysUser.Status),
// 邮箱和手机号作为可能登录的方式,不能在此处直接进行修改
nameof(SysUser.Phone),
nameof(SysUser.Email)
}, true);
}