Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 4, 2025

  • 分析问题:特约商户进件接口缺少小微商户数据支持
  • 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.

Copilot AI and others added 2 commits December 4, 2025 11:42
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
Copilot AI requested a review from 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
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 为特约商户进件接口添加了小微商户(个体经营者)的数据字段支持。根据微信支付官方文档,当主体类型为小微商户时需要提供 micro_biz_info 辅助证明材料。此修改填补了之前缺失的功能,使得 SDK 能够完整支持小微商户的进件流程。

  • SubjectInfo 类中新增 microBizInfo 字段
  • 新增 MicroBizInfo 内部类,包含小微商户的经营类型、名称、地址、照片等完整字段定义
  • 复用已有的 MicroBizTypeEnum 枚举定义经营类型

Copilot AI and others added 2 commits December 5, 2025 08:24
Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
@binarywang binarywang merged commit c0db880 into develop Dec 5, 2025
1 check was pending
@binarywang binarywang deleted the copilot/fix-micro-biz-data-compatibility branch December 5, 2025 08:28
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.

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

2 participants