namespace Tiobon.Core.Api.Controllers; /// /// 试卷(Controller) /// [Route("api/[controller]")] [ApiController, GlobalActionFilter] [Authorize(Permissions.Name), ApiExplorerSettings(GroupName = Grouping.GroupName_Ghre)] public class Ghre_ExamPaperController : BaseController { public Ghre_ExamPaperController(IGhre_ExamPaperServices service) : base(service) { } #region 基础接口 #region 查询 /// /// 根据Id查询数据 /// /// /// [HttpPost("QueryDefault/{Id}")] public async Task> QueryDefault(long Id) { return await _service.QueryDefault(Id); } #endregion #region 新增配置数据 /// /// 新增配置数据 /// /// /// [HttpPost("InsertConfig")] public async Task> InsertConfig(InsertGhre_ExamPaperConfigInput insert) { return await _service.InsertConfig(insert); } #endregion #endregion }