Explorar o código

开屏海报pad图片

linhaohong hai 1 ano
pai
achega
7ce17e7af1
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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