update:优化设备工具调用界面与执行结果展示体验

This commit is contained in:
3030332422
2025-09-18 10:56:41 +08:00
parent 4f64316144
commit f17011939c
2 changed files with 734 additions and 166 deletions
@@ -136,7 +136,7 @@ public class DeviceController {
headers.set("Authorization", "Bearer " + token); headers.set("Authorization", "Bearer " + token);
// 构建请求体JSON // 构建请求体JSON
String jsonBody = "{\"deviceIds\":" + objectMapper.writeValueAsString(deviceIds) + "}"; String jsonBody = "{\"clientIds\":" + objectMapper.writeValueAsString(deviceIds) + "}";
HttpEntity<String> requestEntity = new HttpEntity<>(jsonBody, headers); HttpEntity<String> requestEntity = new HttpEntity<>(jsonBody, headers);
// 发送POST请求 // 发送POST请求
File diff suppressed because it is too large Load Diff