Parcourir la source

Merge branch 'cygx_13.8' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

xingzai il y a 6 mois
Parent
commit
cbb5a5cbf8
1 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. 5 5
      services/resource_data.go

+ 5 - 5
services/resource_data.go

@@ -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 = ""