no message
parent
c67118cd5e
commit
8a85e94431
|
|
@ -354,7 +354,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 RuntimeException("AGV返回信息:下发任务接口调用失败!");
|
throw new RuntimeException("AGV返回信息:下发任务接口调用失败!");
|
||||||
}
|
}
|
||||||
|
|
@ -364,10 +364,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 resultJson = null;
|
|
||||||
String code = "0";
|
|
||||||
String message = "";
|
|
||||||
if (!"0".equals(code)) {
|
if (!"0".equals(code)) {
|
||||||
throw new RuntimeException("AGV返回信息:" + message);
|
throw new RuntimeException("AGV返回信息:" + message);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ spring:
|
||||||
freemarker:
|
freemarker:
|
||||||
check-template-location: false
|
check-template-location: false
|
||||||
profiles:
|
profiles:
|
||||||
#active: prod
|
active: prod
|
||||||
active: dev
|
#active: dev
|
||||||
jackson:
|
jackson:
|
||||||
time-zone: GMT+8
|
time-zone: GMT+8
|
||||||
data:
|
data:
|
||||||
|
|
@ -36,11 +36,11 @@ spring:
|
||||||
redis:
|
redis:
|
||||||
#数据库索引
|
#数据库索引
|
||||||
database: ${REDIS_DB:2}
|
database: ${REDIS_DB:2}
|
||||||
#host: ${REDIS_HOST:192.168.100.102}
|
host: ${REDIS_HOST:192.168.100.102}
|
||||||
#password: ${REDIS_PWD:123456}
|
password: ${REDIS_PWD:123456}
|
||||||
|
|
||||||
host: ${REDIS_HOST:localhost}
|
#host: ${REDIS_HOST:localhost}
|
||||||
password: ${REDIS_PWD:}
|
#password: ${REDIS_PWD:}
|
||||||
port: ${REDIS_PORT:6379}
|
port: ${REDIS_PORT:6379}
|
||||||
#连接超时时间
|
#连接超时时间
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue