mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2024-11-01 06:02:39 +08:00
url标签
This commit is contained in:
parent
935e75468c
commit
880c3ff0de
22
src/modules/demo/controller/app/tag.ts
Normal file
22
src/modules/demo/controller/app/tag.ts
Normal file
@ -0,0 +1,22 @@
|
||||
import { Provide } from '@midwayjs/decorator';
|
||||
import {
|
||||
CoolController,
|
||||
BaseController,
|
||||
CoolUrlTag,
|
||||
TagTypes,
|
||||
} from '@cool-midway/core';
|
||||
|
||||
/**
|
||||
* 测试给URL打标签
|
||||
*/
|
||||
@Provide()
|
||||
@CoolController({
|
||||
api: [],
|
||||
entity: '',
|
||||
pageQueryOp: () => {},
|
||||
})
|
||||
@CoolUrlTag({
|
||||
key: TagTypes.ignoreToken,
|
||||
value: [],
|
||||
})
|
||||
export class DemoAppTagController extends BaseController {}
|
Loading…
Reference in New Issue
Block a user