chore: src/modules/demo/controller/open/tenant.ts
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
import { CoolController, BaseController } from '@cool-midway/core';
|
||||||
|
import { DemoGoodsEntity } from '../../entity/goods';
|
||||||
|
import { DemoTenantService } from '../../service/tenant';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 多租户
|
||||||
|
*/
|
||||||
|
@CoolController({
|
||||||
|
api: [],
|
||||||
|
entity: DemoGoodsEntity,
|
||||||
|
service: DemoTenantService,
|
||||||
|
})
|
||||||
|
export class OpenDemoTenantController extends BaseController {}
|
||||||
Reference in New Issue
Block a user