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({
// detectorOptions: {
// ignore: [
// '**/plugins/**'
// ]
// },
detectorOptions: {
ignore: [
'**/plugins/**'
]
},
imports: [
koa,
orm,

View File

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