Skip to content

[Bug] Fund模块银行卡相关接口URL路径拼接错误 #3979

@binarywang

Description

@binarywang

问题描述

WxChannelApiUrlConstants.javaFund 接口中,以下7个常量的URL路径存在拼接错误,实际请求会返回404。

错误路径:使用了 /channels/ec/shop/funds/ 前缀
正确路径:应使用 /shop/funds/ 前缀

问题代码位置

文件:weixin-java-channel/src/main/java/me/chanjar/weixin/channel/constant/WxChannelApiUrlConstants.java

受影响的常量列表

常量名 当前错误路径 正确路径
GET_BANK_BY_NUM_URL /channels/ec/shop/funds/getbankbynum /shop/funds/getbankbynum
GET_BANK_LIST_URL /channels/ec/shop/funds/getbanklist /shop/funds/getbanklist
GET_CITY_URL /channels/ec/shop/funds/getcity /shop/funds/getcity
GET_PROVINCE_URL /channels/ec/shop/funds/getprovince /shop/funds/getprovince
GET_SUB_BANK_URL /channels/ec/shop/funds/getsubbranch /shop/funds/getsubbranch
GET_QRCODE_URL /channels/ec/shop/funds/qrcode/get /shop/funds/qrcode/get
CHECK_QRCODE_URL /channels/ec/shop/funds/qrcode/check /shop/funds/qrcode/check

官方文档参考

修复建议

修改 WxChannelApiUrlConstants.Fund 接口中的常量定义,移除多余的 /channels/ec 前缀

影响范围

  • 银行信息查询功能
  • 省市查询功能
  • 支行查询功能
  • 资金二维码相关功能

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions