master
2022-03-16 f5e5d411b38f5819551f9acedef62dcf0832bc2c
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 { Comconfig } from '../entity/comconfig';
import { ComconfigService } from '../service/comconfig';
import { DataController } from '../../base/controller/dataController';
/**
        * 监测元数据
        */
@Provide()
@CoolController({ 
  api: ['add', 'delete', 'update', 'list'],
  entity: Comconfig,
  service: ComconfigService,
})
export class ComconfigController extends DataController {
  @Inject()
  comconfigService: ComconfigService;
}