Skip to content

Commit

Permalink
Update examples.py
Browse files Browse the repository at this point in the history
  • Loading branch information
minibear2021 authored Aug 20, 2024
1 parent d4daa0c commit 4a5faaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/server/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def pay_app():
return jsonify({'code': -1, 'result': {'reason': result.get('code')}})

@app.route('/pay_codepay')
def pay_app():
def pay_codepay():
# 以付款码支付为例,终端条码枪扫描用户付款码将解码后的auth_code放入payer传递给微信支付服务器扣款。
out_trade_no = ''.join(sample(ascii_letters + digits, 8))
description = 'demo-description'
Expand Down

0 comments on commit 4a5faaf

Please sign in to comment.