调整位置服务接口

This commit is contained in:
pengtao 2019-07-25 15:24:38 +08:00
parent 1813fc5ceb
commit d87f3b5024

View File

@ -66,6 +66,7 @@ def send_cache_data():
# 检查ID是否存在播放列表中以及播放次数是否完毕 # 检查ID是否存在播放列表中以及播放次数是否完毕
if all: if all:
# log.info(f"get data was {all}!\n") # log.info(f"get data was {all}!\n")
pdb.set_trace()
for line in all: for line in all:
key = f"ad::{line.get('gameid', 0)}::{line.get('channelid', 0)}::{line.get('area').split(',')[0].strip()}\ key = f"ad::{line.get('gameid', 0)}::{line.get('channelid', 0)}::{line.get('area').split(',')[0].strip()}\
::{line.get('locationid', 0)}" ::{line.get('locationid', 0)}"