| | |
| | | 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 com.ruoyi.goods.domain.vo.ShopLotteryDrawListVo; |
| | | import com.ruoyi.goods.domain.dto.MgtLotteryEventEditDTO; |
| | | import com.ruoyi.goods.domain.dto.MgtLotteryEventJoinUserPageDTO; |
| | | import com.ruoyi.goods.domain.dto.MgtLotteryEventPageDto; |
| | | import com.ruoyi.goods.domain.vo.*; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | * @return |
| | | */ |
| | | List<ShopLotteryDrawListVo> getShopLotteryDrawList(Page<ShopLotteryDrawListVo> page, Long shopId); |
| | | |
| | | /** |
| | | * 平台添加抽奖活动 |
| | | * @param dto |
| | | * @return |
| | | */ |
| | | R<ShopLotteryDrawVo> editLotteryEvent(MgtLotteryEventEditDTO dto); |
| | | |
| | | /** |
| | | * 分页查询抽奖活动 |
| | | * @param page |
| | | * @param dto |
| | | * @return |
| | | */ |
| | | List<MgtLotteryEventPageVo> pageMgtLotteryEvent(Page<MgtLotteryEventPageVo> page, MgtLotteryEventPageDto dto); |
| | | |
| | | /** |
| | | * 查看抽奖活动详情 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | R<MgtLotteryEventDetailVO> getLotteryEventDetailById(String id); |
| | | |
| | | /** |
| | | * 删除抽奖活动 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | R deleteMgtLotteryEvent(String id); |
| | | |
| | | /** |
| | | * 立即结束抽奖活动 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | R endImmediatelyLotteryEvent(String id); |
| | | } |