-
-
Notifications
You must be signed in to change notification settings - Fork 9k
添加特约商户进件小微商户数据支持(micro_biz_info) #3791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
+96
−7
Conversation
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
Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
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枚举定义经营类型
...rc/main/java/com/github/binarywang/wxpay/bean/applyment/WxPayApplyment4SubCreateRequest.java
Outdated
Show resolved
Hide resolved
Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
Copilot stopped work on behalf of
binarywang due to an error
December 5, 2025 08:28
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.
WxPayApplyment4SubCreateRequest.SubjectInfo类中添加MicroBizInfo内部类micro_biz_info字段支持小微商户信息Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.