Commit dd2973b136a0c169c49f1602e7aabdcc883eec72

Authored by 周伟鹏
1 parent e264ef45

update

src/main/java/com/cnlive/shenhe/ShenheApplication.java
... ... @@ -23,13 +23,13 @@ public class ShenheApplication extends SpringBootServletInitializer {
23 23 private static final String CAS_SERVER_URL_PREFIX = "https://user.cnlive.com/OpenSSO2";
24 24 private static final String CAS_SERVER_LOGIN_URL = "https://user.cnlive.com/OpenSSO2/login";
25 25 //本机的名称
26   - private static final String SERVER_NAME = "http://shen.cnlive.com";
  26 + private static final String SERVER_NAME = "http://shen.cnlive.com:81";
27 27  
28 28 //登录入口
29   - private static final String SERVICE_LOGIN = "http://shen.cnlive.com/users/login";
  29 + private static final String SERVICE_LOGIN = "http://shen.cnlive.com:81/users/login";
30 30  
31 31 //登出
32   - private static final String SERVICE_LOGINOUT = "http://shen.cnlive.com/users/logout";
  32 + private static final String SERVICE_LOGINOUT = "http://shen.cnlive.com:81/users/logout";
33 33  
34 34  
35 35 /**
... ...
src/main/java/com/cnlive/shenhe/controller/UsersController.java
... ... @@ -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:/videos/page";
  56 + return "redirect:http://shen.cnlive.com/videos/page";
57 57 }
58 58 }
59 59 return "page/error.html";
... ...
src/main/resources/application.properties
... ... @@ -23,7 +23,7 @@ spring.thymeleaf.cache=false
23 23  
24 24 mybatis.mapper-locations=classpath:mapping/*.xml
25 25 mybatis.type-aliases-package=com.cnlive.shenhe.entity
26   -server.port=80
  26 +server.port=81
27 27  
28 28 sync_users_api=http://api.cnlive.com/open/api2/inner2/shenhe/getuser
29 29 sync_users_app_key=314a9dd4-a9b7-4c12-bbbe-1150a36491ae
... ...