Skip to content

[Feature] 新增保障单模块支持 #3987

@binarywang

Description

@binarywang

功能描述

保障单是售后管理的重要组成部分,用于处理消费者保障相关事宜。目前WxJava未实现该模块。

官方文档

https://developers.weixin.qq.com/doc/channels/API/channels-shop-aftersale/guarantee/

需要实现的接口列表(6个)

接口名称 请求路径
商家获取保障单列表 /channels/ec/aftersale/searchguaranteeorder
获取保障单详情 /channels/ec/aftersale/getguaranteeorder
商家同意保障单申请 /channels/ec/aftersale/merchantacceptguarantee
商家协商保障单 /channels/ec/aftersale/merchantmodifyguarantee
商家举证保障单 /channels/ec/aftersale/merchantproofguarantee
商家拒绝保障单申请 /channels/ec/aftersale/merchantrefuseguarantee

实现要点

建议在 WxChannelAfterSaleService 中新增以下方法:

// 保障单管理
GuaranteeOrderListResponse listGuaranteeOrder(GuaranteeOrderListParam param) throws WxErrorException;
GuaranteeOrderInfo getGuaranteeOrder(String guaranteeOrderId) throws WxErrorException;
void acceptGuarantee(String guaranteeOrderId) throws WxErrorException;
void modifyGuarantee(GuaranteeModifyRequest req) throws WxErrorException;
void proofGuarantee(GuaranteeProofRequest req) throws WxErrorException;
void refuseGuarantee(String guaranteeOrderId, String reason) throws WxErrorException;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions