类 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 Object implements LoginService
抽象微信登录服务实现- 作者:
- guer
-
-
字段概要
字段 修饰符和类型 字段 说明 protected WxUserJwtHelperjwtHelperprotected WxAppServicewxAppServiceprotected WxUserLoginLogServicewxUserLoginLogServiceprotected WxUserServicewxUserService
-
构造器概要
构造器 构造器 说明 AbstractWxLoginServiceImpl()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 LoginResponsebuildLoginResponse(WxUser user)构造登录响应protected WxAppgetWxApp(String appId)voidsetJwtHelper(WxUserJwtHelper jwtHelper)voidsetWxAppService(WxAppService wxAppService)voidsetWxUserLoginLogService(WxUserLoginLogService wxUserLoginLogService)voidsetWxUserService(WxUserService wxUserService)protected voidupdateUserInfo(WxUser wxUser, String openId, String unionId, boolean updateActivated, String ip, String referer)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.guerlab.smart.wx.service.service.LoginService
login
-
-
-
-
字段详细资料
-
jwtHelper
protected WxUserJwtHelper jwtHelper
-
wxUserService
protected WxUserService wxUserService
-
wxAppService
protected WxAppService wxAppService
-
wxUserLoginLogService
protected WxUserLoginLogService wxUserLoginLogService
-
-
方法详细资料
-
updateUserInfo
protected void updateUserInfo(WxUser wxUser, String openId, String unionId, boolean updateActivated, String ip, String referer)
-
buildLoginResponse
public LoginResponse buildLoginResponse(WxUser user)
从接口复制的说明:LoginService构造登录响应- 指定者:
buildLoginResponse在接口中LoginService- 参数:
user- appId- 返回:
- 登录响应
-
setJwtHelper
@Autowired public void setJwtHelper(WxUserJwtHelper jwtHelper)
-
setWxUserService
@Autowired public void setWxUserService(WxUserService wxUserService)
-
setWxAppService
@Autowired public void setWxAppService(WxAppService wxAppService)
-
setWxUserLoginLogService
@Autowired public void setWxUserLoginLogService(WxUserLoginLogService wxUserLoginLogService)
-
-