no message
parent
78f15dcd2a
commit
f9467dffb8
|
|
@ -357,7 +357,7 @@ public class AgvTaskServiceImpl implements AgvTaskService {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void sendAgvTask(AgvTask agvTask, String json) {
|
private void sendAgvTask(AgvTask agvTask, String json) {
|
||||||
/* String resultJson = HttpPostUtil.sendPostReq(UrlApi.submitMission(), json);
|
String resultJson = HttpPostUtil.sendPostReq(UrlApi.submitMission(), json);
|
||||||
if (StringUtils.isEmpty(resultJson)) {
|
if (StringUtils.isEmpty(resultJson)) {
|
||||||
throw new BadRequestException("AGV返回信息:下发任务接口调用失败!");
|
throw new BadRequestException("AGV返回信息:下发任务接口调用失败!");
|
||||||
}
|
}
|
||||||
|
|
@ -367,10 +367,7 @@ public class AgvTaskServiceImpl implements AgvTaskService {
|
||||||
}
|
}
|
||||||
|
|
||||||
String code = resulObject.getString("code");
|
String code = resulObject.getString("code");
|
||||||
String message = resulObject.getString("message");*/
|
String message = resulObject.getString("message");
|
||||||
String code = "0";
|
|
||||||
String message = "";
|
|
||||||
String resultJson = "";
|
|
||||||
if (!"0".equals(code)) {
|
if (!"0".equals(code)) {
|
||||||
throw new BadRequestException("AGV返回信息:" + message);
|
throw new BadRequestException("AGV返回信息:" + message);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue