Closed Wsmallnews closed 2 months ago
Name | Link |
---|---|
Latest commit | 68a41f37ebeb4fb9c5e3943b62e3c0079235126c |
Latest deploy log | https://app.netlify.com/sites/pay-yansongda/deploys/66e10d24b011f3000829ed9d |
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 97.41%. Comparing base (
2ea20b7
) to head (68a41f3
). Report is 1 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
当调用
商家转账到零钱
接口,配置中未设置微信平台公钥证书路径
时,报错参数异常: 微信公钥序列号为找到
经排查代码在
get_wechat_serial_no
方法中会做判断如果配置中未设置微信平台公钥证书路径
时,会自动生成微信平台公钥证书
,并更新配置参数但在接下来调用
get_wechat_public_key
,方法获取证书时,使用的是之前获取的 config 信息,而这里面还没有包含新生成的微信平台公钥证书
,导致证书找不到报错参数异常: 微信公钥序列号为找到
修复方式如下, 提现举例: