Skip to content

Conversation

@binarywang
Copy link
Owner

@binarywang binarywang commented Jan 14, 2026

从gitee转过来的:https://gitee.com/binary/weixin-java-tools/pulls/175

feat(channel): 1.获取类目信息接口返回信息新增资质信息
feat(channel): 添加店铺类目权限列表的接口
Merge remote-tracking branch 'origin/develop' into develop
feat(channel): 添加商品SPU信息字段
feat(channel): 新增售后单商家协商

Copilot AI review requested due to automatic review settings January 14, 2026 03:53
@augmentcode
Copy link

augmentcode bot commented Jan 14, 2026

🤖 Augment PR Summary

Summary: This PR expands the 视频号小店(Channel shop)SDK models and APIs, mainly around category permissions and richer product/category fields.

Changes:

  • Added listRelationCategory API to query the shop’s category permission list, including request/response DTOs.
  • Introduced a new endpoint constant LIST_RELATION_CATEGORY_URL for the category-relation list API.
  • Enhanced category detail response (CategoryDetailResult) with product_qua_list (qualification info).
  • Extended SKU models with sku_code, status (in SkuFastInfo), and bar_code (in SkuInfo).
  • Extended SPU models with additional fields such as spu_code, delivery/express/limit/extra-service info, and “timing on sale” metadata.
  • Added TimingOnSaleInfo DTO and exposed it on both SpuFastInfo and SpuInfo.
  • Added a basic test case for listRelationCategory in WxChannelCategoryServiceImplTest.

Technical Notes: New APIs use JsonUtils.encode + ResponseUtils.decode for request/response marshalling, consistent with existing service patterns.

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 1 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

此 PR 为微信视频号小店 SDK 添加了新的接口和字段,主要包括类目权限管理和商品 SPU 信息扩展。

Changes:

  • 新增获取店铺类目权限列表的接口 listRelationCategory
  • CategoryDetailResult 中添加资质信息字段 productQuaList
  • 为商品 SPU 和 SKU 添加待开售信息、编码、条形码等新字段

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
WxChannelApiUrlConstants.java 新增店铺类目权限列表接口的 URL 常量
TimingOnSaleInfo.java 新增商品待开售信息的数据模型类
SpuInfo.java 为商品信息添加待开售信息字段
SpuFastInfo.java 为商品快速更新参数添加待开售信息、限购、运费等字段
SkuInfo.java 为 SKU 信息添加条形码字段
SkuFastInfo.java 为 SKU 快速更新参数添加编码和状态字段
RelationCategoryResponse.java 新增店铺类目权限列表响应类
RelationCategoryItem.java 新增店铺类目权限列表项数据模型
CategoryDetailResult.java 为类目详情添加商品资质列表字段
WxChannelCategoryServiceImpl.java 实现获取店铺类目权限列表的方法
WxChannelCategoryService.java 在接口中声明获取店铺类目权限列表的方法

…an/category/RelationCategoryResponse.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@binarywang
Copy link
Owner Author

@copilot open a new pull request to apply changes based on the comments in this thread

Copy link
Contributor

Copilot AI commented Jan 14, 2026

@binarywang I've opened a new pull request, #3851, to work on those changes. Once the pull request is ready, I'll request review from you.

* Initial plan

* 改进 listRelationCategory 方法实现和文档

Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>

* 修复 RelationCategoryRequest 的 serialVersionUID

Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
@binarywang
Copy link
Owner Author

auggie review

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

@binarywang binarywang merged commit 99621ae into develop Jan 14, 2026
1 check passed
@binarywang binarywang deleted the cchengg-develop branch January 14, 2026 05:57
@binarywang binarywang added this to the 4.8.1 milestone Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants