【企业微信】新增管理表格内容相关接口。包括:编辑表格内容、获取表格行列信息、获取表格数据#3837
Merged
binarywang merged 2 commits intobinarywang:developfrom Jan 9, 2026
Merged
【企业微信】新增管理表格内容相关接口。包括:编辑表格内容、获取表格行列信息、获取表格数据#3837binarywang merged 2 commits intobinarywang:developfrom
binarywang merged 2 commits intobinarywang:developfrom
Conversation
Owner
|
auggie review |
🤖 Augment PR SummarySummary: This PR adds 企业微信(WeCom)WeDoc 在线表格“管理表格内容”相关能力到 WxJava 企业微信模块。 Changes:
Technical Notes: These endpoints follow the WeDoc Spreadsheet POST contracts and rely on strongly-typed POJOs for request/response payloads. 🤖 Was this summary useful? React with 👍 or 👎 |
There was a problem hiding this comment.
Pull request overview
本 PR 为企业微信的微文档(WeDoc)服务新增了三个管理表格内容的 API 接口,包括批量更新表格内容、获取表格行列信息以及获取指定范围的表格数据。这些接口支持对企业微信在线表格的完整操作,包括新增工作表、删除工作表、更新单元格内容、删除行列等功能。
主要变更:
- 新增了 3 个 API 端点常量定义
- 新增了 5 个数据模型类,包含完整的请求和响应结构
- 在
WxCpOaWeDocService接口中新增了 3 个方法定义 - 在
WxCpOaWeDocServiceImpl实现类中完成了对应的方法实现
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 13 comments.
Show a summary per file
| File | Description |
|---|---|
| WxCpApiPathConsts.java | 新增了 3 个表格相关的 API 端点常量,用于批量更新、获取属性和获取数据 |
| WxCpDocSheetProperties.java | 定义了获取表格行列信息的响应数据结构,包含工作表 ID、名称、行数和列数 |
| WxCpDocSheetGetDataRequest.java | 定义了获取表格数据的请求参数,包括文档 ID、工作表 ID 和查询范围 |
| WxCpDocSheetData.java | 定义了表格数据的响应结构,包含单元格内容、样式、文本格式等详细信息 |
| WxCpDocSheetBatchUpdateRequest.java | 定义了批量更新表格的请求结构,支持新增工作表、删除工作表、更新单元格和删除行列等操作 |
| WxCpDocSheetBatchUpdateResponse.java | 定义了批量更新操作的响应结构,返回各个操作的执行结果 |
| WxCpOaWeDocService.java | 在服务接口中新增了 3 个方法定义,包含详细的 JavaDoc 文档说明 |
| WxCpOaWeDocServiceImpl.java | 实现了 3 个新增的接口方法,使用标准的 POST 请求调用微信企业 API |
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/WxCpOaWeDocService.java
Outdated
Show resolved
Hide resolved
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/WxCpOaWeDocService.java
Show resolved
Hide resolved
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/WxCpOaWeDocService.java
Show resolved
Hide resolved
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/doc/WxCpDocSheetGetDataRequest.java
Outdated
Show resolved
Hide resolved
...-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/doc/WxCpDocSheetBatchUpdateResponse.java
Outdated
Show resolved
Hide resolved
...n-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/doc/WxCpDocSheetBatchUpdateRequest.java
Outdated
Show resolved
Hide resolved
...-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/doc/WxCpDocSheetBatchUpdateResponse.java
Show resolved
Hide resolved
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/doc/WxCpDocSheetData.java
Show resolved
Hide resolved
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/doc/WxCpDocSheetData.java
Show resolved
Hide resolved
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/doc/WxCpDocSheetProperties.java
Show resolved
Hide resolved
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/doc/WxCpDocSheetData.java
Show resolved
Hide resolved
根据copilot建议修改注释和相应名称 Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Owner
|
无需处理的建议,麻烦点击下 resolve conversation |
hellozhongying
commented
Jan 9, 2026
Contributor
Author
hellozhongying
left a comment
There was a problem hiding this comment.
根据copilot审查建议完善javadoc相关内容
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
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.
【企业微信】新增管理表格内容相关接口。包括:编辑表格内容、获取表格行列信息、获取表格数据等接口