Commit 5f4ac796a188e61163cf4f9f7a1d15544e7abfed
1 parent
f892a3e3
端口号修改
Showing
2 changed files
with
4 additions
and
4 deletions
src/main/java/com/cnlive/shenhe/ShenheApplication.java
| @@ -23,13 +23,13 @@ public class ShenheApplication extends SpringBootServletInitializer { | @@ -23,13 +23,13 @@ public class ShenheApplication extends SpringBootServletInitializer { | ||
| 23 | private static final String CAS_SERVER_URL_PREFIX = "https://user.cnlive.com/OpenSSO2"; | 23 | private static final String CAS_SERVER_URL_PREFIX = "https://user.cnlive.com/OpenSSO2"; |
| 24 | private static final String CAS_SERVER_LOGIN_URL = "https://user.cnlive.com/OpenSSO2/login"; | 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:81"; | 26 | + private static final String SERVER_NAME = "http://shen.cnlive.com"; |
| 27 | 27 | ||
| 28 | //登录入口 | 28 | //登录入口 |
| 29 | - private static final String SERVICE_LOGIN = "http://shen.cnlive.com:81/users/login"; | 29 | + private static final String SERVICE_LOGIN = "http://shen.cnlive.com/users/login"; |
| 30 | 30 | ||
| 31 | //登出 | 31 | //登出 |
| 32 | - private static final String SERVICE_LOGINOUT = "http://shen.cnlive.com:81/users/logout"; | 32 | + private static final String SERVICE_LOGINOUT = "http://shen.cnlive.com/users/logout"; |
| 33 | 33 | ||
| 34 | 34 | ||
| 35 | /** | 35 | /** |
src/main/resources/application.properties
| @@ -23,7 +23,7 @@ spring.thymeleaf.cache=false | @@ -23,7 +23,7 @@ spring.thymeleaf.cache=false | ||
| 23 | 23 | ||
| 24 | mybatis.mapper-locations=classpath:mapping/*.xml | 24 | mybatis.mapper-locations=classpath:mapping/*.xml |
| 25 | mybatis.type-aliases-package=com.cnlive.shenhe.entity | 25 | mybatis.type-aliases-package=com.cnlive.shenhe.entity |
| 26 | -server.port=81 | 26 | +server.port=80 |
| 27 | 27 | ||
| 28 | sync_users_api=http://api.cnlive.com/open/api2/inner2/shenhe/getuser | 28 | sync_users_api=http://api.cnlive.com/open/api2/inner2/shenhe/getuser |
| 29 | sync_users_app_key=314a9dd4-a9b7-4c12-bbbe-1150a36491ae | 29 | sync_users_app_key=314a9dd4-a9b7-4c12-bbbe-1150a36491ae |