mitao
2024-07-29 fc8b51f40e71aa09bb49f407c1e9f68ac94ceb58
ruoyi-modules/ruoyi-article/src/main/java/com/ruoyi/article/controller/management/MgtArticleController.java
@@ -125,4 +125,12 @@
        articleService.removeById(id);
        return R.ok();
    }
    @ApiOperation("删除资讯评论")
    @DeleteMapping("/comments/{id}")
    public R<?> removeCommentsById(
            @ApiParam(name = "id", value = "资讯评论id", required = true) @PathVariable("id") Long id) {
        articleService.removeCommentsById(id);
        return R.ok();
    }
}