| | |
| | | import vip.xiaonuo.modular.blogarticle.entity.BlogArticle; |
| | | import vip.xiaonuo.modular.blogarticle.param.BlogArticleAddDto; |
| | | import vip.xiaonuo.modular.blogarticle.param.BlogArticleQueryDto; |
| | | import vip.xiaonuo.modular.blogarticle.param.BlogArticleVo; |
| | | import vip.xiaonuo.modular.blogarticle.entity.BlogArticleVo; |
| | | import vip.xiaonuo.modular.blogarticle.service.BlogArticleService; |
| | | import vip.xiaonuo.modular.blogarticletype.entity.BlogArticleType; |
| | | import vip.xiaonuo.modular.blogarticletype.service.BlogArticleTypeService; |
| | |
| | | throw new BlogException(BlogExceptionEnum.article_auth_error); |
| | | } |
| | | //授权码比对 |
| | | if (!SecureUtil.md5(find.getAuthPassword()).equals(queryDto.getAuthWord())) { |
| | | if (!find.getAuthPassword().equals(queryDto.getAuthWord())) { |
| | | throw new BlogException(BlogExceptionEnum.article_auth_pass_error); |
| | | } |
| | | } else if (find.getAuthStatus().equals(MyConstant.AuthStatus.privateCode)) { |