类 AbstractWxLoginServiceImpl
java.lang.Object
net.guerlab.smart.wx.service.service.impl.AbstractWxLoginServiceImpl
- 所有已实现的接口:
LoginService
- 直接已知子类:
WxMaLoginServiceImpl,WxMpLoginServiceImpl
@Transactional(rollbackFor=java.lang.Exception.class) public abstract class AbstractWxLoginServiceImpl extends java.lang.Object implements LoginService
抽象微信登录服务实现
- 作者:
- guer
-
字段概要
字段 修饰符和类型 字段 说明 protected WxAppServicewxAppServiceprotected WxUserLoginLogServicewxUserLoginLogServiceprotected WxUserServicewxUserService -
构造器概要
构造器 构造器 说明 AbstractWxLoginServiceImpl() -
方法概要
修饰符和类型 方法 说明 net.guerlab.smart.wx.core.domain.LoginResponsebuildLoginResponse(WxUser user, net.guerlab.smart.platform.auth.factory.TokenFactory<net.guerlab.smart.wx.core.entity.IWxUserTokenInfo> tokenFactory, java.lang.String ip)构造登录响应protected net.guerlab.smart.platform.auth.factory.TokenFactory<net.guerlab.smart.wx.core.entity.IWxUserTokenInfo>getDefaultTokenFactory(java.lang.String ip)protected WxAppgetWxApp(java.lang.String appId)voidsetWxAppService(WxAppService wxAppService)voidsetWxUserLoginLogService(WxUserLoginLogService wxUserLoginLogService)voidsetWxUserService(WxUserService wxUserService)protected voidupdateUserInfo(WxUser wxUser, java.lang.String openId, java.lang.String unionId, boolean updateActivated, java.lang.String ip, java.lang.String referer)
-
字段详细资料
-
构造器详细资料
-
AbstractWxLoginServiceImpl
public AbstractWxLoginServiceImpl()
-
-
方法详细资料
-
updateUserInfo
protected void updateUserInfo(WxUser wxUser, java.lang.String openId, java.lang.String unionId, boolean updateActivated, java.lang.String ip, java.lang.String referer) -
buildLoginResponse
public net.guerlab.smart.wx.core.domain.LoginResponse buildLoginResponse(WxUser user, net.guerlab.smart.platform.auth.factory.TokenFactory<net.guerlab.smart.wx.core.entity.IWxUserTokenInfo> tokenFactory, java.lang.String ip)从接口复制的说明:LoginService构造登录响应- 指定者:
buildLoginResponse在接口中LoginService- 参数:
user- appIdtokenFactory- token工厂ip- 登录IP- 返回:
- 登录响应
-
getDefaultTokenFactory
protected final net.guerlab.smart.platform.auth.factory.TokenFactory<net.guerlab.smart.wx.core.entity.IWxUserTokenInfo> getDefaultTokenFactory(java.lang.String ip) -
getWxApp
-
setWxUserService
-
setWxAppService
-
setWxUserLoginLogService
-