From 2c0e06d5993e78db32568e86fdb20db3a6062b60 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Fri, 30 May 2025 13:37:40 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=8F=92=E4=BB=B6=E5=88=86=E8=BA=AB?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E6=B3=A8=E5=86=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/endpoints/plugin.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/api/endpoints/plugin.py b/app/api/endpoints/plugin.py index 56656f9c..1672ac4e 100644 --- a/app/api/endpoints/plugin.py +++ b/app/api/endpoints/plugin.py @@ -525,6 +525,13 @@ def clone_plugin(plugin_id: str, ) if success: + # 注册插件服务 + Scheduler().update_plugin_job(message) + # 注册菜单命令 + Command().init_commands(message) + # 注册插件API + register_plugin_api(message) + # 将分身插件添加到原插件所在的文件夹中 _add_clone_to_plugin_folder(plugin_id, message) return schemas.Response(success=True, message="插件分身创建成功") else: