From a2467d4ab64321c5d2874952d710277dfcf4612a Mon Sep 17 00:00:00 2001 From: wans <747101512@qq.com> Date: Tue, 7 Sep 2021 17:20:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9test.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-test.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml index 49e27e1..5b773dd 100755 --- a/src/main/resources/application-test.yml +++ b/src/main/resources/application-test.yml @@ -83,11 +83,16 @@ file: # 安全 security: oauth2: - oauth-server: http://219.147.99.164:8082/usercenter + oauth-server: http://192.168.0.155:7001/usercenter oauth-logout: ${security.oauth2.oauth-server}/logout?redirect_uri=${server.url} client: - client-id: c024a89b35b04d4d8b5b4ea4d66a8acb - client-secret: MlMzaC9sYkxKMDZtQzlRLzJwVGVMbnhaVmhTZEJQR1BiT0c4SDgrRjd5VW1ac2wwZTJHWk5NbXh3L3h3U2c4Rg== + # http://219.147.99.164:8082/ + #client-id: c024a89b35b04d4d8b5b4ea4d66a8acb + #client-secret: MlMzaC9sYkxKMDZtQzlRLzJwVGVMbnhaVmhTZEJQR1BiT0c4SDgrRjd5VW1ac2wwZTJHWk5NbXh3L3h3U2c4Rg== + + # http://192.168.0.155:7001/ + client-id: 58dd894ddbbc469aa393e85e40ef7af9 + client-secret: dVJSMC9TK3NhSDQvMk41SXMra2pqaVhZQWdsSmRPUW4wZkk1SnMyY1c5UW1ac2wwZTJHWk5NbXh3L3h3U2c4Rg== user-authorization-uri: ${security.oauth2.oauth-server}/oauth_client/authorize access-token-uri: ${security.oauth2.oauth-server}/oauth_client/token grant-type: authorization_code @@ -100,7 +105,7 @@ security: check-token-access: ${security.oauth2.oauth-server}/oauth_client/token_key api-path: - user-center: http://219.147.99.164:8082/usercenter + user-center: http://192.168.0.155:7001/usercenter # 访问控制 access-control: