Browse Source

我的留言筛选

ziwen 2 years ago
parent
commit
ae3e9a53e8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/user.go

+ 1 - 1
controllers/user.go

@@ -1548,7 +1548,7 @@ func (this *UserController) CommnetList() {
 		br.Ret = 408
 		return
 	}
-	commentType, _ := this.GetInt("CommentType")
+	commentType, _ := this.GetInt("CommentType", 1)
 
 	userId := this.User.UserId
 	commentlist, err := models.GetCommentList(userId, commentType)