mirror of
https://github.com/cq-panda/Vue.NetCore.git
synced 2026-10-20 08:18:02 +08:00
20 lines
540 B
HTML
20 lines
540 B
HTML
using Microsoft.AspNetCore.Mvc;
|
|
using VOL.AppManager.IServices;
|
|
using VOL.Core.Controllers.Basic;
|
|
using VOL.Entity.AttributeManager;
|
|
using VOL.Entity.AttributeManager;
|
|
|
|
namespace VOL.AppManager.Controllers
|
|
{
|
|
[Route("api/{TableName}")]
|
|
[PermissionTable(Name = "{TableName}"),Core.Filters.JWTAuthorize]
|
|
public partial class {TableName}Controller : ApiBaseController<I{TableName}Service>
|
|
{
|
|
public {TableName}Controller(I{TableName}Service service)
|
|
: base({BaseOptions}, service)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|