namespace Tiobon.Core.Api.Controllers;
///
/// Ghra_Staff(Controller)
///
[Route("api/[controller]")]
[ApiController, GlobalActionFilter]
[Authorize(Permissions.Name), ApiExplorerSettings(GroupName = Grouping.GroupName_Ghra)]
public class Ghra_StaffController : BaseController
{
public Ghra_StaffController(IGhra_StaffServices service) : base(service)
{
}
#region 查询
///
/// 根据Id查询数据
///
///
///
[HttpPost("QuerySimple/{Id}")]
public async Task> QuerySimple(int Id)
{
return await _service.QuerySimple(Id);
}
#endregion
#region 查询邮箱
///
/// 查询邮箱
///
///
///
[HttpPost("QueryEmail/{Id}")]
public async Task> QueryEmail(int Id) => await _service.QueryEmail(Id);
#endregion
}