Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
minibear2021 committed Oct 31, 2024
1 parent 85544ed commit 2013b5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ TIMEOUT = (10, 30) # 建立连接最大超时时间是10s,读取响应的最

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

# 微信支付平台公钥ID
Expand Down
2 changes: 1 addition & 1 deletion examples/server/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

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

# 微信支付平台公钥ID
Expand Down

0 comments on commit 2013b5a

Please sign in to comment.