-
-
Notifications
You must be signed in to change notification settings - Fork 9k
文档:添加微信开放平台小程序审核额度管理指南 #3817
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
文档:添加微信开放平台小程序审核额度管理指南 #3817
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 <[email protected]>
Co-authored-by: binarywang <[email protected]>
Co-authored-by: binarywang <[email protected]>
Co-authored-by: binarywang <[email protected]>
Copilot
AI
changed the title
[WIP] Fix submission limit for open platform appId
文档:添加微信开放平台小程序审核额度管理指南
Dec 21, 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 为微信开放平台模块添加了小程序审核额度管理的完整文档和指南,帮助开发者理解和管理第三方平台的审核额度限制(默认每月 20 次)。这是一个纯文档改进型 PR,旨在解决用户对审核额度不足的疑虑和管理需求。
主要变更:
- 为核心 API 方法(
submitAudit()和queryQuota())添加了详细的 JavaDoc 文档说明 - 在测试类中新增三个场景的完整使用示例(单次提交、批量提交、额度监控)
- 创建了独立的最佳实践指南文档,包含完整代码示例和 FAQ
- 在模块 README 中添加了醒目的额度限制提示
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
weixin-java-open/src/test/java/me/chanjar/weixin/open/api/impl/WxOpenMaServiceImplTest.java |
在测试类中添加了三个场景的演示代码:基础额度查询、单次提交前额度检查、批量提交额度管理策略 |
weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/result/WxOpenMaQueryQuotaResult.java |
完善类级别和字段级别的 JavaDoc 注释,详细说明返回字段含义和额度限制规则 |
weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/message/WxOpenMaSubmitAuditMessage.java |
添加审核额度限制说明和使用示例代码 |
weixin-java-open/src/main/java/me/chanjar/weixin/open/api/WxOpenMaService.java |
为 submitAudit() 和 queryQuota() 方法添加详细的文档说明、最佳实践代码示例和方法间交叉引用 |
weixin-java-open/README.md |
在模块 README 顶部添加"重要提示"章节,说明审核额度限制并引导用户查看详细指南 |
weixin-java-open/AUDIT_QUOTA_MANAGEMENT_GUIDE.md |
新增独立的最佳实践指南文档,包含问题背景、API 使用说明、三种完整场景代码示例和 8 个常见问题解答 |
weixin-java-open/src/test/java/me/chanjar/weixin/open/api/impl/WxOpenMaServiceImplTest.java
Outdated
Show resolved
Hide resolved
...-java-open/src/main/java/me/chanjar/weixin/open/bean/message/WxOpenMaSubmitAuditMessage.java
Outdated
Show resolved
Hide resolved
…/WxOpenMaServiceImplTest.java Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
…sage/WxOpenMaSubmitAuditMessage.java Co-authored-by: Copilot <[email protected]>
Co-authored-by: binarywang <[email protected]>
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.
开放平台审核额度管理优化
已完成的工作
1. 文档术语统一 ✅
2. 代码质量改进 ✅
3. API 文档增强 ✅
submitAudit(): 添加了额度限制说明和最佳实践示例queryQuota(): 补充了返回字段详细说明WxOpenMaQueryQuotaResult: 为每个字段添加了中文注释WxOpenMaSubmitAuditMessage: 添加了额度消耗提示4. 使用示例 ✅
在测试类中提供了三个场景的完整示例:
5. 最佳实践文档 ✅
AUDIT_QUOTA_MANAGEMENT_GUIDE.md包含:验证结果
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.