Commit 361d5962 authored by litaolemo's avatar litaolemo

update

parent 99c41690
......@@ -994,7 +994,7 @@ for city in city_list:
'requests': '[{\"request_id\": null, \"method\": \"doris/search/query_sku\", \"params\": {\"sort_with_submission\": true, \"or_filters\": [], \"sort_params\": { \"in_whitelist\": 1, \"user_city_tag_id\": %s, \"device_id\": \"androidid_ba0799595f555c98\"}, \"sort_type\": 0, \"use_tagv3\": false, \"filters\": {\"tag_ids\": [%s]}, \"offset\": 0, \"query\": \"\", \"is_sort_with_icon\": true, \"user_city_tag_id\": %s, \"size\": 100}, \"environment\": {\"trace_context\": {\"debug\": false, \"sampled\": false, \"trace_id\": \"1abd5ea122024a32827e0a0dd8ad45eb\", \"span_id\": \"0.2\"}, \"l5d_path\": \"/prod/gaia\", \"passport\": null, \"client_info\": {\"log_id\": \"gaia.z1l7e4odb43efc0179047f890fc023ba\", \"span_id\": \"z1l7e4o0ffec82d12944357b60360e80\"}, \"session_id\": \"ifop8w1o4spoe969kxd6yh77wzgtsz3c\"}}]' % (
city_list[city],query,city_list[city])}
# print(data)
print(data)
response = requests.post('http://172.16.50.10:8050/v1/batch', headers=headers, data=data)
data = json.dumps(response.json())
print(data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment