package com.kwan.springbootkwan.service; import com.kwan.springbootkwan.entity.resp.BusinessInfoResponse; /** * 收藏 * * @author : qinyingjie * @version : 2.2.0 * @date : 2023/10/24 01:00 */ public interface CsdnCollectService { /** * 查询是否收藏过 * * @return */ Boolean isCollect(String articleId); /** * 点赞和取消点赞接口,true,点过,false,没有点过 * * @return */ Boolean collect(BusinessInfoResponse.ArticleData.Article article, String username); }