pull/409/head
xiaojunnuo 2025-04-27 11:05:01 +08:00
parent 5cd61c4c02
commit 9b1d822b5b
2 changed files with 6 additions and 5 deletions

View File

@ -26,11 +26,11 @@ process.on('uncaughtException', error => {
}); });
@Configuration({ @Configuration({
// detectorOptions: { detectorOptions: {
// ignore: [ ignore: [
// '**/plugins/**' '**/plugins/**'
// ] ]
// }, },
imports: [ imports: [
koa, koa,
orm, orm,

View File

@ -12,6 +12,7 @@ export class AutoBLoadPlugins {
@Init() @Init()
async init() { async init() {
logger.info('加载插件开始'); logger.info('加载插件开始');
await import("../../plugins/index.js")
await this.pluginService.registerFromDb() await this.pluginService.registerFromDb()
logger.info('加载插件完成'); logger.info('加载插件完成');