chore: src/modules/demo/controller/open/transaction.ts
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { DemoGoodsEntity } from '../../entity/goods';
|
||||
import { Provide } from '@midwayjs/core';
|
||||
import { CoolController, BaseController } from '@cool-midway/core';
|
||||
import { DemoTransactionService } from '../../service/transaction';
|
||||
|
||||
/**
|
||||
* 事务
|
||||
*/
|
||||
@CoolController({
|
||||
api: ['add', 'delete', 'update', 'info', 'list', 'page'],
|
||||
entity: DemoGoodsEntity,
|
||||
service: DemoTransactionService,
|
||||
})
|
||||
export class OpenDemoTransactionController extends BaseController {}
|
||||
Reference in New Issue
Block a user