This commit is contained in:
xyj 2023-12-02 19:46:53 +08:00
parent 7bcc174faf
commit 09350f0357
1 changed files with 1 additions and 1 deletions

View File

@ -51,4 +51,4 @@ def get_record(msg, client):
client.publish('error', payload='没有该文件', qos=0)
return
files = {"file": open(file_name_, 'rb'), "Content-Type": "application/octet-stream"}
requests.post("http://127.0.0.1:8000/testfile", files=files)
requests.post("https://shop.lihaink.cn/api/upload/image/field", files=files)