ard-admin/src/main/java/com/ard/web/controller/sample/AnnotationController.java
@@ -84,7 +84,7 @@
    @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);
@@ -156,7 +156,7 @@
    @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);