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 { Doutrubine } from '../../entity/doutrubine';
| import { DoutrubineService } from '../../service/doutrubine';
| import { DataController } from '../../../base/controller/dataController';
| /**
| * 斗轮机信息
| */
| @Provide()
| @CoolController({
| api: ['add', 'delete', 'update', 'list', 'page'],
| entity: Doutrubine,
| service: DoutrubineService,
| })
| export class AdminDoutrubineController extends DataController {
| @Inject()
| doutrubineService: DoutrubineService;
| }
|
|