|
@@ -172,6 +172,7 @@ public class CommunityArticleController extends BaseController {
|
|
|
if (null == communityArticleComment.getArticleId()) {
|
|
|
return AjaxResult.error("文章不存在或异常!");
|
|
|
}
|
|
|
+ System.out.println("communityArticleComment: " + communityArticleComment);
|
|
|
Long userId = SecurityUtils.getUserId();
|
|
|
//调用方法去判断当前评论的用户 是不是文章作者的关注列表
|
|
|
Boolean aBoolean = communityArticleService.checkCommentPermission(userId,null,communityArticleComment.getArticleId());
|