GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 修复商家转账API路径错误:移除多余的operation段 by Copilot · Pull Request #3797 · binarywang/WxJava

Conversation

Copilot AI commented Dec 5, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

运营工具-商家转账API使用了错误的路径 /v3/fund-app/operation/mch-transfer/transfer-bills,与微信官方文档不符。正确路径应为 /v3/fund-app/mch-transfer/transfer-bills。

修改内容

BusinessOperationTransferService.java

  • 修正接口文档中的4处API路径注释
    • 发起转账:POST /v3/fund-app/mch-transfer/transfer-bills
    • 商户单号查询:GET /v3/fund-app/mch-transfer/transfer-bills/out-bill-no/{out_bill_no}
    • 微信单号查询:GET /v3/fund-app/mch-transfer/transfer-bills/transfer-bill-no/{transfer_bill_no}

BusinessOperationTransferServiceImpl.java

  • 修正3个方法中的实际API调用路径
    • createOperationTransfer()
    • queryOperationTransferByOutBillNo()
    • queryOperationTransferByTransferBillNo()

所有路径现已与 TransferService 中的新版API路径保持一致。

// 修改前
String url = String.format("%s/v3/fund-app/operation/mch-transfer/transfer-bills", ...);

// 修改后
String url = String.format("%s/v3/fund-app/mch-transfer/transfer-bills", ...);
Original prompt

This section details on the original issue you should resolve

<issue_title>/v3/fund-app/operation/mch-transfer/transfer-bills 与微信支付官方文档中记录的发起转账接口路径 不一致。根据知识手册,正确接口路径为 /v3/fund-app/mch-transfer/transfer-bills,用于普通商户发起转账请求。 </issue_title>
<issue_description>/v3/fund-app/operation/mch-transfer/transfer-bills 与微信支付官方文档中记录的发起转账接口路径 不一致。根据知识手册,正确接口路径为 /v3/fund-app/mch-transfer/transfer-bills,用于普通商户发起转账请求。 @binarywang 是不是api端点有误。

Originally posted by @jjianga in #3689 (comment)
</issue_description>

Comments on the Issue (you are @copilot in this section)

Custom agent used: 全部用中文
需要用中文,包括PR标题和分析总结过程

  • Fixes /v3/fund-app/operation/mch-transfer/transfer-bills 与微信支付官方文档中记录的发起转账接口路径 不一致。根据知识手册,正确接口路径为 /v3/fund-app/mch-transfer/transfer-bills,用于普通商户发起转账请求。  #3796

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Initial plan
aa94c5c
Copilot AI assigned Copilot and binarywang Dec 5, 2025
Copilot started work on behalf of binarywang December 5, 2025 04:42
View session
@binarywang
修复商家转账API路径错误
4bf69cb
Co-authored-by: binarywang <[email protected]>
Copilot AI changed the title [WIP] Fix transfer bills endpoint path for API 修复商家转账API路径错误:移除多余的operation段 Dec 5, 2025
Copilot AI requested a review from binarywang December 5, 2025 04:52
Copilot finished work on behalf of binarywang December 5, 2025 04:52
@binarywang binarywang mentioned this pull request Dec 5, 2025
Implement Business Operations Merchant Transfer API (Document 4012711988) #3689
Merged
@binarywang
binarywang marked this pull request as ready for review December 5, 2025 08:17
Copilot AI review requested due to automatic review settings December 5, 2025 08:17
Copilot started reviewing on behalf of binarywang December 5, 2025 08:18
View session
@binarywang
binarywang merged commit ddcdf65 into develop Dec 5, 2025
5 checks passed

Uh oh!

There was an error while loading. Please reload this page.

Copilot finished reviewing on behalf of binarywang December 5, 2025 08:19
Copilot AI reviewed Dec 5, 2025
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown

There was a problem hiding this 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 修复了运营工具商家转账 API 的路径错误问题。原代码使用了错误的路径 /v3/fund-app/operation/mch-transfer/transfer-bills(包含多余的 operation 段),与微信支付官方文档不符。修改后的路径 /v3/fund-app/mch-transfer/transfer-bills 与官方文档保持一致,并与 TransferService 中的新版 API 路径规范统一。

主要变更:

  • 修正了 BusinessOperationTransferService 接口中 4 处 JavaDoc 注释中的 API 路径文档
  • 修正了 BusinessOperationTransferServiceImpl 实现类中 3 个方法的实际 API 调用路径
  • 确保所有转账相关接口(发起转账、商户单号查询、微信单号查询)使用正确的 API 端点

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
BusinessOperationTransferService.java 更新接口文档注释中的 4 处 API 路径,移除多余的 operation 段
BusinessOperationTransferServiceImpl.java 修正 3 个方法中的实际 API 调用路径,确保与官方文档一致

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@binarywang binarywang added this to the 4.8.0 milestone Dec 10, 2025
Copilot AI added a commit that referenced this pull request Dec 21, 2025
🐛 #3797 【微信支付】修复商家转账API路径错误,移除多余的operation部分
c312fc8
@binarywang
binarywang deleted the copilot/fix-transfer-bills-endpoint branch March 10, 2026 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@binarywang binarywang Awaiting requested review from binarywang

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@binarywang binarywang

Copilot code review Copilot

Labels

None yet

Projects

None yet

Milestone

4.8.0

Development

Successfully merging this pull request may close these issues.

/v3/fund-app/operation/mch-transfer/transfer-bills 与微信支付官方文档中记录的发起转账接口路径 不一致。根据知识手册,正确接口路径为 /v3/fund-app/mch-transfer/transfer-bills,用于普通商户发起转账请求。

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@binarywang
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.