主题 : 前台退出*码在哪 |
级别: 童生
![]() |
4# 发表于:2016-09-14 11:32:47 IP:219.36.*.*
回复第2楼
${base}/logout.jspx?returnUrl=/ 退到哪里了 |
||
---|---|---|---|
级别: 版主
![]() |
5# 发表于:2016-09-14 11:33:06 IP:59.110.*.*
/v7/WebContent/WEB-INF/t/cms/www/default/include/header_register.html
|
||
---|---|---|---|
级别: 童生
![]() |
8# 发表于:2016-09-14 11:34:49 IP:219.36.*.*
回复第5楼
${base}/logout.jspx?returnUrl=/ 跳转到哪个action |
||
---|---|---|---|
级别: 版主
![]() |
9# 发表于:2016-09-14 11:37:06 IP:59.110.*.*
/v7/src/com/jeecms/core/action/front/LoginAct.java
|
||
---|---|---|---|
级别: 童生
![]() |
10# 发表于:2016-09-14 11:38:37 IP:219.36.*.*
回复第9楼
但是打断点,没有走这个方法呀?? @RequestMapping(value = "/logout.jspx") public String logout(HttpServletRequest request, HttpServletResponse response) { String authId = (String) session.getAttribute(request, AUTH_KEY); if (authId != null) { authMng.deleteById(authId); session.logout(request, response); } String processUrl = RequestUtils.getQueryParam(request, PROCESS_URL); String returnUrl = RequestUtils.getQueryParam(request, RETURN_URL); String view = getView(processUrl, returnUrl, authId); if (view != null) { return view; } else { return "redirect:login.jspx"; } } |
||
---|---|---|---|