|
@@ -1004,7 +1004,7 @@ public class BaseCameraManagementController extends BaseController {
|
|
throw new BaseException("相机编号【" + vo.getCameraCode() + "】不存在");
|
|
throw new BaseException("相机编号【" + vo.getCameraCode() + "】不存在");
|
|
}
|
|
}
|
|
String recordUrl = CameraUtil.getRecordUrl(one.getCameraCode(), one.getChannel(), vo.getStartTime(), vo.getEntTime());
|
|
String recordUrl = CameraUtil.getRecordUrl(one.getCameraCode(), one.getChannel(), vo.getStartTime(), vo.getEntTime());
|
|
- if (recordUrl.contains("当前相机暂无回放视频")||recordUrl.contains("目前回放视频数已超过带宽限制,请您稍后重试")) {
|
|
|
|
|
|
+ if (recordUrl.contains("当前相机暂无回放视频")||recordUrl.contains("当前回放视频数已超过带宽限制,请您10分钟以后重试")) {
|
|
return AjaxResult.error(recordUrl);
|
|
return AjaxResult.error(recordUrl);
|
|
} else {
|
|
} else {
|
|
return AjaxResult.success("ok", recordUrl);
|
|
return AjaxResult.success("ok", recordUrl);
|