public interface UserService
| 限定符和类型 | 方法和说明 |
|---|---|
void |
bind(String source,
String sessionId,
UserBindObjectType objectType,
UserBindAuthType authType,
String userObject,
String authInfo,
Map<String,Object> parameters)
绑定
|
void |
bindInit(String source,
com.gitlab.summercattle.addons.wechat.common.AppType type,
String openId,
String unionId)
绑定(初始化)
|
void |
generateBindCaptcha(String source,
String sessionId,
UserBindObjectType objectType,
String userObject,
int captchaLength,
Map<String,Object> parameters)
生成绑定验证码
|
String |
getOpenId(String source,
com.gitlab.summercattle.addons.wechat.common.AppType type,
int userType,
String userInfo)
得到微信标识Id
|
com.gitlab.summercattle.addons.wechat.common.UserSession |
getSession(String source,
String sessionId)
得到会话标识
|
com.gitlab.summercattle.addons.wechat.common.UserSession[] |
getSessions(String source)
得到所有会话
|
UserBindInfo |
getUserBindInfo(String source,
com.gitlab.summercattle.addons.wechat.common.AppType type,
String openId)
得到用户绑定信息
|
UserInfo |
getUserInfo(String source,
String openId,
String lang)
得到微信公众号用户信息
|
boolean |
isOtherBind(String source,
String sessionId)
其他的是否绑定
|
void |
unbind(String source,
com.gitlab.summercattle.addons.wechat.common.AppType type,
String openId)
解除绑定
|
void |
unbind(String source,
String sessionId)
解除绑定
|
void bind(String source, String sessionId, UserBindObjectType objectType, UserBindAuthType authType, String userObject, String authInfo, Map<String,Object> parameters) throws com.gitlab.summercattle.commons.exception.CommonException
source - 来源sessionId - 临时会话IdobjectType - 对象类型authType - 验证类型userObject - 用户对象authInfo - 验证信息parameters - 参数com.gitlab.summercattle.commons.exception.CommonException - 异常void unbind(String source, String sessionId) throws com.gitlab.summercattle.commons.exception.CommonException
source - 来源sessionId - 会话Idcom.gitlab.summercattle.commons.exception.CommonException - 异常void bindInit(String source, com.gitlab.summercattle.addons.wechat.common.AppType type, String openId, String unionId) throws com.gitlab.summercattle.commons.exception.CommonException
source - 来源type - 应用类型openId - 微信标识IdunionId - 微信唯一标识Idcom.gitlab.summercattle.commons.exception.CommonException - 异常void unbind(String source, com.gitlab.summercattle.addons.wechat.common.AppType type, String openId) throws com.gitlab.summercattle.commons.exception.CommonException
source - 来源type - 应用类型openId - 微信标识Idcom.gitlab.summercattle.commons.exception.CommonException - 异常boolean isOtherBind(String source, String sessionId) throws com.gitlab.summercattle.commons.exception.CommonException
source - 来源sessionId - 会话Idcom.gitlab.summercattle.commons.exception.CommonException - 异常void generateBindCaptcha(String source, String sessionId, UserBindObjectType objectType, String userObject, int captchaLength, Map<String,Object> parameters) throws com.gitlab.summercattle.commons.exception.CommonException
source - 来源sessionId - 临时会话IdobjectType - 对象类型userObject - 用户对象captchaLength - 验证码长度parameters - 参数com.gitlab.summercattle.commons.exception.CommonException - 异常com.gitlab.summercattle.addons.wechat.common.UserSession getSession(String source, String sessionId) throws com.gitlab.summercattle.commons.exception.CommonException
source - 来源sessionId - 会话Idcom.gitlab.summercattle.commons.exception.CommonException - 异常com.gitlab.summercattle.addons.wechat.common.UserSession[] getSessions(String source) throws com.gitlab.summercattle.commons.exception.CommonException
source - 来源com.gitlab.summercattle.commons.exception.CommonException - 异常String getOpenId(String source, com.gitlab.summercattle.addons.wechat.common.AppType type, int userType, String userInfo) throws com.gitlab.summercattle.commons.exception.CommonException
source - 来源type - 类型userType - 用户类型userInfo - 用户信息com.gitlab.summercattle.commons.exception.CommonException - 异常UserBindInfo getUserBindInfo(String source, com.gitlab.summercattle.addons.wechat.common.AppType type, String openId) throws com.gitlab.summercattle.commons.exception.CommonException
source - 来源type - 类型openId - 微信标识Idcom.gitlab.summercattle.commons.exception.CommonException - 异常Copyright © 2022 Summer Cattle Team. All rights reserved.