| | |
| | | |
| | | /** |
| | | * 三一车辆Controller |
| | | * |
| | | * |
| | | * @author ard |
| | | * @date 2023-06-26 |
| | | */ |
| | |
| | | @GetMapping("getThreeOne") |
| | | @ApiOperation("获取三一视频地址") |
| | | public AjaxResult getThreeOne() { |
| | | return AjaxResult.success("获取地址成功!",sysConfigService.selectConfigByKey("threeOneVideo")); |
| | | return AjaxResult.success("获取地址成功!",sysConfigService.getSYVideo()); |
| | | } |
| | | |
| | | @PreAuthorize("@ss.hasPermi('sy:syCar:getAlarmHPfmCountDetail')") |
| | |
| | | return AjaxResult.success(mapDetail); |
| | | } |
| | | |
| | | @GetMapping("/getOnlineSYCarPosition") |
| | | @ApiOperation("单兵端查看已通过审批的在线三一车辆位置") |
| | | public AjaxResult getOnlineSYCarPosition() { |
| | | String soilderId = SecurityUtils.getUserId(); |
| | | try{ |
| | | Map<String,Object> result = ardSyCarService.getOnlineSYCarPosition(soilderId); |
| | | return AjaxResult.success(result); |
| | | }catch(Exception e){ |
| | | e.printStackTrace(); |
| | | return AjaxResult.error(); |
| | | } |
| | | } |
| | | |
| | | } |