类 AbstractWxControlPanelController<LS extends LoginService>
- java.lang.Object
-
- net.guerlab.smart.wx.web.controller.AbstractWxControlPanelController<LS>
-
public abstract class AbstractWxControlPanelController<LS extends LoginService> extends Object
微信相关-控制面板- 作者:
- guer
-
-
字段概要
字段 修饰符和类型 字段 说明 protected net.guerlab.smart.wx.auth.utils.WxUserJwtHelperjwtHelperprotected LSloginServiceprotected static StringPREFIXprotected WxUserServicewxUserService
-
构造器概要
构造器 构造器 说明 AbstractWxControlPanelController()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected WxUserfindCurrentWxUser()net.guerlab.smart.wx.core.domain.WxUserDTOgetInfo()net.guerlab.smart.wx.core.domain.LoginResponselogin(String appId, String code, javax.servlet.http.HttpServletRequest request)net.guerlab.smart.wx.core.domain.LoginResponserefreshToken(String appId, String refreshToken)voidsetJwtHelper(net.guerlab.smart.wx.auth.utils.WxUserJwtHelper jwtHelper)voidsetLoginService(LS loginService)voidsetWxUserService(WxUserService wxUserService)
-
-
-
字段详细资料
-
jwtHelper
protected net.guerlab.smart.wx.auth.utils.WxUserJwtHelper jwtHelper
-
wxUserService
protected WxUserService wxUserService
-
loginService
protected LS extends LoginService loginService
-
-
方法详细资料
-
login
@IgnoreLogin @GetMapping("/{appId}/login/{code}") public net.guerlab.smart.wx.core.domain.LoginResponse login(@PathVariable String appId, @PathVariable String code, javax.servlet.http.HttpServletRequest request)
-
refreshToken
@IgnoreLogin @GetMapping("/{appId}/refreshToken") public net.guerlab.smart.wx.core.domain.LoginResponse refreshToken(@PathVariable String appId, @RequestHeader("refreshToken") String refreshToken)
-
getInfo
@GetMapping public net.guerlab.smart.wx.core.domain.WxUserDTO getInfo()
-
findCurrentWxUser
protected WxUser findCurrentWxUser()
-
setJwtHelper
@Autowired public void setJwtHelper(net.guerlab.smart.wx.auth.utils.WxUserJwtHelper jwtHelper)
-
setWxUserService
@Autowired public void setWxUserService(WxUserService wxUserService)
-
setLoginService
@Autowired public void setLoginService(LS loginService)
-
-