浏览代码

日志导出文件添加广告id

linhaohong 1 年之前
父节点
当前提交
c29ef21837
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Controller/AppCampaignController.py

+ 2 - 2
Controller/AppCampaignController.py

@@ -522,8 +522,8 @@ class AppCampaignView(View):
                 campaign_name=F('campaign_id__campaign_name'),
                 campaign_type=F('campaign_id__campaign_type'),
                 campaign_status=F('campaign_id__status')
-            ).values('id', 'user_id', 'status', 'update_time', 'create_time', 'campaign_name', 'campaign_type',
-                     'campaign_status')
+            ).values('id', 'user_id', 'status', 'update_time', 'create_time', 'campaign_id', 'campaign_name',
+                     'campaign_type', 'campaign_status')
             if not open_screen_campaign_qs.exists():
                 return response.json(0, {'list': []})
             campaigns_list = list(open_screen_campaign_qs)