Merged
Conversation
…mFeeFen、cpsFeeFen Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add fee-related fields to order query response
微信小程序虚拟支付订单查询响应新增结算及手续费字段
Mar 9, 2026
🤖 Augment PR SummarySummary: 本 PR 为微信小程序虚拟支付“订单查询”响应补齐微信文档新增的结算状态与手续费相关字段。 🤖 Was this summary useful? React with 👍 or 👎 |
...ava-miniapp/src/main/java/cn/binarywang/wx/miniapp/bean/xpay/WxMaXPayQueryOrderResponse.java
Outdated
Show resolved
Hide resolved
...ava-miniapp/src/main/java/cn/binarywang/wx/miniapp/bean/xpay/WxMaXPayQueryOrderResponse.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Pull request overview
本 PR 针对微信小程序虚拟支付「订单查询」接口的响应模型补齐微信文档新增的结算状态与手续费相关字段,确保 WxMaXPayQueryOrderResponse.OrderInfo 能完整承载最新返回数据。
Changes:
- 在
OrderInfo中新增渠道单号/微信支付交易单号字段(channelOrderId、wxpayOrderId) - 新增结算时间与结算状态字段(
settTime、settState) - 新增平台技术服务费与 CPS 服务费字段(
platformFeeFen、cpsFeeFen)
...ava-miniapp/src/main/java/cn/binarywang/wx/miniapp/bean/xpay/WxMaXPayQueryOrderResponse.java
Outdated
Show resolved
Hide resolved
...ava-miniapp/src/main/java/cn/binarywang/wx/miniapp/bean/xpay/WxMaXPayQueryOrderResponse.java
Outdated
Show resolved
Hide resolved
…n/xpay/WxMaXPayQueryOrderResponse.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…n/xpay/WxMaXPayQueryOrderResponse.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Owner
|
@copilot 请使用javadoc的方式添加注释,不要使用双斜杠的方式注释字段 |
Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
Contributor
Author
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.
WxMaXPayQueryOrderResponse.OrderInfo缺少微信文档中定义的结算状态与手续费相关字段。新增字段(
OrderInfo)channelOrderIdchannel_order_idStringwxpayOrderIdwxpay_order_idStringsettTimesett_timeLongsettStatesett_stateIntegerplatformFeeFenplatform_fee_fenLongsettState=2时返回cpsFeeFencps_fee_fenLongsettState=2时返回所有新增字段均采用 Javadoc
/** */格式注释。参考:微信虚拟支付文档 - query-order
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.