linhaohong 1 год назад
Родитель
Сommit
7ce17e7af1
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      AdminController/CampaignController.py

+ 2 - 2
AdminController/CampaignController.py

@@ -308,9 +308,9 @@ class CampaignView(View):
                 if 1 not in campaign.campaign_type:
                     campaign.campaign_type.append(1)
 
-            # 开屏海报图片
+            # 开屏海报pad图片
             if poster_pad_file is not None:
-                self.del_file_to_s3(campaign.image_url)
+                self.del_file_to_s3(campaign.pad_image_url)
                 pad_image_url = self.upload_files_to_s3(poster_pad_file,
                                                         "OpenScreenAdvertise")[0]
                 campaign.pad_image_url = pad_image_url