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