把原本散落在 /root/zikai 的 FastAPI 服务整理到 server/ 子目录, 开启独立 git 与 venv。运行时数据(config.yaml / keys / uploads) 按 .gitignore 留在工作目录但不入仓。
7 lines
188 B
Python
7 lines
188 B
Python
"""Controller 层:API 路由。"""
|
||
|
||
from .file_controller import router as file_router
|
||
from .system_controller import router as system_router
|
||
|
||
__all__ = ["file_router", "system_router"]
|