add crontab task
continuous-integration/drone/push Build is passing

This commit is contained in:
jianxin committed 2024-02-04 19:35:23 +08:00
1 parent 9ec12d9cfb
commit 57e98728eb
13 files changed
+259 -5

No files matched your search

+5 -1
View File
@@ -15,7 +15,7 @@ from lark_oapi.api.im.v1 import *
from lark_oapi.api.bitable.v1 import *
from app.task import *
from app.utils import *
from app.utils.utils import *
from app.task import *
load_dotenv()
@@ -106,6 +106,10 @@ def create_app() -> Flask:
add.delay(1, 2)
return {"test": "ok"}
@app.route("/index", methods=["GET"])
def index():
return {"test": "ok"}
return app