.1502411993651747:ae02a559cb810c230e620be41229b809_69f555b5dc48703ced6cdd35.69f555d7dc48703ced6cdd40.69f555d7b7dede7b50b773c6:Trae CN.T(2026/5/2 09:39:35)#298
Open
lovely90133 wants to merge 3 commits into
Conversation
实现评论的编辑功能,包括前端界面修改、状态管理、API接口和后端处理 允许用户更新自己的评论内容并保存修改
在更新评论时返回操作结果并抛出错误 为所有评论相关路由添加帖子存在性检查 处理前端评论更新时的异步操作和错误状态
为PUT和DELETE评论路由添加comment_id的ObjectId验证,确保参数格式正确
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix(api): 为评论路由添加comment_id参数验证
为PUT和DELETE评论路由添加comment_id的ObjectId验证,确保参数格式正确