|
@@ -235,7 +235,7 @@ public class CommunityArticleController extends BaseController {
|
|
|
Boolean aBoolean = communityArticleService.checkCommentPermission(userId, null, communityArticleComment.getArticleId());
|
|
|
communityArticleComment.setUserId(SecurityUtils.getUserId());
|
|
|
if (!aBoolean) { // 当 aBoolean 为 false 时,进入这个条件
|
|
|
- return AjaxResult.success("您没有权限评论此文章,因为只允许关注的人评论您!");
|
|
|
+ return AjaxResult.success("您没有权限评论此文章,因为作者只允许关注的人评论!");
|
|
|
}
|
|
|
//新增评论
|
|
|
communityArticleService.sendComment(communityArticleComment);
|