feat(kv): 新增删除评论内容功能

- 在 CommentContentController 中新增删除评论内容的接口
- 定义 DeleteCommentContentReqDTO 用于接收删除请求参数
- 在 CommentContentRepository 中新增删除评论正文的方法
- 在 CommentContentService 及其实现类中新增删除评论内容的业务逻辑
- 在 KeyValueFeignApi 中新增删除评论内容的 Feign 接口
- 在 gateApi.http 中添加删除评论内容的测试用例
This commit is contained in:
2025-11-09 14:01:14 +08:00
parent f74397ed1e
commit 93ca81a15b
7 changed files with 76 additions and 4 deletions

View File

@@ -384,3 +384,13 @@ Authorization: Bearer {{token}}
{
"commentId": 8001
}
### 删除评论
POST http://localhost:8084/kv/comment/content/delete
Content-Type: application/json
{
"noteId": 1862481582414102549,
"yearMonth": "2025-11",
"contentId": "0fa4376f-a098-4fee-821b-f5b7e627a72c"
}