🐛 修复文章保存失败的问题

pull/21/head
ruibaby 2018-07-17 16:52:21 +08:00
parent 493fc48d5b
commit f37f9656f6
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ public class PostController extends BaseController {
try {
//提取摘要
int postSummary = 50;
if (StringUtils.isNotEmpty(BlogProperties.POST_SUMMARY.getProp())) {
if (StringUtils.isNotEmpty(HaloConst.OPTIONS.get(BlogProperties.POST_SUMMARY.getProp()))) {
postSummary = Integer.parseInt(HaloConst.OPTIONS.get(BlogProperties.POST_SUMMARY.getProp()));
}
//文章摘要