JX.LI 2 years ago
parent
commit
ef3cfa01c0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/api/monitor.js

+ 2 - 2
src/api/monitor.js

@@ -34,7 +34,7 @@ export function findCameraByEventCoordinate(longitude,latitude) {
   // longitude = '124.41986560821533';
   // latitude = '43.08817137032747';
   return request({
-    url: '/center-fire/VisuForestMonitorCenterController/findCameraByEventCoordinate?longitude='+longitude+"&latitude="+latitude+"&type=1",
+    url: '/center-resources/VisuForestMonitorCenterController/findCameraByEventCoordinate?longitude='+longitude+"&latitude="+latitude+"&type=1",
     method: 'get',
   })
 }
@@ -44,7 +44,7 @@ export function rotation(lng,lat,list) {
   // lng = '124.41986560821533';
   // lat = '43.08817137032747';
   return request({
-    url: '/center-fire/VisuForestMonitorCenterController/rotation',
+    url: '/center-resources/VisuForestMonitorCenterController/rotation',
     method: 'post',
     data:{
       lng:lng,