补充 Fund 模块银行卡与二维码接口 URL 前缀回归校验#4019
Closed
Copilot wants to merge 2 commits into
Closed
Conversation
Copilot
AI
changed the title
[WIP] Fix URL path concatenation errors in Fund module
补充 Fund 模块银行卡与二维码接口 URL 前缀回归校验
May 27, 2026
Owner
|
早已修复,没必要的代码 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题聚焦于
WxChannelApiUrlConstants.Fund中 7 个银行卡/省市/支行/二维码接口地址前缀应为/shop/funds/,若误用/channels/ec/shop/funds/会导致请求 404。本次改动未扩展接口能力,重点是为这 7 个常量补上明确的回归约束,防止后续修改引入错误前缀。
变更范围
weixin-java-channel/src/test/java/me/chanjar/weixin/channel/constant/WxChannelApiUrlConstantsTest.javaGET_BANK_BY_NUM_URL、GET_BANK_LIST_URL、GET_CITY_URL、GET_PROVINCE_URL、GET_SUB_BANK_URL、GET_QRCODE_URL、CHECK_QRCODE_URL回归约束策略
https://api.weixin.qq.com/shop/funds/...示例代码片段