mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-05-08 09:38:04 +00:00
15 lines
468 B
TypeScript
15 lines
468 B
TypeScript
import { DemoGoodsEntity } from '../../entity/goods';
|
|
import { Provide } from '@midwayjs/decorator';
|
|
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 {}
|