Skip to content

Commit

Permalink
Update examples.py
Browse files Browse the repository at this point in the history
  • Loading branch information
minibear2021 authored Oct 22, 2024
1 parent 8701d91 commit 15f2216
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/server/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@
TIMEOUT = (10, 30) # 建立连接最大超时时间是10s,读取响应的最大超时时间是30s

# 微信支付平台公钥
# 注:2024年09月后新申请的微信支付账号使用公钥模式初始化,需配置此参数。
with open('path_to_wechat_pay_public_key/wechat_pay_public_key.pem') as f:
PUBLIC_KEY = f.read()

# 微信支付平台公钥ID
# 注:2024年09月后新申请的微信支付账号使用公钥模式初始化,需配置此参数。
PUBLIC_KEY_ID = '444F4864EA9B34415...'

# 初始化
Expand Down

0 comments on commit 15f2216

Please sign in to comment.