Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beyond-clouds
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
段启岩
beyond-clouds
Commits
d7c35e45
Commit
d7c35e45
authored
Feb 01, 2020
by
Author name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2.1 删除评论完成
parent
04c6d791
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
12 deletions
+3
-12
src/main/java/cn/meteor/beyondclouds/modules/blog/service/IBlogCommentService.java
+1
-8
src/main/java/cn/meteor/beyondclouds/modules/blog/service/impl/BlogCommentServiceImpl.java
+2
-4
No files found.
src/main/java/cn/meteor/beyondclouds/modules/blog/service/IBlogCommentService.java
View file @
d7c35e45
...
...
@@ -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
...
...
src/main/java/cn/meteor/beyondclouds/modules/blog/service/impl/BlogCommentServiceImpl.java
View file @
d7c35e45
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment