fix: 本地不检验ssl

This commit is contained in:
hackrobot
2024-07-12 15:06:31 +08:00
parent b7109dc322
commit f2b6e5b95b
2 changed files with 3 additions and 1 deletions

Binary file not shown.

View File

@@ -103,7 +103,9 @@ async def joinwechat(item: dict):
request_url = "https://kunpeng.hackrobot.cn/joingroup"
# 返回结果中包含`jsapi`字段该字段的值即是前端发起时所需的6个支付参数
headers = {"content-type": "application/x-www-form-urlencoded"}
response = requests.post(request_url, data=data, headers=headers)
# response = requests.post(request_url, data=data, headers=headers)
response = requests.post(request_url, data=order, headers=headers,verify=False)
if response:
print(response.json())
return response.json()