|
@@ -29,32 +29,10 @@ url = "http://127.0.0.1:7960/brandcultivation/api/v1/eval_report"
|
|
|
payload = {
|
|
payload = {
|
|
|
"city_uuid": "00000000000000000000000011445301",
|
|
"city_uuid": "00000000000000000000000011445301",
|
|
|
"product_code": "440298",
|
|
"product_code": "440298",
|
|
|
- "cultivacation_id": "10000001",
|
|
|
|
|
|
|
+ "cultivacation_id": "10000002",
|
|
|
"limit_cycle_name": "202502W2(02.10-02.16)"
|
|
"limit_cycle_name": "202502W2(02.10-02.16)"
|
|
|
}
|
|
}
|
|
|
headers = {'Content-Type': 'application/json'}
|
|
headers = {'Content-Type': 'application/json'}
|
|
|
|
|
|
|
|
response = requests.post(url, data=json.dumps(payload), headers=headers)
|
|
response = requests.post(url, data=json.dumps(payload), headers=headers)
|
|
|
print(response.json())
|
|
print(response.json())
|
|
|
-
|
|
|
|
|
-# url = "http://127.0.0.1:7960/brandcultivation/api/v1/report"
|
|
|
|
|
-# payload = {
|
|
|
|
|
-# "city_uuid": "00000000000000000000000011445301",
|
|
|
|
|
-# "product_code": "440298",
|
|
|
|
|
-# }
|
|
|
|
|
-# headers = {'Content-Type': 'application/json'}
|
|
|
|
|
-
|
|
|
|
|
-# response = requests.post(url, data=json.dumps(payload), headers=headers)
|
|
|
|
|
-# print(response.json())
|
|
|
|
|
-
|
|
|
|
|
-# url = "http://127.0.0.1:7960/brandcultivation/api/v1/eval_report"
|
|
|
|
|
-# payload = {
|
|
|
|
|
-# "city_uuid": "00000000000000000000000011445301",
|
|
|
|
|
-# "product_code": "440298",
|
|
|
|
|
-# "start_time": "2025/2/10",
|
|
|
|
|
-# "end_time": "2025/2/16"
|
|
|
|
|
-# }
|
|
|
|
|
-# headers = {'Content-Type': 'application/json'}
|
|
|
|
|
-
|
|
|
|
|
-# response = requests.post(url, data=json.dumps(payload), headers=headers)
|
|
|
|
|
-# print(response.json())
|
|
|