From 880c3ff0de1ec7cddbb803fd7ee7e35a79ffbb91 Mon Sep 17 00:00:00 2001 From: ap <951984189@qq.com> Date: Mon, 28 Mar 2022 18:58:54 +0800 Subject: [PATCH] =?UTF-8?q?url=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/demo/controller/app/tag.ts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/modules/demo/controller/app/tag.ts diff --git a/src/modules/demo/controller/app/tag.ts b/src/modules/demo/controller/app/tag.ts new file mode 100644 index 0000000..917ea68 --- /dev/null +++ b/src/modules/demo/controller/app/tag.ts @@ -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 {}