CsdnService.java 679 字节
Newer Older
1 2
package com.kwan.springbootkwan.service;

3 4
import com.kwan.springbootkwan.entity.resp.BusinessInfo;

5 6 7 8 9 10 11
/**
 * csdn博客自动化
 *
 * @author : qinyingjie
 * @version : 2.2.0
 * @date : 2023/10/23 14:59
 */
12 13 14 15 16 17
public interface CsdnService {
    /**
     * 获取文章信息
     *
     * @return
     */
18
    BusinessInfo.ArticleData.Article list();
19

20 21 22 23 24 25 26
    /**
     * 查询是否评论过
     *
     * @param articleId
     * @return
     */
    Boolean getArticleInfo(String articleId);
27 28


29 30 31 32 33 34
    /**
     * 点赞
     *
     * @param articleId
     */
    void like(String articleId);
35

36 37 38 39 40 41 42
    /**
     * 评论
     *
     * @param articleId
     */
    void comment(String articleId);
}