feat: Add base project structure with API and web components

This commit is contained in:
Ke Sun
2025-12-02 20:28:01 +08:00
parent f3de6d6cc9
commit c1adc62ec6
817 changed files with 111226 additions and 106 deletions

10
api/app/celery_worker.py Normal file
View File

@@ -0,0 +1,10 @@
"""
Celery Worker 入口点
用于启动 Celery Worker: celery -A app.celery_worker worker --loglevel=info
"""
from app.celery_app import celery_app
# 导入任务模块以注册任务
import app.tasks
__all__ = ['celery_app']