Commit 114b5b3de79d79e509e500e11de37ab3af8d9c66
1 parent
c54c19e8
update
Showing
1 changed file
with
3 additions
and
3 deletions
src/main/java/com/cnlive/shenhe/controller/UsersController.java
| ... | ... | @@ -37,7 +37,7 @@ public class UsersController { |
| 37 | 37 | public String index(HttpServletRequest request) { |
| 38 | 38 | AttributePrincipal principal = (AttributePrincipal) request.getUserPrincipal(); |
| 39 | 39 | if (CommonUtils.isNull(principal)) { |
| 40 | - return "redirect:https://user.cnlive.com/OpenSSO2/login?service=http://test.shen.cnlive.com/users/login"; | |
| 40 | + return "redirect:https://user.cnlive.com/OpenSSO2/login?service=http://shen.cnlive.com/users/login"; | |
| 41 | 41 | } |
| 42 | 42 | //用户ID |
| 43 | 43 | String id = principal.getName(); |
| ... | ... | @@ -53,7 +53,7 @@ public class UsersController { |
| 53 | 53 | sessionUser.setLogo(user.getUser_logo()); |
| 54 | 54 | sessionUser.setMaster(user.getMaster()); |
| 55 | 55 | request.getSession().setAttribute(SessionUser.SESSION_KEY, sessionUser); |
| 56 | - return "redirect:http://test.shen.cnlive.com/videos/page?state=0"; | |
| 56 | + return "redirect:http://shen.cnlive.com/videos/page?state=0"; | |
| 57 | 57 | } |
| 58 | 58 | } |
| 59 | 59 | return "page/error.html"; |
| ... | ... | @@ -62,7 +62,7 @@ public class UsersController { |
| 62 | 62 | @RequestMapping("/logout") |
| 63 | 63 | public String logout(HttpSession session) { |
| 64 | 64 | session.invalidate(); |
| 65 | - return "redirect:https://user.cnlive.com/OpenSSO2/logout?service=http://test.shen.cnlive.com/users/login"; | |
| 65 | + return "redirect:https://user.cnlive.com/OpenSSO2/logout?service=http://shen.cnlive.com/users/login"; | |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | ... | ... |