Roc преди 2 години
родител
ревизия
3d33093c29
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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
 	}
 	//标记删除