begin new project

This commit is contained in:
wangjinlei
2026-04-22 15:55:42 +08:00
commit 5e6bde0862
1370 changed files with 129431 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
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<MyUserEntity> {
PageUtils queryPage(Map<String, Object> params);
R sendCodeForRegister(String phone, String code, Integer areaCode) throws Exception;
//电子书针对听书鉴权
boolean bookAuthen(Integer bookId,Integer userId);
List<BookForumArticlesEntity> getForumsLimit(Integer book_id, Integer limit);
//充值花生币
boolean rechargeHSPoint(MyUserEntity userEntity,Integer HSPoint);
boolean checkUserBook(Integer userId,Integer bookId);
boolean checkUserTelOrEmail(MyUserEntity user);
}