用celery更新token

This commit is contained in:
曹前明 2022-10-04 10:07:03 +08:00
parent ba4a02b67b
commit 3c01174105
1 changed files with 11 additions and 9 deletions

View File

@ -20,15 +20,17 @@ def clear_tlog():
@shared_task(base=CustomTask)
def get_xx_token():
def get_third_token():
xxClient._get_token()
@shared_task(base=CustomTask)
def get_dh_token():
dhClient._get_token()
@shared_task(base=CustomTask)
def get_sp_token():
spClient._get_token()
# @shared_task(base=CustomTask)
# def get_dh_token():
# dhClient._get_token()
# @shared_task(base=CustomTask)
# def get_sp_token():
# spClient._get_token()