From d6feb6025542c0e4ea6716ec8e7cfad7dd0dc333 Mon Sep 17 00:00:00 2001 From: wans <747101512@qq.com> Date: Wed, 28 Apr 2021 09:41:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4yml=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 38455dd..04214c5 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,6 +1,6 @@ server: - port: 8086 - url: http://192.168.0.111:8086/population + port: 8080 + url: http://192.168.0.109:8080/population title: population servlet: context-path: /population @@ -20,11 +20,11 @@ spring: max-request-size: 1GB datasource: druid: - url: jdbc:mysql://118.89.242.44:3309/db_user_management?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false + url: jdbc:mysql://192.168.0.109/db_cloud_population?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false db-type: mysql driver-class-name: com.mysql.jdbc.Driver - username: usermanagement - password: 123456789 + username: root + password: 123456 initial-size: 2 min-idle: 2 max-active: 5 @@ -74,8 +74,8 @@ security: oauth-server: http://49.233.36.36:8868/usercenter oauth-logout: ${security.oauth2.oauth-server}/logout?redirect_uri=${server.url} client: - client-id: c5aacc8b267a43c2ab5faf55d852daa8 - client-secret: eWpaY0hiRzliWXUvQzAreDlDeGhnUjlTK3cxVUozVFNhVStPVVRWSU95OG1ac2wwZTJHWk5NbXh3L3h3U2c4Rg== + client-id: 3d24af9a292d40fbb58f133c63bb2abf + client-secret: elFGMTBpSGI0QlROWlpMeDh4WVArc25yMVRmeWVtOUl5RTl2ZG9uTzBiNG1ac2wwZTJHWk5NbXh3L3h3U2c4Rg== user-authorization-uri: ${security.oauth2.oauth-server}/oauth_client/authorize access-token-uri: ${security.oauth2.oauth-server}/oauth_client/token grant-type: authorization_code