package com.ruoyi.xq.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.xq.domain.UserStar;
import com.ruoyi.xq.dto.app.user.vo.HomeUserListVo;
import com.ruoyi.xq.dto.app.userstar.UserStarQuery;
import com.ruoyi.xq.dto.app.userstar.UserStarReq;
import com.ruoyi.xq.dto.app.userstar.vo.UserStarListVo;

/**
 * 用户关注Service接口
 *
 * @author 77
 * @date 2024-03-17
 */
public interface UserStarService extends IService<UserStar> {

    void starUpdate(UserStarReq req);

    Page<UserStarListVo> pageApp(PageQuery pageQuery, UserStarQuery query);

    boolean existsStar(Long userId, Long starUserId);
}
