feat: export center activities with photos to Word

This commit is contained in:
2026-12-02 15:32:35 +08:00
parent 626a683876
commit 3489b5f8fa
6 changed files with 92 additions and 13 deletions
+1 -1
View File
@@ -769,7 +769,7 @@ async def _migrate_center_loan_schema(conn) -> None:
app = FastAPI(title="WorkLog 活动记录", version="2.0.0", lifespan=lifespan)
center.install(app, get_db, current_user, lambda: _db_path.parent / 'uploads', visible_clause)
center_duty.install(app, get_db, current_user)
center_export.install(app, get_db, current_user, visible_clause)
center_export.install(app, get_db, current_user, visible_clause, lambda: _db_path.parent / 'uploads')
def timetable_collectors():
values = os.getenv('WORKLOG_TIMETABLE_COLLECTORS')