34 lines
899 B
Java
34 lines
899 B
Java
package com.peanut.modules.book.service;
|
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import com.peanut.common.utils.PageUtils;
|
|
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);
|
|
|
|
void sendCodeForRegister(String phone, String code,Integer areaCode) throws Exception;
|
|
|
|
List<BookForumArticlesEntity> getForumsLimit(Integer book_id, Integer limit);
|
|
//充值花生币
|
|
boolean rechargeHSPoint(MyUserEntity userEntity,Integer HSPoint);
|
|
|
|
boolean checkUserBook(Integer userId,Integer bookId);
|
|
|
|
boolean checkUserTelOrEmail(MyUserEntity user);
|
|
|
|
}
|
|
|