This commit is contained in:
pengtao 2019-09-16 15:39:29 +08:00
parent 60c9e3949f
commit 08c1330d34

View File

@ -98,6 +98,7 @@ def send_cache_data():
'jump_param'], item['ad_sort'], item['companyid'], item['gameid'], item['channelid'], item[
'jump_status'], item['locationid'], item['ad_property'],item['createtime'] = line
item['createtime'] = datetime.datetime.strftime(item['createtime'], "%Y-%m-%d %H:%M:%S")
pdb.set_trace()
if item.get('jump_param', "") and (item['ad_property'].find("jump_param") == -1):
try:
temp = {}
@ -128,8 +129,6 @@ def send_cache_data():
area = get_area_by_locationid(item)
for area_temp in area:
for one in area_temp.split(","):
if line['id'] == 1002:
pdb.set_trace()
key = f"ad::{line.get('gameid', 0)}::{line.get('channelid', 0)}::{one}::{item}"
if int(line['ad_num']) == 0:
sadd_adkey(key, line, item)