◐ Shell
clean mode source ↗

【微信支付】修复初始化api v3请求时证书序列号值生成条件错误的问题 by limingAlex1314 · Pull Request #3825 · binarywang/WxJava

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@limingAlex1314

Copy link Copy Markdown

Contributor

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

Copilot AI left a comment

Copy link Copy Markdown

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

Reviewers

Copilot code review Copilot Copilot left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

4.8.0

Development

Successfully merging this pull request may close these issues.

3 participants

@limingAlex1314 @binarywang