feat: 从yaml文件注册插件

This commit is contained in:
xiaojunnuo
2025-04-27 15:11:50 +08:00
parent 9b1d822b5b
commit deb3893820
98 changed files with 5366 additions and 45 deletions
@@ -12,7 +12,7 @@ export class AutoBLoadPlugins {
@Init()
async init() {
logger.info('加载插件开始');
await import("../../plugins/index.js")
await this.pluginService.registerFromLocal("./metadata")
await this.pluginService.registerFromDb()
logger.info('加载插件完成');