chore: src/modules/space/controller/admin/type.ts
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
import { Provide } from '@midwayjs/core';
|
||||||
|
import { CoolController, BaseController } from '@cool-midway/core';
|
||||||
|
import { SpaceTypeEntity } from '../../entity/type';
|
||||||
|
import { SpaceTypeService } from '../../service/type';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 空间分类
|
||||||
|
*/
|
||||||
|
@Provide()
|
||||||
|
@CoolController({
|
||||||
|
api: ['add', 'delete', 'update', 'info', 'list', 'page'],
|
||||||
|
entity: SpaceTypeEntity,
|
||||||
|
service: SpaceTypeService,
|
||||||
|
})
|
||||||
|
export class BaseAppSpaceTypeController extends BaseController {}
|
||||||
Reference in New Issue
Block a user