feat: wire native leaudit upload flow

This commit is contained in:
wren
2026-04-28 16:53:16 +08:00
parent c776af598a
commit e738398eb6
26 changed files with 7364 additions and 5778 deletions
+3
View File
@@ -20,10 +20,13 @@ if str(_PROJECT_ROOT) not in sys.path:
# fastapi_modules 目录加入路径(使 importlib 能找到各模块)
_FASTMOD = _PROJECT_ROOT / "fastapi_modules"
_FASTMOD_LEAUDIT = _FASTMOD / "fastapi_leaudit"
_NATIVE_LEAUDIT_SRC = _PROJECT_ROOT.parent / "leaudit" / "src"
if str(_FASTMOD) not in sys.path:
sys.path.insert(0, str(_FASTMOD))
if str(_FASTMOD_LEAUDIT) not in sys.path:
sys.path.insert(0, str(_FASTMOD_LEAUDIT))
if _NATIVE_LEAUDIT_SRC.exists() and str(_NATIVE_LEAUDIT_SRC) not in sys.path:
sys.path.insert(0, str(_NATIVE_LEAUDIT_SRC))
def create_app() -> FastAPI: