'updae'
This commit is contained in:
Binary file not shown.
5
main.py
5
main.py
@@ -104,8 +104,11 @@ async def joinwechat(item: dict):
|
|||||||
# 返回结果中包含`jsapi`字段,该字段的值即是前端发起时所需的6个支付参数
|
# 返回结果中包含`jsapi`字段,该字段的值即是前端发起时所需的6个支付参数
|
||||||
headers = {"content-type": "application/x-www-form-urlencoded"}
|
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)
|
response = requests.post(request_url, data=data, headers=headers,verify=False)
|
||||||
|
|
||||||
if response:
|
if response:
|
||||||
print(response.json())
|
print(response.json())
|
||||||
return response.json()
|
return response.json()
|
||||||
|
|
||||||
|
# 启动脚本
|
||||||
|
# uvicorn main:app --reload --port 8055
|
||||||
Reference in New Issue
Block a user