add workflow 天润Smart-ccc工单数据,dev

This commit is contained in:
root 2024-07-02 16:17:28 +08:00
parent 9101fa466b
commit b6729e3358
1 changed files with 2 additions and 2 deletions

View File

@ -79,8 +79,8 @@ def request_data_signature_post():
url = f'{url}?{url_path}&Signature={urllib.parse.quote_plus(signature)}' url = f'{url}?{url_path}&Signature={urllib.parse.quote_plus(signature)}'
print(f'url: {url}') print(f'url: {url}')
# body={'endTime':formatted2_previous_hour(1),'startTime':'2024-01-01 00:00:00'} body={'endTime':formatted2_previous_hour(1),'startTime':'2024-01-01 00:00:00'}
body={'endTime':formatted2_previous_hour(0),'startTime':formatted2_previous_hour(1)} # body={'endTime':formatted2_previous_hour(0),'startTime':formatted2_previous_hour(1)}
jsonData = json.dumps(body) jsonData = json.dumps(body)
print(f'body: {jsonData}') print(f'body: {jsonData}')
dataReqL=requests.post(url,headers=header,data=jsonData) dataReqL=requests.post(url,headers=header,data=jsonData)