wangrong
2022-03-16 a45591fc22c088fe45fafb651b0c4575cc5c2f0f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
import { CoolController, BaseController } from '@cool-midway/core';
import { Interfacelist } from '../entity/interfacelist';
import { InterfacelistService } from '../service/interfacelist';
import { DataController } from '../../base/controller/dataController';
/**
        * 接口清单
        */
@Provide()
@CoolController({ 
  api: ['add', 'delete', 'update', 'list'],
  entity: Interfacelist,
  service: InterfacelistService,
})
export class InterfacelistController extends DataController {
  @Inject()
  interfacelistService: InterfacelistService;
}