63 lines
1.1 KiB
Java
Raw Normal View History

2025-03-10 15:40:51 +08:00
package com.imooc.service;
import java.util.Map;
2025-03-10 15:40:51 +08:00
import com.imooc.bo.UpdatedUserBO;
import com.imooc.mo.Token;
2025-03-10 15:40:51 +08:00
import com.imooc.pojo.Users;
/**
* @author vercen
* @version 1.0
* @date 2023/5/25 21:02
*/
public interface UserService {
/**
* 判断用户是否存在如果存在则返回用户信息
*/
public Users queryMobileIsExist(String mobile);
/**
* 创建用户信息并且返回用户对象
*/
public Users createUser(String mobile);
/**
* 根据用户主键查询用户信息
*/
public Users getUser(String userId);
/**
* 用户信息修改
*/
public Users updateUserInfo(UpdatedUserBO updatedUserBO);
/**
* 用户信息修改
*/
public Users updateUserInfo(UpdatedUserBO updatedUserBO, Integer type);
/**
* 创建用户打通短视频和商城系统
*
* @param mobile
* @return
*/
Map<String, Object> createUserNew(String mobile);
/**
* 获取商城token
*
* @param userId
* @return
*/
Token getShopToken(String userId);
/**
* 从商城系统创建账号
*
* @param mobile
* @return
*/
Users createUserFromShop(String mobile, String memberId);
2025-03-10 15:40:51 +08:00
}