Commit d7c35e45 by Author name

2.1 删除评论完成

parent 04c6d791
......@@ -2,6 +2,7 @@ package cn.meteor.beyondclouds.modules.blog.service;
import cn.meteor.beyondclouds.modules.blog.entity.BlogComment;
import cn.meteor.beyondclouds.modules.blog.exception.BlogCommentServiceException;
import cn.meteor.beyondclouds.modules.project.entity.ProjectComment;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
......@@ -24,14 +25,6 @@ public interface IBlogCommentService extends IService<BlogComment> {
*/
void commentCreate(String blogId,Integer parentId,String comment,String userId);
/**
* 评论列表
* @param blogId
* @return
*/
IPage<BlogComment> getComments(String blogId);
/**
* 删除评论
* @param commentId
......
......@@ -8,6 +8,7 @@ import cn.meteor.beyondclouds.modules.blog.exception.BlogCommentServiceException
import cn.meteor.beyondclouds.modules.blog.mapper.BlogCommentMapper;
import cn.meteor.beyondclouds.modules.blog.service.IBlogCommentService;
import cn.meteor.beyondclouds.modules.blog.service.IBlogService;
import cn.meteor.beyondclouds.modules.project.entity.ProjectComment;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
......@@ -76,10 +77,7 @@ public class BlogCommentServiceImpl extends ServiceImpl<BlogCommentMapper, BlogC
}
@Override
public IPage<BlogComment> getComments(String blogId) {
return null;
}
@Override
public void deleteComment(Integer commentId, String userId) throws BlogCommentServiceException {
......
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