CsdnCommentService.java 690 字节
Newer Older
1 2
package com.kwan.springbootkwan.service;

3
import com.kwan.springbootkwan.entity.CsdnUserInfo;
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
import com.kwan.springbootkwan.entity.resp.BusinessInfoResponse;

/**
 * 评论
 *
 * @author : qinyingjie
 * @version : 2.2.0
 * @date : 2023/10/24 01:25
 */
public interface CsdnCommentService {

    /**
     * 查询是否评论过
     *
     * @return
     */
20
    Boolean isComment(BusinessInfoResponse.ArticleData.Article article, CsdnUserInfo csdnUserInfo);
21 22

    /**
23
     * 评论别人的文章
24 25 26
     *
     * @return
     */
27
    Boolean comment(String articleId, CsdnUserInfo csdnUserInfo);
28 29 30 31 32 33 34 35


    /**
     * 评论自己的文章
     *
     * @return
     */
    Boolean commentSelf();
36
}