Roc 2 vuotta sitten
vanhempi
commit
3d33093c29
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      services/yb/community_question_comment.go

+ 1 - 1
services/yb/community_question_comment.go

@@ -113,7 +113,7 @@ func SetHotQuestionComment(questionCommentId int) (err error, errMsg string) {
 
 	//var isHot int8
 	isHot := int8(1)
-	if questionCommentInfo.IsTop == 1 {
+	if questionCommentInfo.IsHot == 1 {
 		isHot = 0
 	}
 	//标记删除