feat(open): 添加获取类目名称信息 API (getAllCategoryName)#3769
Merged
binarywang merged 3 commits intodevelopfrom Nov 27, 2025
Merged
Conversation
- 添加 WxOpenMaCategoryNameListResult 响应结果类 - 在 WxOpenMaBasicService 接口中添加 getAllCategoryName() 方法 - 在 WxOpenMaBasicServiceImpl 实现类中实现该方法 - 在废弃的 WxOpenFastMaServiceImpl 中保持接口一致性 API: https://api.weixin.qq.com/cgi-bin/wxopen/getallcategorynamelist 文档: https://developers.weixin.qq.com/doc/oplatform/openApi/miniprogram-management/category-management/api_getallcategoryname.html
Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add third-party mini program category management
feat(open): 添加获取类目名称信息 API (getAllCategoryName)
Nov 27, 2025
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.
Issue #3461 请求添加 7 个小程序类目管理 API。经核查,6 个已存在,仅缺少"获取类目名称信息"接口。
变更内容
WxOpenMaCategoryNameListResult- 包含类目 ID 和名称的列表结构WxOpenMaBasicService.getAllCategoryName()- 调用/cgi-bin/wxopen/getallcategorynameWxOpenMaBasicServiceImpl及废弃类WxOpenFastMaServiceImpl中的对应方法使用示例
已存在的 API(无需添加)
getAllCategoriesgetSettingCategoriesgetAllCategoriesByTypeaddCategorydeleteCategorymodifyCategoryOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.