添加返回localtion的接口
This commit is contained in:
parent
05e5bbd508
commit
94ed3c28bb
@ -98,12 +98,13 @@ def send_cache_data():
|
||||
try:
|
||||
print(f"0={item}")
|
||||
temp = {}
|
||||
temp['jump_param'] = item['jump_param']
|
||||
temp['jump_param'] = item.get('jump_param',"")
|
||||
if not isinstance(item.get('ad_property', {}), dict):
|
||||
if not item.get('ad_property', {}):
|
||||
item['ad_property']={}.update(temp)
|
||||
else:
|
||||
item['ad_property'] = json.loads(item.get('ad_property', {})).update(temp)
|
||||
print(f"item['ad_property']={item['ad_property']}")
|
||||
item['ad_property']=json.dumps(item['ad_property'])
|
||||
print(f"1={item}")
|
||||
except Exception:
|
||||
|
Loading…
x
Reference in New Issue
Block a user