| | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.dsh.activity.entity.BenefitsVideos; |
| | | import com.dsh.activity.model.*; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | */ |
| | | public interface BenefitsVideosService extends IService<BenefitsVideos> { |
| | | |
| | | |
| | | /** |
| | | * 获取福利视频分类列表数据 |
| | | * |
| | | * @param uid |
| | | * @param search |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | List<BenefitsVideoClassificationListVo> queryClassificationBenefitsVideosList(Integer uid, Integer position, String search) throws Exception; |
| | | |
| | | List<BenefitsVideoClassificationListVo> queryClassificationBenefitsVideosListOne(Integer uid, Integer position, String search) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 获取福利视频列表 |
| | | * |
| | | * @param uid |
| | | * @param classificationId |
| | | * @param pageSize |
| | | * @param pageNo |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | List<BenefitsVideosListVo> queryBenefitsVideosList(Integer uid, Integer classificationId, String search, Integer pageSize, Integer pageNo) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 获取福利视频详情 |
| | | * |
| | | * @param uid |
| | | * @param id |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | BenefitsVideosInfoVo queryBenefitsVideosInfo(Integer uid, Integer id) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 视频观看完毕后获得奖励 |
| | | * |
| | | * @param id |
| | | * @throws Exception |
| | | */ |
| | | void receiveAward(Integer uid, Integer id) throws Exception; |
| | | |
| | | |
| | | List<BenefitsVideos> getBenefitVideoById(Integer id, Integer state); |
| | | |
| | | List<BenefitsVideos> getBybIdAndcId(Integer benefitsVideoClassificationId, Integer courseId); |
| | | } |