升级后端并开源UI

This commit is contained in:
pycook
2019-08-28 20:34:10 +08:00
parent 41ca61c826
commit 1628c1b2c2
115 changed files with 5244 additions and 4543 deletions

9
api/tasks/test.py Normal file
View File

@@ -0,0 +1,9 @@
# -*- coding:utf-8 -*-
from api.extensions import celery
from flask import current_app
@celery.task(queue="ticket_web")
def test_task():
current_app.logger.info("test task.............................")