wangrong
2026-08-13 a9a1c709f56bb7c4361aa04b7cc647baaed74fcd
1
2
3
4
5
6
7
8
9
10
11
12
13
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 {}