|
@@ -522,8 +522,8 @@ class AppCampaignView(View):
|
|
campaign_name=F('campaign_id__campaign_name'),
|
|
campaign_name=F('campaign_id__campaign_name'),
|
|
campaign_type=F('campaign_id__campaign_type'),
|
|
campaign_type=F('campaign_id__campaign_type'),
|
|
campaign_status=F('campaign_id__status')
|
|
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():
|
|
if not open_screen_campaign_qs.exists():
|
|
return response.json(0, {'list': []})
|
|
return response.json(0, {'list': []})
|
|
campaigns_list = list(open_screen_campaign_qs)
|
|
campaigns_list = list(open_screen_campaign_qs)
|