feat: 知识库管理后台上传/列表/删除API,含frontmatter解析
This commit is contained in:
@@ -16,6 +16,7 @@ from app.api.users import router as users_router
|
||||
from app.api.yearly_targets import router as yearly_targets_router
|
||||
from app.api.dashboard import router as dashboard_router
|
||||
from app.api.schedules import router as schedules_router
|
||||
from app.api.knowledge import router as knowledge_router
|
||||
from app.core.config import settings
|
||||
|
||||
app = FastAPI(title="军事科技工作台", version="0.1.0")
|
||||
@@ -49,6 +50,7 @@ app.include_router(yearly_targets_router)
|
||||
app.include_router(users_router)
|
||||
app.include_router(dashboard_router)
|
||||
app.include_router(schedules_router)
|
||||
app.include_router(knowledge_router)
|
||||
|
||||
# 挂载静态文件目录(题图海报)
|
||||
_static_dir = Path(__file__).parent.parent / "static"
|
||||
|
||||
Reference in New Issue
Block a user