Roc 2 years ago
parent
commit
3d33093c29
1 changed files with 1 additions and 1 deletions
  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
 	//var isHot int8
 	isHot := int8(1)
 	isHot := int8(1)
-	if questionCommentInfo.IsTop == 1 {
+	if questionCommentInfo.IsHot == 1 {
 		isHot = 0
 		isHot = 0
 	}
 	}
 	//标记删除
 	//标记删除