This commit is contained in:
pengtao 2019-09-16 15:33:13 +08:00
parent 71f5cd2550
commit 6391c7d058

View File

@ -125,7 +125,8 @@ def send_cache_data():
locationid = json.loads(line.get('locationid'))
for item in locationid:
area = get_area_by_locationid(item)
for one in area:
for area_temp in area:
for one in area_temp.split(","):
key = f"ad::{line.get('gameid', 0)}::{line.get('channelid', 0)}::{one}::{item}"
if int(line['ad_num']) == 0:
sadd_adkey(key, line, item)