|
@@ -62,10 +62,13 @@ export function getImgUrl(data) {
|
|
}
|
|
}
|
|
|
|
|
|
//获取附近事件
|
|
//获取附近事件
|
|
-export function getNearEvent(longitude,latitude) {
|
|
|
|
|
|
+export function getNearEvent(longitude,latitude,day,loading) {
|
|
return request({
|
|
return request({
|
|
- url: '/center-agriculture/VisuForestCloudMapController/getNearEvent?longitude='+longitude+"&latitude="+latitude,
|
|
|
|
|
|
+ url: '/center-agriculture/VisuForestCloudMapController/getNearEvent?longitude='+longitude+"&latitude="+latitude+"&day="+day,
|
|
method: 'get',
|
|
method: 'get',
|
|
|
|
+ headers: {
|
|
|
|
+ loading: loading
|
|
|
|
+ },
|
|
})
|
|
})
|
|
}
|
|
}
|
|
//获取附近摄像头
|
|
//获取附近摄像头
|