From 14ce7e6e3f29238f8bc56931eb70ddb52a44c909 Mon Sep 17 00:00:00 2001 From: ninemine <1371605831@qq.com> Date: Thu, 6 Nov 2025 20:38:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=B0=E5=9C=A8=E5=90=8C=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E5=86=85=E5=8F=AF=E4=BB=A5=E5=A3=B0=E6=98=8E?= =?UTF-8?q?=E5=A4=9A=E4=B8=AA=E6=8F=92=E4=BB=B6=E7=B1=BB=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Convention | 2 +- CoreModules/plugin_interface.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Convention b/Convention index 8121899..4ba5bfd 160000 --- a/Convention +++ b/Convention @@ -1 +1 @@ -Subproject commit 8121899d32f631c9a8d75bf8dcc5b3b43a5d7995 +Subproject commit 4ba5bfdfee9abfdd78623f0375322e675a7bb3c9 diff --git a/CoreModules/plugin_interface.py b/CoreModules/plugin_interface.py index 42f330a..e1f24e0 100644 --- a/CoreModules/plugin_interface.py +++ b/CoreModules/plugin_interface.py @@ -129,7 +129,7 @@ def ImportPlugins(app: FastAPI, plugin_dir:str = "Plugins") -> None: plugin = plugin_class() if plugin.is_enable_plugin() == False: continue - router = plugin.execute(f"/{module_file.GetFullPath().replace(".py", '')}") + router = plugin.execute(f"/{module_file.GetFullPath().replace(".py", '')}/{class_name}") if router: app.include_router(router, prefix=f"/api", tags=[plugin.get_plugin_tag()]) except Exception as e: