| | |
| | | |
| | | @ApiOperation("删除目录及子项") |
| | | @DeleteMapping("/directory/{id}") |
| | | public ResponseEntity<Map<String, Object>> deleteDirectory(@PathVariable Integer id) { |
| | | public ResponseEntity<Map<String, Object>> deleteDirectory(@PathVariable String id) { |
| | | Map<String, Object> result = new HashMap<>(); |
| | | try { |
| | | boolean success = directoryService.deleteDirectory(id); |
| | |
| | | |
| | | @ApiOperation("删除标记") |
| | | @DeleteMapping("/{id}") |
| | | public ResponseEntity<Map<String, Object>> deleteAnnotation(@PathVariable Integer id) { |
| | | public ResponseEntity<Map<String, Object>> deleteAnnotation(@PathVariable String id) { |
| | | Map<String, Object> result = new HashMap<>(); |
| | | try { |
| | | boolean success = annotationService.deleteAnnotation(id); |