fix:评论自己的文章

上级 9588eb60
...@@ -21,7 +21,7 @@ public interface CsdnCollectService { ...@@ -21,7 +21,7 @@ public interface CsdnCollectService {
Boolean isCollect(String articleId, CsdnUserInfo csdnUserInfo); Boolean isCollect(String articleId, CsdnUserInfo csdnUserInfo);
/** /**
* 点赞和取消点赞接口,true,点过,false,没有点过 * 收藏
* *
* @return * @return
*/ */
......
...@@ -20,9 +20,17 @@ public interface CsdnCommentService { ...@@ -20,9 +20,17 @@ public interface CsdnCommentService {
Boolean isComment(BusinessInfoResponse.ArticleData.Article article, CsdnUserInfo csdnUserInfo); Boolean isComment(BusinessInfoResponse.ArticleData.Article article, CsdnUserInfo csdnUserInfo);
/** /**
* 点赞和取消点赞接口,true,点过,false,没有点过 * 评论别人的文章
* *
* @return * @return
*/ */
Boolean comment(String articleId, CsdnUserInfo csdnUserInfo); Boolean comment(String articleId, CsdnUserInfo csdnUserInfo);
/**
* 评论自己的文章
*
* @return
*/
Boolean commentSelf();
} }
\ No newline at end of file
...@@ -14,7 +14,6 @@ public interface CsdnLikeService { ...@@ -14,7 +14,6 @@ public interface CsdnLikeService {
/** /**
* 查询是否点过赞 * 查询是否点过赞
* todo:还未找到接口,搁浅
* *
* @return * @return
*/ */
...@@ -25,5 +24,5 @@ public interface CsdnLikeService { ...@@ -25,5 +24,5 @@ public interface CsdnLikeService {
* *
* @return * @return
*/ */
Boolean like(String articleId,CsdnUserInfo csdnUserInfo); Boolean like(String articleId, CsdnUserInfo csdnUserInfo);
} }
\ No newline at end of file
...@@ -110,6 +110,11 @@ public class CsdnCommentServiceImpl implements CsdnCommentService { ...@@ -110,6 +110,11 @@ public class CsdnCommentServiceImpl implements CsdnCommentService {
return true; return true;
} }
@Override
public Boolean commentSelf() {
return null;
}
/** /**
* 评论文章 * 评论文章
* *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册