You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
905 B
33 lines
905 B
namespace Tiobon.Core.Api.Controllers;
|
|
|
|
/// <summary>
|
|
/// 试卷(Controller)
|
|
/// </summary>
|
|
[Route("api/[controller]")]
|
|
[ApiController, GlobalActionFilter]
|
|
[Authorize(Permissions.Name), ApiExplorerSettings(GroupName = Grouping.GroupName_Ghre)]
|
|
public class Ghre_ExamPaperController : BaseController<IGhre_ExamPaperServices, Ghre_ExamPaper, Ghre_ExamPaperDto, InsertGhre_ExamPaperInput, EditGhre_ExamPaperInput>
|
|
{
|
|
public Ghre_ExamPaperController(IGhre_ExamPaperServices service) : base(service)
|
|
{
|
|
}
|
|
|
|
#region 基础接口
|
|
#region 查询
|
|
|
|
/// <summary>
|
|
/// 根据Id查询数据
|
|
/// </summary>
|
|
/// <param name="Id"></param>
|
|
/// <returns></returns>
|
|
[HttpPost("QueryDefault/{Id}")]
|
|
public async Task<ServiceResult<DefaultGhre_ExamPaperInput>> QueryDefault(long Id)
|
|
{
|
|
return await _service.QueryDefault(Id);
|
|
}
|
|
#endregion
|
|
|
|
#endregion
|
|
|
|
|
|
} |