CsdnLikeService.java 623 字节
Newer Older
1 2 3
package com.kwan.springbootkwan.service;


4
import com.kwan.springbootkwan.entity.CsdnTripletDayInfo;
5 6
import com.kwan.springbootkwan.entity.CsdnUserInfo;

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

    /**
     * 查询是否点过赞
     *
     * @return
     */
21
    Boolean isLike(String articleId, CsdnUserInfo csdnUserInfo);
22

23
    /**
24
     * 点赞和取消点赞接口,true,点过,false,没有点过
25 26 27
     *
     * @return
     */
28
    Boolean like(String articleId, CsdnUserInfo csdnUserInfo, CsdnTripletDayInfo csdnTripletDayInfo);
29
}