Skip to content

Fix issue #3664: 修复更新微信支付分订单接口报错提示“商户暂无权限使用此服务”#3766

Merged
binarywang merged 1 commit into
binarywang:developfrom
Crow0687:develop
Nov 27, 2025
Merged

Fix issue #3664: 修复更新微信支付分订单接口报错提示“商户暂无权限使用此服务”#3766
binarywang merged 1 commit into
binarywang:developfrom
Crow0687:develop

Conversation

@Crow0687
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

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 提示“商户暂无权限使用此服务”

3 participants