Browse Source

no message

xingzai 1 year ago
parent
commit
a093383dfc
1 changed files with 1 additions and 1 deletions
  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