diff --git a/README.md b/README.md index df8184b..b6ef43d 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/examples/server/examples.py b/examples/server/examples.py index d2d9345..1b9f547 100644 --- a/examples/server/examples.py +++ b/examples/server/examples.py @@ -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