| | |
| | | Map<String,List<SysUser>> result = ardAppPositionService.getOnlinePCOrCommander(usersId); |
| | | return AjaxResult.success(result); |
| | | } |
| | | |
| | | @PostMapping("/sendCheckCommandersPosition") |
| | | @ApiOperation("发起查看指挥端位置") |
| | | public AjaxResult sendCheckCommandersPosition(@RequestBody Map<String,Object> para) { |
| | | String usersId = SecurityUtils.getUserId(); |
| | | try{ |
| | | ardAppPositionService.sendCheckCommandersPosition(usersId,para); |
| | | return AjaxResult.success(); |
| | | }catch(Exception e){ |
| | | return AjaxResult.error(); |
| | | } |
| | | } |
| | | |
| | | @PostMapping("/sendCheckSYCarsPosition") |
| | | @ApiOperation("发起查看车辆位置") |
| | | public AjaxResult sendCheckSYCarsPosition(@RequestBody Map<String,Object> para) { |
| | | String usersId = SecurityUtils.getUserId(); |
| | | try{ |
| | | ardAppPositionService.sendCheckSYCarsPosition(usersId,para); |
| | | return AjaxResult.success(); |
| | | }catch(Exception e){ |
| | | return AjaxResult.error(); |
| | | } |
| | | } |
| | | } |