瀏覽代碼

更新云存判断

zhangdongming 3 天之前
父節點
當前提交
750bee3568
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Controller/Cron/CronTaskController.py

+ 1 - 1
Controller/Cron/CronTaskController.py

@@ -1396,7 +1396,7 @@ class CronCollectDataView(View):
                     real_income = round(price - fee, 2)
 
                     # 根据云存位置选择不同的成本计算方式
-                    if item['vod_location'] == 0:  # 阿里云OSS
+                    if item['vod_location'] == 1:  # 阿里云OSS
                         try:
                             yesterday_stamp = end_time_stamp - 86400
                             uid_bucket_statistics = uid_bucket_statistics.filter(uid=item['uid'],