xingzai 1 年間 前
コミット
a093383dfc
1 ファイル変更1 行追加1 行削除
  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