From 09350f0357babf55f9535f62ac31aff467cdd783 Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Sat, 2 Dec 2023 19:46:53 +0800 Subject: [PATCH] mqtt --- tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool.py b/tool.py index f9b63a0..efaa3a2 100644 --- a/tool.py +++ b/tool.py @@ -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)