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