Files
iMES_Net/iMES.WebApi/Template/Controller/Controller.html

25 lines
617 B
HTML
Raw Normal View History

2026-02-06 18:34:35 +08:00
/*
* 此代码由框架生成,请勿随意更改
*/
using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using {Namespace}.IServices;
using {StartName}.Core.Controllers.Basic;
using Microsoft.AspNetCore.Mvc;
using iMES.Entity.AttributeManager;
namespace {Namespace}.Controllers
{
[ApiExplorerSettings(IgnoreApi = true)]
[PermissionTable(Name = "{TableName}")]
public partial class {TableName}Controller : BaseController<I{TableName}Service>
{
public {TableName}Controller(I{TableName}Service service)
: base({BaseOptions}, service)
{
}
}
}