update 默认路由配置文件
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user