Commit 9c8cbc0e90ea7022bc2617a6684232d353d7a788

Authored by 王通
1 parent 2484b165

1.变更统一登录平台地址到正式环境

src/main/java/com/bsth/controller/sys/UserController.java
... ... @@ -94,6 +94,7 @@ public class UserController extends BaseController<SysUser, Integer> {
94 94 StringBuilder sb = HttpClientUtils.post(ssoConfig.getSsoAuthUrl(), mapper.writeValueAsString(param));
95 95  
96 96 Assert.notNull(sb, "统一登录平台验证数据不为空");
  97 + logger.info(String.format("统一登录平台:%s", sb.toString()));
97 98 param = mapper.readValue(mapper.writeValueAsString(mapper.readValue(sb.toString(), Map.class).get("data")), Map.class);
98 99 String jobCode = (String) param.get("account"), realName = (String) param.get("userName");
99 100 if (!account.equals(jobCode)) {
... ...
src/main/resources/application-cloud.properties
... ... @@ -64,8 +64,8 @@ admin.mail= 3090342880@qq.com
64 64 ## enabled
65 65 enabled.whiteip= true
66 66  
67   -sso.enabled= false
68   -sso.systemcode = SYS0019
69   -sso.http.url.login= http://180.169.154.251:28090/portal/index.html#/login
70   -sso.http.url.logout= http://180.169.154.251:18080/information/api/v1/logout
71   -sso.http.url.auth= http://180.169.154.251:18080/information/authenticate/authorityAuthentication
72 67 \ No newline at end of file
  68 +sso.enabled= true
  69 +sso.systemcode = SYS0023
  70 +sso.http.url.login= https://112.64.45.51/portal/index.html#/login
  71 +sso.http.url.logout= https://112.64.45.51/information/api/v1/logout
  72 +sso.http.url.auth= https://112.64.45.51/information/authenticate/authorityAuthentication
73 73 \ No newline at end of file
... ...
src/main/resources/application-test.properties
... ... @@ -64,8 +64,8 @@ admin.mail= 3090342880@qq.com
64 64 ## enabled
65 65 enabled.whiteip= false
66 66  
67   -sso.enabled= false
68   -sso.systemcode = SYS0019
69   -sso.http.url.login= http://180.169.154.251:28090/portal/index.html#/login
70   -sso.http.url.logout= http://180.169.154.251:18080/information/api/v1/logout
71   -sso.http.url.auth= http://180.169.154.251:18080/information/authenticate/authorityAuthentication
72 67 \ No newline at end of file
  68 +sso.enabled= true
  69 +sso.systemcode = SYS0023
  70 +sso.http.url.login= https://112.64.45.51/portal/index.html#/login
  71 +sso.http.url.logout= https://112.64.45.51/information/api/v1/logout
  72 +sso.http.url.auth= https://112.64.45.51/information/authenticate/authorityAuthentication
73 73 \ No newline at end of file
... ...