🐛 无法发布草稿至文章问题修复
This commit is contained in:
parent
bff07a5973
commit
ae5978bba5
@ -194,7 +194,7 @@ public class ArticleServiceImpl extends AbstractService<Article> implements Arti
|
|||||||
String articlePreviewContent = articleContentHtml.substring(0, length);
|
String articlePreviewContent = articleContentHtml.substring(0, length);
|
||||||
newArticle.setArticlePreviewContent(Html2TextUtil.getContent(articlePreviewContent));
|
newArticle.setArticlePreviewContent(Html2TextUtil.getContent(articlePreviewContent));
|
||||||
}
|
}
|
||||||
articleMapper.updateArticleLinkAndPreviewContent(newArticle.getIdArticle(), newArticle.getArticleLink(), newArticle.getArticlePermalink(), newArticle.getArticlePreviewContent());
|
articleMapper.updateByPrimaryKeySelective(newArticle);
|
||||||
|
|
||||||
// 推送百度 SEO
|
// 推送百度 SEO
|
||||||
if (!ProjectConstant.ENV.equals(env)
|
if (!ProjectConstant.ENV.equals(env)
|
||||||
|
Loading…
Reference in New Issue
Block a user