Skip to content

Conversation

@Crow0687
Copy link
Contributor

No description provided.

@binarywang binarywang requested a review from Copilot November 27, 2025 13:35
Copilot finished reviewing on behalf of binarywang November 27, 2025 13:36
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 修复了微信支付分订单更新接口报错"商户暂无权限使用此服务"的问题。问题的根源是 modifyServiceOrder 方法中的逻辑错误:原代码错误地检查了 config.getServiceId() 是否为空,而不是检查 request.getServiceId() 是否为空,导致即使请求中已有 serviceId,也可能无法正确设置。

关键修改

  • 修正了 modifyServiceOrder 方法中的条件判断逻辑,从检查 config.getServiceId() 改为检查 request.getServiceId()

@binarywang binarywang added this to the 4.7.9 milestone Nov 27, 2025
@binarywang binarywang merged commit b1e7cd2 into binarywang:develop Nov 27, 2025
6 checks passed
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.

PayScoreService.modifyServiceOrder 提示“商户暂无权限使用此服务”

2 participants