2025-03-17 18:06:54 +08:00

12 lines
450 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

from django.core.management.base import BaseCommand
from apps.lyTiktokUnion.views.dySystemAccountViews import keepDouDianTokenOnline
import logging
logger = logging.getLogger(__name__)
"""
保持团长和抖客账号的token可用每2个小时执行一次
"""
class Command(BaseCommand):
def handle(self, *args, **options):
logger.info("开始执行保持团长和抖客账号的token可用任务")
keepDouDianTokenOnline()