CsdnLikeService.java 474 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11
package com.kwan.springbootkwan.service;


/**
 * 点赞
 *
 * @author : qinyingjie
 * @version : 2.2.0
 * @date : 2023/10/24 00:19
 */
public interface CsdnLikeService {
12 13 14 15 16 17 18

    /**
     * 查询是否点过赞
     * todo:还未找到接口,搁浅
     *
     * @return
     */
19
    Boolean isLike(String articleId, String userName);
20

21
    /**
22
     * 点赞和取消点赞接口,true,点过,false,没有点过
23 24 25 26 27
     *
     * @return
     */
    Boolean like(String articleId);
}