|
@@ -34,6 +34,25 @@ public class AppCameraServiceImpl implements AppCameraService {
|
|
|
return AjaxResult.success(objectMap);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 附近摄像头列表
|
|
|
+ *
|
|
|
+ * @return
|
|
|
+ * @Version 1.0
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ public AjaxResult newNearCamera(AppCameraVO appCameraVO) {
|
|
|
+ String longitude = appCameraVO.getLongitude();
|
|
|
+ String latitude = appCameraVO.getLatitude();
|
|
|
+ String type = appCameraVO.getType();
|
|
|
+ List list = (ArrayList) remoteMonitorBaseService.findCameraByEventCoordinate(longitude, latitude,type).get("data");
|
|
|
+ Map<String, Object> objectMap = new HashMap<>();
|
|
|
+ objectMap.put("total", list.size());
|
|
|
+ objectMap.put("list", list);
|
|
|
+ return AjaxResult.success(objectMap);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 所有摄像头列表
|
|
|
*
|