CsdnCollectService.java 677 字节
Newer Older
1 2 3
package com.kwan.springbootkwan.service;


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

/**
 * 收藏
 *
 * @author : qinyingjie
 * @version : 2.2.0
 * @date : 2023/10/24 01:00
 */
public interface CsdnCollectService {

    /**
     * 查询是否收藏过
     *
     * @return
     */
22
    Boolean isCollect(String articleId, CsdnUserInfo csdnUserInfo);
23 24

    /**
25
     * 收藏
26 27 28
     *
     * @return
     */
29
    Boolean collect(BusinessInfoResponse.ArticleData.Article article, CsdnUserInfo csdnUserInfo, CsdnTripletDayInfo csdnTripletDayInfo);
30
}