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

3 4
import com.kwan.springbootkwan.entity.CsdnStatusResp;

5 6 7 8 9 10 11
/**
 * csdn博客自动化
 *
 * @author : qinyingjie
 * @version : 2.2.0
 * @date : 2023/10/23 14:59
 */
12 13
public interface CsdnService {
    /**
14
     * 单人三连
15 16 17
     *
     * @return
     */
18
    CsdnStatusResp singleArticle(String username);
19

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

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

35 36 37 38 39
    /**
     * 评论
     *
     * @param articleId
     */
40
    int comment(String articleId);
41 42 43 44 45

    /**
     * 三连
     */
    void multiTriplet();
46
}