Quellcode durchsuchen

我的留言筛选

ziwen vor 2 Jahren
Ursprung
Commit
ae3e9a53e8
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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)