From b88907faaff72aa75a77f32a2c8dec7e78f5b4c2 Mon Sep 17 00:00:00 2001 From: pengtao Date: Mon, 16 Sep 2019 14:16:42 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=93=E5=AD=98=E6=B7=BB=E5=8A=A0=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=E5=88=9B=E5=BB=BA=E6=97=B6=E9=97=B4=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ad_tasks.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ad_tasks.py b/ad_tasks.py index 7d598d3..dcb9984 100644 --- a/ad_tasks.py +++ b/ad_tasks.py @@ -67,7 +67,8 @@ def send_cache_data(): channelid, jump_status, locationid , - ad_property + ad_property, + createtime from ad where @@ -85,7 +86,7 @@ def send_cache_data(): try: item['id'], item['name'], item['ad_num'], item['ad_title'], item['ad_body'], item['ad_image'], item[ 'jump_param'], item['ad_sort'], item['companyid'], item['gameid'], item['channelid'], item[ - 'jump_status'], item['locationid'], item['ad_property'] = line + 'jump_status'], item['locationid'], item['ad_property'],item['createtime'] = line if item.get('jump_param', "") and (item['ad_property'].find("jump_param") == -1): try: temp = {}