| | |
| | | import { Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { DemodeviceGroupEntity } from '../../entity/deviceGroup'; |
| | | // import { Provide } from '@midwayjs/decorator'; |
| | | // import { CoolController, BaseController } from '@cool-midway/core'; |
| | | // import { DemodeviceGroupEntity } from '../../entity/deviceGroup'; |
| | | |
| | | /** |
| | | * 描述 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'info', 'list', 'page'], |
| | | entity: DemodeviceGroupEntity, |
| | | }) |
| | | export class DemoAdmindeviceGroupController extends BaseController { } |
| | | // /** |
| | | // * 描述 |
| | | // */ |
| | | // @Provide() |
| | | // @CoolController({ |
| | | // api: ['add', 'delete', 'update', 'info', 'list', 'page'], |
| | | // entity: DemodeviceGroupEntity, |
| | | // }) |
| | | // export class DemoAdmindeviceGroupController extends BaseController { } |