From f6ac1930af80698645e3194f393958631a113655 Mon Sep 17 00:00:00 2001 From: COOL Date: Mon, 17 Apr 2023 00:18:36 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/base/controller/app/comm.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/modules/base/controller/app/comm.ts b/src/modules/base/controller/app/comm.ts index 2a25ee1..faa9167 100644 --- a/src/modules/base/controller/app/comm.ts +++ b/src/modules/base/controller/app/comm.ts @@ -1,11 +1,21 @@ import { Provide, Inject, Get, Post } from '@midwayjs/decorator'; -import { CoolController, BaseController, CoolEps } from '@cool-midway/core'; +import { + CoolController, + BaseController, + CoolEps, + TagTypes, + CoolUrlTag, +} from '@cool-midway/core'; import { Context } from '@midwayjs/koa'; import { CoolFile } from '@cool-midway/file'; /** * 不需要登录的后台接口 */ +@CoolUrlTag({ + key: TagTypes.IGNORE_TOKEN, + value: ['eps'], +}) @Provide() @CoolController() export class BaseAppCommController extends BaseController {