...
|
...
|
@@ -526,7 +526,7 @@ public class GrassArticleServiceImpl implements IGrassArticleService { |
|
|
Integer articleId = req.getArticleId();
|
|
|
//后期增加--文章有可能被删除,校验下
|
|
|
GrassArticle oldGrassArticle = grassArticleDao.selectByPrimaryKey(articleId);
|
|
|
if(oldGrassArticle == null || oldGrassArticle.getAuthorType() == 3){
|
|
|
if(oldGrassArticle == null || oldGrassArticle.getAuthStatus() == 3){
|
|
|
throw new PlatformException("article has been deleted",405);
|
|
|
}
|
|
|
GrassArticle grassArticle = new GrassArticle();
|
...
|
...
|
|