Authored by 张帅

fix

... ... @@ -2004,7 +2004,7 @@ public class GrassArticleServiceImpl implements IGrassArticleService {
if(sort == 4){
rspBo.setCoverImg(videoMap.get(article.getId()) == null ? "" : videoMap.get(article.getId()).getString("coverUrl"));
}else {
String coverImage = imgMap.get(article.getId()).get(0);
String coverImage = imgMap.get(article.getId()) == null ? "" : imgMap.get(article.getId()).get(0);
rspBo.setCoverImg(coverImage);
}
rspBo.setCoverImgSquare(coverImageMap.get(article.getId()));
... ...