GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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.

Copy link
Copy Markdown
Contributor
  • 分析问题:特约商户进件接口缺少小微商户数据支持
  • 在 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标题和分析总结过程

  • Fixes 特约商户进件,没有兼容小微商户的数据 #3790

✨ 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.

All reactions
Initial plan
a785522
Copilot AI assigned Copilot and binarywang Dec 4, 2025
Copilot started work on behalf of binarywang December 4, 2025 11:35
View session
Copilot AI and others added 2 commits December 4, 2025 11:42
@binarywang
添加特约商户进件小微商户数据支持(micro_biz_info)
526a49a
Co-authored-by: binarywang <[email protected]>
@binarywang
完成特约商户进件小微商户数据支持功能
0a2287d
Co-authored-by: binarywang <[email protected]>
Copilot AI changed the title [WIP] Fix compatibility of micro business data for merchants 添加特约商户进件小微商户数据支持(micro_biz_info) Dec 4, 2025
Copilot AI requested a review from binarywang December 4, 2025 11:47
Copilot finished work on behalf of binarywang December 4, 2025 11:47
@binarywang binarywang added this to the 4.8.0 milestone Dec 4, 2025
@binarywang
binarywang marked this pull request as ready for review December 5, 2025 05:08
Copilot AI review requested due to automatic review settings December 5, 2025 05:08
Copilot started reviewing on behalf of binarywang December 5, 2025 05:09
View session
Copilot finished reviewing on behalf of binarywang December 5, 2025 05:10
Copilot AI reviewed Dec 5, 2025
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown

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.

All reactions
Comment thread ...rc/main/java/com/github/binarywang/wxpay/bean/applyment/WxPayApplyment4SubCreateRequest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Copilot started work on behalf of binarywang December 5, 2025 08:22
View session
Copilot AI and others added 2 commits December 5, 2025 08:24
@binarywang
修正 MicroBizInfo 的 serialVersionUID 为随机生成的值
f1249ba
Co-authored-by: binarywang <[email protected]>
@binarywang
将所有使用 1L 的 serialVersionUID 改为随机生成的值
68f1712
Co-authored-by: binarywang <[email protected]>
@binarywang
binarywang merged commit c0db880 into develop Dec 5, 2025
1 check was pending

Uh oh!

There was an error while loading. Please reload this page.

@binarywang
binarywang deleted the copilot/fix-micro-biz-data-compatibility branch December 5, 2025 08:28
Copilot stopped work on behalf of binarywang due to an error December 5, 2025 08:28
Copilot has encountered an error. See logs for additional details.
Copilot AI added a commit that referenced this pull request Dec 21, 2025
🎨 #3791 【微信支付】特约商户进件接口添加了小微商户(个体经营者)的数据字段支持
d5f495b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@binarywang binarywang Awaiting requested review from binarywang

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@binarywang binarywang

Copilot code review Copilot

Labels

None yet

Projects

None yet

Milestone

4.8.0

Development

Successfully merging this pull request may close these issues.

特约商户进件,没有兼容小微商户的数据

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@binarywang
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.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.