添加返回localtion的接口

This commit is contained in:
pengtao 2019-08-20 11:55:18 +08:00
parent d6961a63a1
commit ff83e4675c

View File

@ -97,8 +97,11 @@ def send_cache_data():
item['y_offset'] = 0
try:
temp = {}
pdb.set_trace()
temp['jump_param'] = item['jump_param']
item['jump_appid'] = json.loads(item['ad_property']).update(temp)
if not isinstance(item.get('ad_property', {}), dict):
item['ad_property'] = dict(item.get('ad_property', {}))
item['ad_property'].update(temp)
except:
pass