Authored by 张帅

fix

... ... @@ -1378,7 +1378,7 @@ public class GrassArticleServiceImpl implements IGrassArticleService{
contentOrder++;
contentList.add(content);
}
if(StringUtils.isNotEmpty(req.getContent())){
if(StringUtils.isNotEmpty(req.getContent()) && 3!=req.getSort()){
GrassArticleBlock content = new GrassArticleBlock();
content.setArticleId(articleId);
content.setContentData(getBlock(BLOCK_TEXT, req.getContent()));
... ... @@ -1388,7 +1388,7 @@ public class GrassArticleServiceImpl implements IGrassArticleService{
contentList.add(content);
contentOrder++;
}
if(StringUtils.isNotEmpty(req.getActionUrl()) && req.getSort()==3){
if(StringUtils.isNotEmpty(req.getActionUrl()) && 3==req.getSort()){
GrassArticleBlock content = new GrassArticleBlock();
content.setArticleId(articleId);
content.setContentData(getBlock(BLOCK_LINK, req.getActionUrl()));
... ...