package com.ruoyi.cai.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.cai.domain.UserGift;
import com.ruoyi.cai.dto.app.query.GiveGiftRes;
import com.ruoyi.cai.dto.app.vo.index.UserGiftIndexVo;

import java.util.List;

/**
 * 礼物记录Service接口
 *
 * @author 77
 * @date 2023-12-23
 */
public interface UserGiftService extends IService<UserGift>  {

    List<UserGiftIndexVo> selectGiftList(Long userId);

    boolean giveGift(GiveGiftRes query);

}
