package com.peanut.modules.book.service; import com.baomidou.mybatisplus.extension.service.IService; import com.peanut.common.utils.PageUtils; import com.peanut.common.utils.R; import com.peanut.modules.common.entity.BookForumArticlesEntity; import com.peanut.modules.common.entity.MyUserEntity; import java.util.List; import java.util.Map; /** * * * @author yl * @email yl328572838@163.com * @date 2022-08-10 14:20:12 */ public interface MyUserService extends IService { PageUtils queryPage(Map params); R sendCodeForRegister(String phone, String code, Integer areaCode) throws Exception; //电子书针对听书鉴权 boolean bookAuthen(Integer bookId,Integer userId); List getForumsLimit(Integer book_id, Integer limit); //充值花生币 boolean rechargeHSPoint(MyUserEntity userEntity,Integer HSPoint); boolean checkUserBook(Integer userId,Integer bookId); boolean checkUserTelOrEmail(MyUserEntity user); }