From d879c6dd7f2c21b19c9bc16d6366771d18cf32bb Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Wed, 19 Aug 2020 15:25:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=BB=98=E8=AE=A4=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/codetemplate/base/application.ftl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/base/application.ftl b/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/base/application.ftl index 0e9d861..7d5d5bd 100755 --- a/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/base/application.ftl +++ b/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/base/application.ftl @@ -76,16 +76,16 @@ security: client: client-id: ${clientId} client-secret: ${clientSecret} - user-authorization-uri: ${r"${security.oauth2.oauth-server}/oauth/authorize"} - access-token-uri: ${r"${security.oauth2.oauth-server}/oauth/token"} + user-authorization-uri: ${r"${security.oauth2.oauth-server}/oauth_client/authorize"} + access-token-uri: ${r"${security.oauth2.oauth-server}/oauth_client/token"} grant-type: authorization_code resource: jwt: - key-uri: ${r"${security.oauth2.oauth-server}/oauth/token_key"} - token-info-uri: ${r"${security.oauth2.oauth-server}/oauth/check_token"} + key-uri: ${r"${security.oauth2.oauth-server}/oauth_client/token_key"} + token-info-uri: ${r"${security.oauth2.oauth-server}/oauth_client/check_token"} user-info-uri: ${r"${security.oauth2.oauth-server}/user"} authorization: - check-token-access: ${r"${security.oauth2.oauth-server}/oauth/token_key"} + check-token-access: ${r"${security.oauth2.oauth-server}/oauth_client/token_key"} api-path: user-center: ${r"${security.oauth2.oauth-server}"}