chore: 恢复加载插件方式为注解方式

This commit is contained in:
xiaojunnuo
2025-04-28 17:05:14 +08:00
parent a5cb8761a5
commit 65255dbb50
4 changed files with 21 additions and 23 deletions
@@ -12,7 +12,7 @@ export class AutoBLoadPlugins {
@Init()
async init() {
logger.info('加载插件开始');
await this.pluginService.registerFromLocal("./metadata")
// await this.pluginService.registerFromLocal("./metadata")
await import("../../plugins/index.js")
await this.pluginService.registerFromDb()
logger.info('加载插件完成');