同步主线
This commit is contained in:
@@ -137,6 +137,11 @@ public class PlatformController {
|
||||
wvpResult.setMsg("missing parameters");
|
||||
return new ResponseEntity<>(wvpResult, HttpStatus.BAD_REQUEST);
|
||||
}
|
||||
if (parentPlatform.getServerPort()< 0 || parentPlatform.getServerPort() > 65535){
|
||||
wvpResult.setCode(-1);
|
||||
wvpResult.setMsg("error severPort");
|
||||
return new ResponseEntity<>(wvpResult, HttpStatus.BAD_REQUEST);
|
||||
}
|
||||
|
||||
ParentPlatform parentPlatformOld = storager.queryParentPlatByServerGBId(parentPlatform.getServerGBId());
|
||||
if (parentPlatformOld != null) {
|
||||
|
||||
@@ -64,7 +64,7 @@ public class GBRecordController {
|
||||
RequestMessage msg = new RequestMessage();
|
||||
msg.setId(uuid);
|
||||
msg.setKey(key);
|
||||
cmder.recordInfoQuery(device, channelId, startTime, endTime, sn, (eventResult -> {
|
||||
cmder.recordInfoQuery(device, channelId, startTime, endTime, sn, null, null, null, (eventResult -> {
|
||||
msg.setData("查询录像失败, status: " + eventResult.statusCode + ", message: " + eventResult.msg );
|
||||
resultHolder.invokeResult(msg);
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user