55 lines
1.2 KiB
Java
Raw Normal View History

2025-10-15 17:38:13 +08:00
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;
2025-11-07 17:11:39 +08:00
import java.util.Map;
2025-10-15 17:38:13 +08:00
/**
* 用户基本信息 服务层
*
2025-10-21 09:57:21 +08:00
* @author: yanglei
* @since: 2025-10-15 09:30
2025-10-15 17:38:13 +08:00
*/
public interface EbikeUserService extends IService<EbikeUser> {
/**
* 查询分页数据
*
* @param userPageDto 分页查询条件
* @return 分页数据
*/
Page<EbikeUserVo> queryPage(EbikeUserPageDto userPageDto);
/**
* 根据用户微信openId获取详细信息
2025-11-07 17:11:39 +08:00
*
2025-10-15 17:38:13 +08:00
* @param openId 微信openId
* @return 用户信息
*/
EbikeUserVo getUserByOpenId(String openId);
/**
* 用户注销
*
* @param ebikeUser 用户信息
*/
2025-10-29 14:06:51 +08:00
void deRegister(EbikeUser ebikeUser);
2025-11-07 17:11:39 +08:00
Map<String, Object> checkUserExists(String openid);
/**
* 获取微信用户信息并更新到本地
*
* @param decryptedData 微信用户信息
*/
void updateUserInfo(String decryptedData, String openId);
2025-11-10 16:29:17 +08:00
EbikeUserVo getUserInfoByUserId(Long userId);
2025-10-15 17:38:13 +08:00
}