@@ -462,11 +462,11 @@ func GetResourceDataList(condition string, pars []interface{}, startSize, pageSi
return
}
- //listArticle, e = HandleArticleCategoryImg(listArticle)
- //if e != nil {
- // err = errors.New("HandleArticleCategoryImg, Err: " + e.Error())
- // return
- //}
+ listArticle, e = HandleArticleCategoryImg(listArticle)
+ if e != nil {
+ err = errors.New("HandleArticleCategoryImg, Err: " + e.Error())
+ return
+ }
for _, v := range listArticle {
//fmt.Println(v.ArticleId)
v.Body = ""