feat(channel): 新增微信小店质检管理(QIC)5个官方接口支持#4039
Open
Copilot wants to merge 2 commits into
Open
Conversation
Copilot
AI
changed the title
[WIP] Add quality inspection management module support
feat(channel): 新增微信小店质检管理(QIC)5个官方接口支持
May 31, 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缺少质检管理能力,无法覆盖珠宝/奢侈品等需送检场景。该 PR 按微信官方 QIC 文档补齐 5 个接口,并将能力接入WxChannelService主服务入口。接口层:新增质检服务抽象与入口接入
WxChannelQicService,提供以下能力:getInspectConfig()getSubmitConfig(String orderId)/getSubmitConfig()printInspectCode(String orderId)submitInspectInfo(SubmitInspectRequest)registerLogistics(RegisterLogisticsRequest)WxChannelService增加getQicService(),并在BaseWxChannelServiceImpl中完成懒加载注入。实现层:新增 QIC 服务实现与官方路径常量
WxChannelQicServiceImpl,按官方路径调用:/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_logisticsWxChannelApiUrlConstants中新增Qic常量分组,集中维护路径。数据模型:补齐请求/响应对象并对齐官方字段
InspectConfigResponseSubmitConfigResponseInspectCodeResponseSubmitInspectRequestRegisterLogisticsRequest测试:新增质检服务单元测试
WxChannelQicServiceImplTest,覆盖 5 个接口的调用入口与核心请求对象构造。示例(新增服务调用方式):