diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml index 0821151..795b7b8 100644 --- a/src/main/resources/application-test.yml +++ b/src/main/resources/application-test.yml @@ -1,6 +1,6 @@ server: - port: 8085 - url: http://192.168.0.111:8085/partybuilding + port: 8092 + url: http://49.233.36.36:58092/partybuilding title: 包头党建 servlet: context-path: /partybuilding @@ -20,11 +20,11 @@ spring: max-request-size: 1GB datasource: druid: - url: jdbc:mysql://127.0.0.1:3306/db_party?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false + url: jdbc:mysql://127.0.0.1:3306/db_cloud_partybuilding?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false db-type: mysql driver-class-name: com.mysql.jdbc.Driver username: root - password: 123456 + password: root initial-size: 2 min-idle: 2 max-active: 5 @@ -61,7 +61,7 @@ swagger: # 文件 file: - uploadPath: /Users/wenc/Desktop/filetest + uploadPath: /Users/wanggeng/Desktop/UploadFiles imageTypes: png,jpg,jpeg,gif,blob videoTypes: mp4,rmvb audioTypes: mp3,wmv @@ -71,11 +71,11 @@ file: # 安全 security: oauth2: - oauth-server: http://49.233.36.36:8868/usercenter + oauth-server: http://49.233.36.36:58090/usercenter oauth-logout: ${security.oauth2.oauth-server}/logout?redirect_uri=${server.url} client: - client-id: bdbc8252b02d48abb42a800774e02ef8 - client-secret: ZUl5bjJ5enNJSk9zMEVxSFRGYkttTzd4aWs3eDVDRVpvYjJ4VC9Rem1Gc21ac2wwZTJHWk5NbXh3L3h3U2c4Rg== + client-id: 3bdb34e5b1894e51b0f24d9e1dc8316c + client-secret: THZQdG9IL3FxalRUOG5OYU0wWmtuTFcrNGtaK3FXRHFUcnhjK3VqZkxuQW1ac2wwZTJHWk5NbXh3L3h3U2c4Rg== user-authorization-uri: ${security.oauth2.oauth-server}/oauth_client/authorize access-token-uri: ${security.oauth2.oauth-server}/oauth_client/token grant-type: authorization_code