mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-05-30 12:18:14 +00:00
14 lines
393 B
TypeScript
14 lines
393 B
TypeScript
import { DemoGoodsEntity } from '../../entity/goods';
|
|
import { BaseController, CoolController } from '@cool-midway/core';
|
|
import { DemoGoodsService } from '../../service/goods';
|
|
|
|
/**
|
|
* 测试
|
|
*/
|
|
@CoolController({
|
|
api: ['add', 'delete', 'update', 'info', 'page', 'list'],
|
|
entity: DemoGoodsEntity,
|
|
service: DemoGoodsService,
|
|
})
|
|
export class CoolGoodsController extends BaseController {}
|