fix: FIX BUG

This commit is contained in:
sunhe 2025-05-19 04:27:49 +08:00
parent d882cc1997
commit 919766f652

View File

@ -165,7 +165,6 @@ public class commentController {
comment.setContent(content); comment.setContent(content);
comment.setUserId(loginUser.getId()); comment.setUserId(loginUser.getId());
comment.setIsDelete(0); comment.setIsDelete(0);
// 6. 保存评论 // 6. 保存评论
boolean result = commentService.save(comment); boolean result = commentService.save(comment);
if (!result) { if (!result) {