Commit 39f2f048 authored by hanfeng's avatar hanfeng

修改文章

parent 56574409
...@@ -138,9 +138,9 @@ public class ArticleBiz extends BaseBiz<ArticleMapper, Article> { ...@@ -138,9 +138,9 @@ public class ArticleBiz extends BaseBiz<ArticleMapper, Article> {
article.setType(0); article.setType(0);
} }
if (article.getTagTitle()==null||article.getKeywords()==null||article.getDescription()==null) { // if (article.getTagTitle()==null||article.getKeywords()==null||article.getDescription()==null) {
throw new BaseException("必须设置seo"); // throw new BaseException("必须设置seo");
} // }
if (article.getStatus()==1){ if (article.getStatus()==1){
article.setAddTime(new Date()); article.setAddTime(new Date());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment