JX.LI 1 năm trước cách đây
mục cha
commit
3c969d36b9
1 tập tin đã thay đổi với 1 bổ sung8 xóa
  1. 1 8
      src/api/monitor.js

+ 1 - 8
src/api/monitor.js

@@ -52,16 +52,9 @@ export function getCamerasByDeptId(deptId) {
 }
 //转到固定点位
 export function rotation(lng, lat, list) {
-  // lng = '124.41986560821533';
-  // lat = '43.08817137032747';
   return request({
-    url: '/center-monitor/DahuaController/rotation',
+    url: '/center-monitor/DahuaController/rotation?lng=' + lng + "&lat=" + lat + "&list=" + list,
     method: 'get',
-    params: {
-      lng: lng,
-      lat: lat,
-      list: list
-    }
   })
 }
 // 获取重点区域