fix:收藏的装填

上级 7fe5c881
...@@ -52,7 +52,7 @@ public class CsdnCollectServiceImpl implements CsdnCollectService { ...@@ -52,7 +52,7 @@ public class CsdnCollectServiceImpl implements CsdnCollectService {
final boolean status = data.status; final boolean status = data.status;
if (status) { if (status) {
log.info("文章{}已经收藏过", articleId); log.info("文章{}已经收藏过", articleId);
csdnUserInfo.setCommentStatus(CollectStatus.HAVE_ALREADY_COLLECT.getCode()); csdnUserInfo.setCollectStatus(CollectStatus.HAVE_ALREADY_COLLECT.getCode());
} else { } else {
log.info("文章{}未收藏", articleId); log.info("文章{}未收藏", articleId);
} }
......
...@@ -32,10 +32,6 @@ public class CsdnCommentServiceImpl implements CsdnCommentService { ...@@ -32,10 +32,6 @@ public class CsdnCommentServiceImpl implements CsdnCommentService {
private String commentListUrl; private String commentListUrl;
@Value("${csdn.url.comment_url}") @Value("${csdn.url.comment_url}")
private String commentUrl; private String commentUrl;
/**
* 评论满了
*/
private static boolean COMMENT_IS_FULL = false;
@Override @Override
public Boolean isComment(BusinessInfoResponse.ArticleData.Article article, CsdnUserInfo csdnUserInfo) { public Boolean isComment(BusinessInfoResponse.ArticleData.Article article, CsdnUserInfo csdnUserInfo) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册