Skip to content

Conversation

@limingAlex1314
Copy link
Contributor

修复逻辑判断条件错误的问题

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

此 PR 修复了微信支付 API v3 初始化过程中的一个严重逻辑错误。原代码在判断是否需要从证书文件加载证书序列号时,由于括号位置错误导致条件判断不正确。修复后确保当任一证书来源(路径、字符串或内容)存在时都能正确触发证书加载逻辑。

主要修改:

  • 修正了条件表达式中的括号位置,将三个 OR 条件正确地组合在一起

@binarywang binarywang merged commit db15aec into binarywang:develop Dec 27, 2025
6 checks passed
@binarywang binarywang added this to the 4.8.0 milestone Dec 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants