1
This commit is contained in:
@@ -413,9 +413,11 @@ public class TencentDocApiUtil {
|
|||||||
updateCells.put("rows", rows);
|
updateCells.put("rows", rows);
|
||||||
|
|
||||||
// 构建 requests
|
// 构建 requests
|
||||||
|
// 注意:根据官方文档,请求类型名称必须是 "updateCellsRequest"(以 Request 结尾)
|
||||||
|
// 参考:https://docs.qq.com/open/document/app/openapi/v3/sheet/batchupdate/update.html
|
||||||
JSONArray requests = new JSONArray();
|
JSONArray requests = new JSONArray();
|
||||||
JSONObject request = new JSONObject();
|
JSONObject request = new JSONObject();
|
||||||
request.put("updateCells", updateCells);
|
request.put("updateCellsRequest", updateCells); // ✅ 修改为 updateCellsRequest
|
||||||
requests.add(request);
|
requests.add(request);
|
||||||
|
|
||||||
// 构建完整请求体
|
// 构建完整请求体
|
||||||
|
|||||||
Reference in New Issue
Block a user