| | |
| | | * 点位删除 |
| | | */ |
| | | @GetMapping("/api/v1/point/deletePoint") |
| | | R deletePoint( String ids); |
| | | R deletePoint(@RequestParam("ids") String ids); |
| | | |
| | | /** |
| | | * 启用/禁用 |
| | |
| | | @GetMapping("/deletePoint") |
| | | @ResponseBody |
| | | @ApiOperation(value = "删除点位") |
| | | public R deletePoint( String ids) { |
| | | public R deletePoint(@RequestParam("ids") String ids) { |
| | | xpPointClient.deletePoint(ids); |
| | | return R.ok(); |
| | | } |
| | |
| | | @GetMapping("/deletePoint") |
| | | @ResponseBody |
| | | @ApiOperation(value = "删除点位") |
| | | public R deletePoint(String ids) { |
| | | public R deletePoint(@RequestParam("ids") String ids) { |
| | | xpPointService.removeBatchByIds(Arrays.stream(ids.split(",")).map(Long::parseLong).collect(Collectors.toList())); |
| | | return R.ok(); |
| | | } |