Jelajahi Sumber

我的留言筛选

ziwen 2 tahun lalu
induk
melakukan
ae3e9a53e8
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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)