diff --git a/action/PowerOn.py b/action/PowerOn.py index d6df0ff..43c1bdc 100644 --- a/action/PowerOn.py +++ b/action/PowerOn.py @@ -39,7 +39,7 @@ def hello(): # 发送 POST 请求 # urllib3 的 body 参数在 httpx 中对应 content (用于二进制数据) r = httpx.post( - "http://at.sys-allnet.cn/net/initialize", content=encrypted, headers=headers + "https://at.sys-allnet.cn/net/initialize", content=encrypted, headers=headers ) # 检查响应状态码 (可选,但在 httpx 中推荐)