1.使用者權限bug fix
This commit is contained in:
parent
8d9de54c4b
commit
29b482ad5f
@ -370,6 +370,7 @@ namespace SolarPower.Controllers
|
||||
Name = post.Name,
|
||||
Email = post.Email,
|
||||
Phone = post.Phone,
|
||||
RoleId = post.RoleId,
|
||||
UpdatedBy = myUser.Id,
|
||||
};
|
||||
|
||||
@ -380,6 +381,7 @@ namespace SolarPower.Controllers
|
||||
"Name",
|
||||
"Email",
|
||||
"Phone",
|
||||
"RoleId",
|
||||
"UpdatedBy",
|
||||
};
|
||||
|
||||
|
||||
@ -86,6 +86,7 @@ namespace SolarPower.Models.User
|
||||
public byte Status { get; set; } //狀態
|
||||
public string Email { get; set; } //信箱
|
||||
public string Phone { get; set; } //手機
|
||||
public int RoleId { get; set; } //角色編號
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user