From 7768a9e675e49ee7ccaf7dfa981cb7317c14ff61 Mon Sep 17 00:00:00 2001 From: hackrobot Date: Sun, 21 Jul 2024 16:24:19 +0800 Subject: [PATCH] 'updae' --- __pycache__/main.cpython-310.pyc | Bin 2390 -> 2385 bytes main.py | 7 +++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/__pycache__/main.cpython-310.pyc b/__pycache__/main.cpython-310.pyc index 79f52668d08e5b45399218618c61c38bc4b6515a..0bbe24e24f97dacf743740313011db4bf474752f 100644 GIT binary patch delta 78 zcmca6bWw;mpO=@50SMS`Oi0_dk+*_fp@y-BIfX5Sy_cnyrG}+Qt%RY5WdZX-hGs@a aFl+Ks_9$MKA{C&fA_EX%xLJ_Hl@S0RffB_4 delta 83 zcmca8bWMmipO=@50SKO5osd?uk+*_fp@g}HIfX5Sy_cnyrG}+Qt%RY5WdX}VhGs@a dFl+Ks_9!9NA{C&fA_EX%2qKI(^KiH_0syHP6bb+U diff --git a/main.py b/main.py index fb490fd..51d2c60 100644 --- a/main.py +++ b/main.py @@ -104,8 +104,11 @@ async def joinwechat(item: dict): # 返回结果中包含`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=order, headers=headers,verify=False) + response = requests.post(request_url, data=data, headers=headers,verify=False) if response: print(response.json()) - return response.json() \ No newline at end of file + return response.json() + +# 启动脚本 +# uvicorn main:app --reload --port 8055 \ No newline at end of file