GeezerVison is showing github.com — 添加特约商户进件小微商户数据支持(micro_biz_info) by Copilot · Pull Request #3791 · binarywang/WxJava
Conversation
Copilot
AI
commented
Dec 4, 2025
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
- 分析问题:特约商户进件接口缺少小微商户数据支持
- 在
WxPayApplyment4SubCreateRequest.SubjectInfo 类中添加 MicroBizInfo 内部类
- 添加
micro_biz_info 字段支持小微商户信息
- 实现门店场所、流动经营、线上交易等小微经营类型
- 运行 checkstyle 验证代码风格
- 编译验证修改正确性
- 代码审查和安全检查
- 所有构建和测试通过
- 修正 MicroBizInfo 的 serialVersionUID 为随机生成的值
- 将所有类的 serialVersionUID 从 1L 改为随机生成的值
Original prompt
This section details on the original issue you should resolve
<issue_title>特约商户进件,没有兼容小微商户的数据</issue_title>
<issue_description>### 简要描述
特约商户进件,没有兼容小微商户的数据,比如micro_biz_info
官方文档地址
https://pay.weixin.qq.com/doc/v3/partner/4012722249</issue_description>
Comments on the Issue (you are @copilot in this section)
Custom agent used: 全部用中文
需要用中文,包括PR标题和分析总结过程
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Copilot
AI
changed the title
[WIP] Fix compatibility of micro business data for merchants
添加特约商户进件小微商户数据支持(micro_biz_info)
Dec 4, 2025
There was a problem hiding this 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 为特约商户进件接口添加了小微商户(个体经营者)的数据字段支持。根据微信支付官方文档,当主体类型为小微商户时需要提供 micro_biz_info 辅助证明材料。此修改填补了之前缺失的功能,使得 SDK 能够完整支持小微商户的进件流程。
- 在
SubjectInfo 类中新增 microBizInfo 字段
- 新增
MicroBizInfo 内部类,包含小微商户的经营类型、名称、地址、照片等完整字段定义
- 复用已有的
MicroBizTypeEnum 枚举定义经营类型
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
binarywang
Awaiting requested review from binarywang
Uh oh!
There was an error while loading. Please reload this page.
Development
Successfully merging this pull request may close these issues.
特约商户进件,没有兼容小微商户的数据
Uh oh!
There was an error while loading. Please reload this page.
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.