chore: 移除微信授权登录和AI 模块
This commit is contained in:
@@ -181,26 +181,6 @@ public interface UserService extends IService<User> {
|
||||
*/
|
||||
List<Option<String>> listUserOptions();
|
||||
|
||||
/**
|
||||
* 根据 openid 获取用户认证信息
|
||||
*
|
||||
* @param openId 用户名
|
||||
* @return {@link UserAuthInfo}
|
||||
*/
|
||||
|
||||
UserAuthInfo getAuthInfoByOpenId(String openId);
|
||||
|
||||
default UserAuthInfo getAuthCredentialsByOpenId(String openId) {
|
||||
return getAuthInfoByOpenId(openId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据微信 OpenID 注册或绑定用户
|
||||
*
|
||||
* @param openId 微信 OpenID
|
||||
*/
|
||||
boolean registerOrBindWechatUser(String openId);
|
||||
|
||||
/**
|
||||
* 根据手机号获取用户认证信息
|
||||
*
|
||||
@@ -213,22 +193,4 @@ public interface UserService extends IService<User> {
|
||||
return getAuthInfoByMobile(mobile);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据手机号和OpenID注册用户
|
||||
*
|
||||
* @param mobile 手机号
|
||||
* @param openId 微信OpenID
|
||||
* @return 是否成功
|
||||
*/
|
||||
boolean registerUserByMobileAndOpenId(String mobile, String openId);
|
||||
|
||||
/**
|
||||
* 绑定用户微信OpenID
|
||||
*
|
||||
* @param userId 用户ID
|
||||
* @param openId 微信OpenID
|
||||
* @return 是否成功
|
||||
*/
|
||||
boolean bindUserOpenId(Long userId, String openId);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user