...
|
...
|
@@ -1744,8 +1744,9 @@ public class GrassArticleServiceImpl implements IGrassArticleService { |
|
|
}
|
|
|
if("coverImage".equals(content.getTemplateKey())){
|
|
|
JSONObject data = JSON.parseObject(content.getContentData());
|
|
|
String coverImage = JSON.parseObject(data.getString("data")).getString("coverImage");
|
|
|
coverImageMap.put(content.getArticleId(), coverImage);
|
|
|
String src = JSON.parseObject(data.getString("data")).getString("src");
|
|
|
src = StringUtils.isEmpty(src) ? "" : src.substring(0, src.indexOf("?"));
|
|
|
coverImageMap.put(content.getArticleId(), src);
|
|
|
}
|
|
|
|
|
|
});
|
...
|
...
|
|