缓存添加广告创建时间字段

This commit is contained in:
pengtao 2019-09-16 14:16:42 +08:00
parent 045ff87d8e
commit b88907faaf

View File

@ -67,7 +67,8 @@ def send_cache_data():
channelid, channelid,
jump_status, jump_status,
locationid , locationid ,
ad_property ad_property,
createtime
from from
ad ad
where where
@ -85,7 +86,7 @@ def send_cache_data():
try: try:
item['id'], item['name'], item['ad_num'], item['ad_title'], item['ad_body'], item['ad_image'], item[ 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_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): if item.get('jump_param', "") and (item['ad_property'].find("jump_param") == -1):
try: try:
temp = {} temp = {}