/*
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
*如果要增加方法请在当前目录下Partial文件夹base_routing_tableController编写
|
*/
|
using Microsoft.AspNetCore.Mvc;
|
using WIDESEA_Core.Controllers.Basic;
|
using WIDESEA_Core.Utilities;
|
using WIDESEA_Entity.AttributeManager;
|
using WIDESEA_Services.IServices;
|
using WIDESEA_Services.Services;
|
|
namespace WIDESEA_Services.Controllers
|
{
|
[Route("api/dt_stationinfo")]
|
[PermissionTable(Name = "dt_stationinfo")]
|
public partial class dt_stationinfoController : ApiBaseController<Idt_stationinfoService>
|
{
|
public dt_stationinfoController(Idt_stationinfoService service)
|
: base(service)
|
{
|
}
|
|
/// <summary>
|
/// 设置缓存架禁用启用
|
/// </summary>
|
/// <param name="parm"></param>
|
/// <returns></returns>
|
[HttpPost, Route("SetStationEnable")]
|
public WebResponseContent SetStationEnable([FromBody] object parm)
|
{
|
return dt_stationinfoService.Instance.SetStationEnable(parm);
|
}
|
}
|
}
|