Skip to content

[Feature] 新增质检管理模块支持 #3990

@binarywang

Description

@binarywang

功能描述

质检管理用于需要质检的商品(如珠宝、奢侈品等),目前WxJava完全未实现。

官方文档

https://developers.weixin.qq.com/doc/channels/API/qic/

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

接口名称 请求路径
查询质检仓配置 /channels/ec/qic/inspect/config/get
查询送检配置模板信息 /channels/ec/qic/inspect/submitconfig/get
打印质检码 /channels/ec/qic/inspect/code/print
绑定送检信息 /channels/ec/qic/inspect/submit
自寄快递送检 /channels/ec/qic/inspect/register_logistics

实现要点

1. 新建服务接口

public interface WxChannelQicService {
  InspectConfigResponse getInspectConfig() throws WxErrorException;
  SubmitConfigResponse getSubmitConfig() throws WxErrorException;
  InspectCodeResponse printInspectCode(String orderId) throws WxErrorException;
  WxChannelBaseResponse submitInspectInfo(SubmitInspectRequest req) throws WxErrorException;
  WxChannelBaseResponse registerLogistics(RegisterLogisticsRequest req) 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