mirror of
https://github.com/mindoc-org/mindoc.git
synced 2026-02-27 17:03:57 +08:00
完善评论功能
This commit is contained in:
@@ -366,7 +366,7 @@ func (c *ManagerController) DeleteComment() {
|
||||
|
||||
comment := models.NewComment()
|
||||
|
||||
if err := comment.Find(comment_id); err != nil {
|
||||
if _,err := comment.Find(comment_id); err != nil {
|
||||
c.JsonResult(6002,"评论不存在")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user