mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 02:29:24 +08:00
调整User为SysUser、Resource为SysResource
This commit is contained in:
@@ -61,14 +61,14 @@ namespace OpenAuth.App.Request
|
||||
[Required(ErrorMessage = "请为用户分配机构")]
|
||||
public string OrganizationIds { get; set; }
|
||||
|
||||
public static implicit operator UpdateUserReq(User user)
|
||||
public static implicit operator UpdateUserReq(SysUser sysUser)
|
||||
{
|
||||
return user.MapTo<UpdateUserReq>();
|
||||
return sysUser.MapTo<UpdateUserReq>();
|
||||
}
|
||||
|
||||
public static implicit operator User(UpdateUserReq view)
|
||||
public static implicit operator SysUser(UpdateUserReq view)
|
||||
{
|
||||
return view.MapTo<User>();
|
||||
return view.MapTo<SysUser>();
|
||||
}
|
||||
|
||||
public UpdateUserReq()
|
||||
|
Reference in New Issue
Block a user