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: