云台控制接口修改

master
wany 2024-08-01 13:10:00 +08:00
parent e8e8ac1797
commit c2f25411bd
1 changed files with 1 additions and 4 deletions

View File

@ -127,10 +127,7 @@ public class AttCctvBaseController {
String ret = null;
try {
Response resp = client.newCall(new Request.Builder().url(api).build()).execute();
String respStr = resp.body().string();
ObjectMapper om = new ObjectMapper();
Map map = om.readValue(respStr, Map.class);
ret = map.get("data").toString();
ret = resp.body().string();
} catch (IOException e) {
throw new RuntimeException(e);
}