补齐 WxChannelAfterSaleService 缺失的 9 个官方售后端点(含保障单与工单同步)#4034
Draft
Copilot wants to merge 2 commits into
Draft
Conversation
Copilot
AI
changed the title
[WIP] Add missing after sale endpoints for WxChannelAfterSaleService
补齐 WxChannelAfterSaleService 缺失的 9 个官方售后端点(含保障单与工单同步)
Jun 1, 2026
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.
weixin-java-channel的售后服务接口缺失微信小店官方文档中已提供的 9 个端点,导致代客售后、极速换货处理、保障单处理和工单同步场景无法通过 SDK 调用。本变更按官方文档补齐端点常量、服务接口、实现与请求/响应模型,统一接入现有解码路径。
接口面补齐(Service + Impl)
genAfterSaleOrder、refundPriceDiff、applyVirtualTelNum、handleFastExchangeReceipt、getGuaranteeOrder、merchantAcceptGuarantee、merchantModifyGuarantee、merchantProofGuarantee、syncWorkOrderWxChannelAfterSaleServiceImpl完成对应调用实现,复用ResponseUtils.decode(...)返回类型化结果API 常量补齐(AfterSale URL)
WxChannelApiUrlConstants.AfterSale增加 9 个缺失端点常量,覆盖代客售后、退差价、虚拟号、极速换货、保障单与工单同步数据模型补齐(严格对齐官方字段)
AfterSaleGenAfterSaleOrderParamAfterSaleRefundPriceDiffParamAfterSaleHandleFastExchangeReceiptParamGuaranteeOrderIdParamGuaranteeMerchantModifyParamGuaranteeMerchantProofParamSyncWorkOrderParam(含工单嵌套结构)AfterSaleCreateResponseAfterSaleVirtualTelNumResponseGuaranteeOrderResponse示例(新增端点调用方式)