Browse Source

更新云存判断

zhangdongming 4 days ago
parent
commit
750bee3568
1 changed files with 1 additions and 1 deletions
  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'],