Browse Source

修改是否精选

longyu 2 năm trước cách đây
mục cha
commit
7389360c19
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      services/comment/comment.go

+ 1 - 0
services/comment/comment.go

@@ -101,6 +101,7 @@ func Comment(user user.UserInfo, req reqComment.ReqComment) (ret response.RespCo
 		ModifyTime: now,
 		OldReportId:    req.OldReportId,
 		OldReportChapterId: req.OldReportChapterId,
+		IsHot: 1,
 	}
 	err = commentInfo.Create()
 	if err != nil {