fix: 获取留言修复

This commit is contained in:
Shu Guang 2025-05-16 17:57:30 +08:00
parent 5249bfe1f4
commit a2d4095e5c
2 changed files with 1 additions and 0 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -164,6 +164,7 @@ public class commentController {
comment.setPostId(postId); comment.setPostId(postId);
comment.setContent(content); comment.setContent(content);
comment.setUserId(loginUser.getId()); comment.setUserId(loginUser.getId());
comment.setIsDelete(0);
// 6. 保存评论 // 6. 保存评论