@Controller
@RequestMapping(value="user")
public class UserController
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
private ConfigDataComponent |
configDataComponent |
private EmailComponent |
emailComponent |
protected LogOperateService |
logOperateService |
protected SafeConfigComponent |
safeConfigComponent |
private SysUserService |
service |
protected SiteComponent |
siteComponent |
private SysEmailTokenService |
sysEmailTokenService |
private SysUserTokenService |
sysUserTokenService |
private TemplateComponent |
templateComponent |
构造器和说明 |
---|
UserController() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
changePassword(SysSite site,
SysUser user,
java.lang.String oldpassword,
java.lang.String password,
java.lang.String repassword,
java.lang.String encoding,
java.lang.String returnUrl,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session,
javax.servlet.http.HttpServletResponse response,
org.springframework.web.servlet.mvc.support.RedirectAttributes model) |
java.lang.String |
deleteToken(SysSite site,
SysUser user,
java.lang.String authToken,
java.lang.String returnUrl,
javax.servlet.http.HttpServletRequest request,
org.springframework.web.servlet.mvc.support.RedirectAttributes model) |
java.lang.String |
saveEmail(SysSite site,
SysUser user,
java.lang.String email,
java.lang.String returnUrl,
javax.servlet.http.HttpServletRequest request,
org.springframework.web.servlet.mvc.support.RedirectAttributes model) |
java.lang.String |
update(SysSite site,
SysUser user,
java.lang.String nickname,
java.lang.String cover,
java.lang.String returnUrl,
javax.servlet.http.HttpServletRequest request,
org.springframework.web.servlet.mvc.support.RedirectAttributes model) |
java.lang.String |
verifyEmail(SysSite site,
java.lang.String authToken,
java.lang.String returnUrl,
javax.servlet.http.HttpServletRequest request,
org.springframework.web.servlet.mvc.support.RedirectAttributes model) |
private SysUserService service
private SysUserTokenService sysUserTokenService
private EmailComponent emailComponent
private TemplateComponent templateComponent
private SysEmailTokenService sysEmailTokenService
private ConfigDataComponent configDataComponent
protected SafeConfigComponent safeConfigComponent
protected LogOperateService logOperateService
protected SiteComponent siteComponent
@PostMapping(value="changePassword") public java.lang.String changePassword(@RequestAttribute SysSite site, @SessionAttribute SysUser user, java.lang.String oldpassword, java.lang.String password, java.lang.String repassword, java.lang.String encoding, java.lang.String returnUrl, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpSession session, javax.servlet.http.HttpServletResponse response, org.springframework.web.servlet.mvc.support.RedirectAttributes model)
site
- user
- oldpassword
- password
- repassword
- encoding
- returnUrl
- request
- session
- response
- model
- @RequestMapping(value="update") public java.lang.String update(@RequestAttribute SysSite site, @SessionAttribute SysUser user, java.lang.String nickname, java.lang.String cover, java.lang.String returnUrl, javax.servlet.http.HttpServletRequest request, org.springframework.web.servlet.mvc.support.RedirectAttributes model)
site
- user
- nickname
- cover
- returnUrl
- request
- model
- @PostMapping(value="saveEmail") public java.lang.String saveEmail(@RequestAttribute SysSite site, @SessionAttribute SysUser user, java.lang.String email, java.lang.String returnUrl, javax.servlet.http.HttpServletRequest request, org.springframework.web.servlet.mvc.support.RedirectAttributes model)
site
- user
- email
- returnUrl
- request
- model
- @RequestMapping(value="verifyEmail") public java.lang.String verifyEmail(@RequestAttribute SysSite site, java.lang.String authToken, java.lang.String returnUrl, javax.servlet.http.HttpServletRequest request, org.springframework.web.servlet.mvc.support.RedirectAttributes model)
site
- authToken
- returnUrl
- request
- model
- @RequestMapping(value="deleteToken") public java.lang.String deleteToken(@RequestAttribute SysSite site, @SessionAttribute SysUser user, java.lang.String authToken, java.lang.String returnUrl, javax.servlet.http.HttpServletRequest request, org.springframework.web.servlet.mvc.support.RedirectAttributes model)
site
- user
- authToken
- returnUrl
- request
- model
-