From 21ec15bf40a696501f9eada29df48eb74af2dac6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E5=88=98=E6=B4=AA=E9=9D=92?= Date: Fri, 20 Sep 2019 13:56:55 +0800 Subject: [PATCH] =?utf8?q?fix:=20=E4=BF=AE=E6=AD=A3=E6=8E=A5=E5=8F=A3?= =?utf8?q?=E8=B0=83=E7=94=A8=E5=9C=B0=E5=9D=80=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../web/client/AuthnAccountRemoteRestTemplate.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gateway/src/main/java/com/supwisdom/institute/backend/gateway/authn/remote/web/client/AuthnAccountRemoteRestTemplate.java b/gateway/src/main/java/com/supwisdom/institute/backend/gateway/authn/remote/web/client/AuthnAccountRemoteRestTemplate.java index 65cf89f..6259608 100644 --- a/gateway/src/main/java/com/supwisdom/institute/backend/gateway/authn/remote/web/client/AuthnAccountRemoteRestTemplate.java +++ b/gateway/src/main/java/com/supwisdom/institute/backend/gateway/authn/remote/web/client/AuthnAccountRemoteRestTemplate.java @@ -37,7 +37,7 @@ public class AuthnAccountRemoteRestTemplate { final String url = this.url + StringUtils.replaceEach(path, new String[] {"{username}"}, new String[] {username}); log.debug(url); - return authnAccountRestTemplate.getForObject(this.url + path, JSONObject.class); + return authnAccountRestTemplate.getForObject(url, JSONObject.class); } catch (Exception e) { e.printStackTrace(); @@ -67,7 +67,7 @@ public class AuthnAccountRemoteRestTemplate { final String url = this.url + StringUtils.replaceEach(path, new String[] {"{username}"}, new String[] {username}); log.debug(url); - return authnAccountRestTemplate.getForObject(this.url + path, JSONObject.class); + return authnAccountRestTemplate.getForObject(url, JSONObject.class); } catch (Exception e) { e.printStackTrace(); @@ -82,7 +82,7 @@ public class AuthnAccountRemoteRestTemplate { final String url = this.url + StringUtils.replaceEach(path, new String[] {"{username}"}, new String[] {username}); log.debug(url); - return authnAccountRestTemplate.getForObject(this.url + path, JSONObject.class); + return authnAccountRestTemplate.getForObject(url, JSONObject.class); } catch (Exception e) { e.printStackTrace(); @@ -97,7 +97,7 @@ public class AuthnAccountRemoteRestTemplate { final String url = this.url + StringUtils.replaceEach(path, new String[] {"{username}"}, new String[] {username}); log.debug(url); - return authnAccountRestTemplate.getForObject(this.url + path, JSONObject.class); + return authnAccountRestTemplate.getForObject(url, JSONObject.class); } catch (Exception e) { e.printStackTrace(); @@ -112,7 +112,7 @@ public class AuthnAccountRemoteRestTemplate { final String url = this.url + StringUtils.replaceEach(path, new String[] {"{username}"}, new String[] {username}); log.debug(url); - return authnAccountRestTemplate.getForObject(this.url + path, JSONObject.class); + return authnAccountRestTemplate.getForObject(url, JSONObject.class); } catch (Exception e) { e.printStackTrace(); -- 2.17.1