1.使用者權限bug fix

This commit is contained in:
Kai 2021-08-18 11:49:46 +08:00
parent 8d9de54c4b
commit 29b482ad5f
2 changed files with 3 additions and 0 deletions

View File

@ -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",
};

View File

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