|
@@ -38,8 +38,7 @@ export function findCameraByEventCoordinate(longitude, latitude) {
|
|
|
// longitude = '124.41986560821533';
|
|
|
// latitude = '43.08817137032747';
|
|
|
return request({
|
|
|
- url: '/center-traffic/traffic/findCameraByEventCoordinate?longitude=' + longitude + "&latitude=" + latitude +
|
|
|
- "&type=1",
|
|
|
+ url: '/center-monitor/camera/findCameraByEventCoordinate/' + longitude + '/' + latitude + '/1',
|
|
|
method: 'get',
|
|
|
})
|
|
|
}
|
|
@@ -47,7 +46,7 @@ export function findCameraByEventCoordinate(longitude, latitude) {
|
|
|
//根据部门ID获取具有查看权限的摄像头
|
|
|
export function getCamerasByDeptId(deptId) {
|
|
|
return request({
|
|
|
- url: '/center-monitor/TVWallController/getCamerasByDeptId?deptId=' + deptId+'&deptProtype=2',
|
|
|
+ url: '/center-monitor/TVWallController/getCamerasByDeptId?deptId=' + deptId + '&deptProtype=2',
|
|
|
method: 'get',
|
|
|
})
|
|
|
}
|
|
@@ -56,9 +55,9 @@ export function rotation(lng, lat, list) {
|
|
|
// lng = '124.41986560821533';
|
|
|
// lat = '43.08817137032747';
|
|
|
return request({
|
|
|
- url: '/center-traffic/traffic/rotation',
|
|
|
- method: 'post',
|
|
|
- data: {
|
|
|
+ url: '/center-monitor/DahuaController/rotation',
|
|
|
+ method: 'get',
|
|
|
+ params: {
|
|
|
lng: lng,
|
|
|
lat: lat,
|
|
|
list: list
|
|
@@ -75,7 +74,7 @@ export function getRegionalFlag(id) {
|
|
|
//根据部门id查询部门及部门以下的数据,没有则默认查询所有
|
|
|
export function getSensorListByDeptId(deptId) {
|
|
|
return request({
|
|
|
- url: '/center-fire/VisuForestMonitorCenterController/getSensorListByDeptId?deptId=' + deptId,
|
|
|
+ url: '/center-monitor/device/getSensorListByDeptId?deptId=' + deptId,
|
|
|
method: 'get',
|
|
|
})
|
|
|
}
|