xingzai пре 1 година
родитељ
комит
e3304dfeb8
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      services/article.go

+ 1 - 0
services/article.go

@@ -2072,6 +2072,7 @@ func GetAiQianYanArtilceList(startSize, pageSize int) (items []*models.ReportArt
 		item.Abstract = v.Abstract
 		item.Abstract = v.Abstract
 		item.Annotation = v.Annotation
 		item.Annotation = v.Annotation
 		item.PublishDate = v.PublishDate
 		item.PublishDate = v.PublishDate
+		item.Resource = 1
 		item.CategoryId = strconv.Itoa(v.CategoryId)
 		item.CategoryId = strconv.Itoa(v.CategoryId)
 		item.Body = v.Body
 		item.Body = v.Body
 		items = append(items, item)
 		items = append(items, item)