1
This commit is contained in:
24
iMES.WebApi/Template/Controller/Controller.html
Normal file
24
iMES.WebApi/Template/Controller/Controller.html
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* 此代码由框架生成,请勿随意更改
|
||||
*/
|
||||
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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user