Files
django-vue3-admin-gd/backend/system/tasks.py
xie7654 f6e68e37c8 init
2025-06-29 21:45:27 +08:00

14 lines
219 B
Python

# 某个 app 目录下的 tasks.py
from celery import shared_task
@shared_task
def add(x, y):
return x + y
@shared_task
def sync_temu_order():
pass
@shared_task
def sync_temu_shipping():
pass