rev:接口参数

This commit is contained in:
2024-01-05 20:08:00 +08:00
parent a1e373c3d7
commit 0078d12371
2 changed files with 3 additions and 3 deletions

View File

@@ -178,10 +178,10 @@ public class OneNDCSocketConnectionAutoRun extends AbstractAutoRunnable {
if (!ObjectUtil.isEmpty(inst)) {
instructionService.finish(inst.getInstruction_id());
} else {
log.warn("指令号:{},未反馈wms任务完成因为agv上报指令号查询指令为空!", inst.getInstruction_code());
log.warn("指令号:{},未反馈wms任务完成因为agv上报指令号查询指令为空!", ikey);
}
data = NDCAgvService.sendAgvOneModeInst(phase, index, 0);
log.info("指令号:{},已反馈agv任务完成!", inst.getInstruction_code());
log.info("指令号:{},已反馈agv任务完成!", ikey);
}
//进入交通灯区域
else if (phase == 0x50) {

View File

@@ -571,7 +571,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
result = HttpRequest.post(url)
.header("Content-Type", "application/json;charset=UTF-8")
.header("Authorization", String.valueOf(redisUtils.get("wms_token")))
.body(JSON.toJSONString(from))
.body(JSON.toJSONString(map))
.timeout(3000)
.execute();
log.info("反馈WMS AGV取放货状态成功请求路径{},请求结果:{}", url, result.body());