| | |
| | | package com.ruoyi.goods.service.lottery; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.goods.api.domain.LotteryEvent; |
| | | import com.ruoyi.goods.domain.vo.AppLotteryEventPageVo; |
| | | import com.ruoyi.goods.domain.vo.LotteryEventVo; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | | * @Date 2025/5/8 18:05 |
| | | */ |
| | | public interface ILotteryEventService extends IService<LotteryEvent> { |
| | | |
| | | |
| | | /** |
| | | * 获取抽奖活动详情 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | LotteryEventVo getLotteryEvent(String id); |
| | | |
| | | |
| | | /** |
| | | * 抽奖操作 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | R lotteryDraw(String id); |
| | | |
| | | |
| | | /** |
| | | * 获取APP抽奖列表 |
| | | * |
| | | * @param page |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | List<AppLotteryEventPageVo> pageAppLotteryEvent(Page<AppLotteryEventPageVo> page, Long userId); |
| | | } |