48 lines
1.1 KiB
Java
48 lines
1.1 KiB
Java
|
|
package com.cdzy.user.service;
|
||
|
|
|
||
|
|
import com.cdzy.user.model.dto.EbikeUserPageDto;
|
||
|
|
import com.cdzy.user.model.entity.EbikeUser;
|
||
|
|
import com.cdzy.user.model.vo.EbikeUserVo;
|
||
|
|
import com.mybatisflex.core.paginate.Page;
|
||
|
|
import com.mybatisflex.core.service.IService;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 用户基本信息 服务层
|
||
|
|
*
|
||
|
|
* @Author: yanglei
|
||
|
|
* @Since: 2025-10-15 09:30
|
||
|
|
*/
|
||
|
|
|
||
|
|
public interface EbikeUserService extends IService<EbikeUser> {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 查询分页数据。
|
||
|
|
*
|
||
|
|
* @param userPageDto 分页查询条件
|
||
|
|
* @return 分页数据
|
||
|
|
*/
|
||
|
|
Page<EbikeUserVo> queryPage(EbikeUserPageDto userPageDto);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 根据手机号获取用户信息
|
||
|
|
* @param mobile 手机号
|
||
|
|
* @return 用户信息
|
||
|
|
*/
|
||
|
|
EbikeUser getUserByMobile(String mobile);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 根据用户微信openId获取详细信息
|
||
|
|
* @param openId 微信openId
|
||
|
|
* @return 用户信息
|
||
|
|
*/
|
||
|
|
EbikeUserVo getUserByOpenId(String openId);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 用户注销
|
||
|
|
*
|
||
|
|
* @param ebikeUser 用户信息
|
||
|
|
* @return 注销结果
|
||
|
|
*/
|
||
|
|
boolean deRegister(EbikeUser ebikeUser);
|
||
|
|
}
|