diff --git a/app/__pycache__/main.cpython-310.pyc b/app/__pycache__/main.cpython-310.pyc index a65f7e7..d8129d7 100644 Binary files a/app/__pycache__/main.cpython-310.pyc and b/app/__pycache__/main.cpython-310.pyc differ diff --git a/app/main.py b/app/main.py index bc03fda..69bed47 100644 --- a/app/main.py +++ b/app/main.py @@ -164,7 +164,7 @@ async def payh5(item: dict): "mchid": mchid, "body": timenew, # 订单标题 "out_trade_no": timenew, # 订单号 - "total_fee": 100, # 金额,单位:分 + "total_fee":item['total_fee'], # 金额,单位:分 # "openid": "o7LFAwWu3OhSrs49-1x5cSlFm0D8", # 通过openid接口获取到的openid # "notify_url": "" # "callback_url":'https://aiimg.hackrobot.cn/api'