From 5ca76f1ac8aa12a24be4b01e54bb3e194c8226ab Mon Sep 17 00:00:00 2001 From: COOL Date: Fri, 6 Sep 2024 17:26:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/plugin/event/app.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/plugin/event/app.ts b/src/modules/plugin/event/app.ts index 984fbcf..2ef8f5c 100644 --- a/src/modules/plugin/event/app.ts +++ b/src/modules/plugin/event/app.ts @@ -1,4 +1,5 @@ import { CoolEvent, Event } from '@cool-midway/core'; +import { CachingFactory, MidwayCache } from '@midwayjs/cache-manager'; import { App, Config, @@ -9,7 +10,6 @@ import { } from '@midwayjs/core'; import { IMidwayKoaApplication } from '@midwayjs/koa'; import { PLUGIN_CACHE_KEY, PluginCenterService } from '../service/center'; -import { CachingFactory, MidwayCache } from '@midwayjs/cache-manager'; import { PluginTypesService } from '../service/types'; /** @@ -39,6 +39,6 @@ export class PluginAppEvent { async onServerReady() { await this.midwayCache.set(PLUGIN_CACHE_KEY, []); this.pluginCenterService.init(); - this.pluginTypesService.reGenerate(); + // this.pluginTypesService.reGenerate(); } }