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.
30 lines
1.0 KiB
30 lines
1.0 KiB
using Newtonsoft.Json.Linq;
|
|
using System.Data;
|
|
|
|
namespace Tiobon.Core.Api.Controllers;
|
|
|
|
/// <summary>
|
|
/// 模板区域(Controller)
|
|
/// </summary>
|
|
[Route("api/[controller]")]
|
|
[ApiController, GlobalActionFilter]
|
|
[Authorize(Permissions.Name), ApiExplorerSettings(GroupName = Grouping.GroupName_Ghrp)]
|
|
public class Ghrp_TemplateAreaController : BaseController<IGhrp_TemplateAreaServices, Ghrp_TemplateArea, Ghrp_TemplateAreaDto, InsertGhrp_TemplateAreaInput, EditGhrp_TemplateAreaInput>
|
|
{
|
|
public Ghrp_TemplateAreaController(IGhrp_TemplateAreaServices service) : base(service)
|
|
{
|
|
}
|
|
#region 加载左侧区域
|
|
/// <summary>
|
|
/// 初始化获取区域元素
|
|
/// </summary>
|
|
/// <param name="Stage">阶段</param>
|
|
/// <returns></returns>
|
|
[HttpPost, Route("InitAreaInfo")]
|
|
public async Task<ServiceResult<JArray>> InitAreaInfo() => await _service.InitAreaInfo();
|
|
#endregion
|
|
|
|
[HttpPost, Route("ItemMatchField")]
|
|
public async Task<ServiceResult<DataTable>> ItemMatchField() => await _service.ItemMatchField();
|
|
|
|
} |