from celery_tasks import celery_app,create_app app = create_app() # 同步创建了celery和flask