浏览代码

定时统计联通流量

peng 2 年之前
父节点
当前提交
09a1814a67
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Controller/Cron/CronTaskController.py

+ 1 - 1
Controller/Cron/CronTaskController.py

@@ -1261,7 +1261,7 @@ class CronCollectDataView(View):
     def collect_flow_info(response):
         try:
             unicom_qs = UnicomComboOrderInfo.objects.filter(combo__combo_type__in=[0, 1, 2]).values('iccid')
-            asy = threading.Thread(target=CronCollectDataView.thread_collect_flow, args=(unicom_qs))
+            asy = threading.Thread(target=CronCollectDataView.thread_collect_flow, args=(unicom_qs,))
             asy.start()
             return response.json(0)
         except Exception as e: