This commit is contained in:
pangshenghao
2023-08-14 12:48:06 +08:00
parent dba5eadabd
commit 43299dbcb6

View File

@@ -190,7 +190,7 @@ public class AgvNdcOneDeviceDriver extends AbstractDeviceDriver implements Devic
req.add(map);
HttpResponse httpResponse = acsToWmsService.feedAgvTaskStatus(req);
if (ObjectUtil.isNotEmpty(httpResponse) && httpResponse.getStatus() == 200) {
JSONObject resp = JSONObject.parseObject(httpResponse.body());
JSONObject resp = JSONObject.parseObject(httpResponse.body()).getJSONObject("data");
if (resp.getInteger("status") == 200) {
start_height=resp.getInteger("start_height");
next_height=resp.getInteger("next_height");