xingzai 1 yıl önce
ebeveyn
işleme
a093383dfc
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      controllers/user.go

+ 1 - 1
controllers/user.go

@@ -906,7 +906,7 @@ func (this *UserController) CollectList() {
 		list[i].DepartmentId = article.DepartmentId
 		list[i].NickName = article.NickName
 		list[i].PublishDate = article.PublishDate
-		if article.ArticleTypeId < 0 {
+		if article.ArticleTypeId == 0 {
 			list[i].Source = 1
 		} else {
 			list[i].Source = 2