|
@@ -12,6 +12,7 @@ import com.ozs.common.utils.StringUtils;
|
|
|
import com.ozs.common.utils.file.FileUtils;
|
|
|
import com.ozs.common.utils.http.HttpUtils;
|
|
|
import com.ozs.common.utils.poi.ExcelUtil;
|
|
|
+import com.ozs.framework.config.ServerConfig;
|
|
|
import com.ozs.service.entity.BaseCameraManagement;
|
|
|
import com.ozs.service.entity.BaseDeviceDynamicManagement;
|
|
|
import com.ozs.service.entity.vo.BaseCameraManagementVo;
|
|
@@ -64,6 +65,8 @@ public class BaseCameraManagementController extends BaseController {
|
|
|
BaseDeviceDynamicManagementService baseDeviceDynamicManagementService;
|
|
|
@Autowired
|
|
|
private CaneraConfig caneraConfig;
|
|
|
+ @Autowired
|
|
|
+ private ServerConfig serverConfig;
|
|
|
|
|
|
/**
|
|
|
* 相机台账管理分页
|
|
@@ -230,7 +233,7 @@ public class BaseCameraManagementController extends BaseController {
|
|
|
if (ObjectUtils.isEmpty(one)) {
|
|
|
throw new BaseException("相机编号【" + vo.getCameraCode() + "】不存在");
|
|
|
}
|
|
|
- return success(CameraUtil.historyPlayList(one.getChannel(), vo.getStartTime(), vo.getEntTime()));
|
|
|
+ return success(serverConfig.getUrl() + CameraUtil.historyPlayList(one.getChannel(), vo.getStartTime(), vo.getEntTime()));
|
|
|
}
|
|
|
|
|
|
|