Commit d8c10560 by yuwei

项目初始化

parent db4a9fe1
...@@ -22,11 +22,11 @@ eureka: ...@@ -22,11 +22,11 @@ eureka:
# 设置使用IP # 设置使用IP
prefer-ip-address: true prefer-ip-address: true
# 设置外网IP号 # 设置外网IP号
ip-address: 61.164.216.254 ip-address: localhost
client: client:
register-with-eureka: true register-with-eureka: true
fetch-registry: true fetch-registry: true
instance-info-replication-interval-seconds: 30 instance-info-replication-interval-seconds: 30
registry-fetch-interval-seconds: 3 registry-fetch-interval-seconds: 3
service-url: service-url:
defaultZone: http://61.164.216.254:8610/eureka defaultZone: http://localhost:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: 61.164.216.254 host: localhost
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -18,7 +18,7 @@ spring: ...@@ -18,7 +18,7 @@ spring:
datasource: datasource:
mysql: mysql:
driver-class-name: com.p6spy.engine.spy.P6SpyDriver driver-class-name: com.p6spy.engine.spy.P6SpyDriver
url: jdbc:p6spy:mysql://61.164.216.254:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root username: root
password: 1234@abcd password: 1234@abcd
...@@ -42,14 +42,14 @@ mybatis-plus: ...@@ -42,14 +42,14 @@ mybatis-plus:
security: security:
oauth2: oauth2:
client: client:
access-token-uri: http://61.164.216.254:8612/auth/oauth/token access-token-uri: http://localhost:8612/auth/oauth/token
user-authorization-uri: http://61.164.216.254:8612/auth/oauth/authorize user-authorization-uri: http://localhost:8612/auth/oauth/authorize
client-id: datax client-id: datax
client-secret: 123456 client-secret: 123456
scope: all scope: all
resource: resource:
loadBalanced: true loadBalanced: true
token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token token-info-uri: http://localhost:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: 61.164.216.254 host: localhost
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -18,7 +18,7 @@ spring: ...@@ -18,7 +18,7 @@ spring:
datasource: datasource:
mysql: mysql:
driver-class-name: com.p6spy.engine.spy.P6SpyDriver driver-class-name: com.p6spy.engine.spy.P6SpyDriver
url: jdbc:p6spy:mysql://61.164.216.254:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root username: root
password: 1234@abcd password: 1234@abcd
...@@ -42,14 +42,14 @@ mybatis-plus: ...@@ -42,14 +42,14 @@ mybatis-plus:
security: security:
oauth2: oauth2:
client: client:
access-token-uri: http://61.164.216.254:8612/auth/oauth/token access-token-uri: http://localhost:8612/auth/oauth/token
user-authorization-uri: http://61.164.216.254:8612/auth/oauth/authorize user-authorization-uri: http://localhost:8612/auth/oauth/authorize
client-id: datax client-id: datax
client-secret: 123456 client-secret: 123456
scope: all scope: all
resource: resource:
loadBalanced: true loadBalanced: true
token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token token-info-uri: http://localhost:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: 61.164.216.254 host: localhost
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -13,7 +13,7 @@ spring: ...@@ -13,7 +13,7 @@ spring:
max-idle: 10 # 连接池中的最大空闲连接 max-idle: 10 # 连接池中的最大空闲连接
min-idle: 5 # 连接池中的最小空闲连接 min-idle: 5 # 连接池中的最小空闲连接
rabbitmq: rabbitmq:
host: 61.164.216.254 host: localhost
port: 5672 port: 5672
username: admin username: admin
password: 1234@abcd password: 1234@abcd
...@@ -28,7 +28,7 @@ spring: ...@@ -28,7 +28,7 @@ spring:
datasource: datasource:
mysql: mysql:
driver-class-name: com.p6spy.engine.spy.P6SpyDriver driver-class-name: com.p6spy.engine.spy.P6SpyDriver
url: jdbc:p6spy:mysql://61.164.216.254:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root username: root
password: 1234@abcd password: 1234@abcd
...@@ -52,14 +52,14 @@ mybatis-plus: ...@@ -52,14 +52,14 @@ mybatis-plus:
security: security:
oauth2: oauth2:
client: client:
access-token-uri: http://61.164.216.254:8612/auth/oauth/token access-token-uri: http://localhost:8612/auth/oauth/token
user-authorization-uri: http://61.164.216.254:8612/auth/oauth/authorize user-authorization-uri: http://localhost:8612/auth/oauth/authorize
client-id: datax client-id: datax
client-secret: 123456 client-secret: 123456
scope: all scope: all
resource: resource:
loadBalanced: true loadBalanced: true
token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token token-info-uri: http://localhost:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: 61.164.216.254 host: localhost
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -13,7 +13,7 @@ spring: ...@@ -13,7 +13,7 @@ spring:
max-idle: 10 # 连接池中的最大空闲连接 max-idle: 10 # 连接池中的最大空闲连接
min-idle: 5 # 连接池中的最小空闲连接 min-idle: 5 # 连接池中的最小空闲连接
rabbitmq: rabbitmq:
host: 61.164.216.254 host: localhost
port: 5672 port: 5672
username: admin username: admin
password: 1234@abcd password: 1234@abcd
...@@ -27,7 +27,7 @@ spring: ...@@ -27,7 +27,7 @@ spring:
datasource: datasource:
mysql: mysql:
driver-class-name: com.p6spy.engine.spy.P6SpyDriver driver-class-name: com.p6spy.engine.spy.P6SpyDriver
url: jdbc:p6spy:mysql://61.164.216.254:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root username: root
password: 1234@abcd password: 1234@abcd
...@@ -51,14 +51,14 @@ mybatis-plus: ...@@ -51,14 +51,14 @@ mybatis-plus:
security: security:
oauth2: oauth2:
client: client:
access-token-uri: http://61.164.216.254:8612/auth/oauth/token access-token-uri: http://localhost:8612/auth/oauth/token
user-authorization-uri: http://61.164.216.254:8612/auth/oauth/authorize user-authorization-uri: http://localhost:8612/auth/oauth/authorize
client-id: datax client-id: datax
client-secret: 123456 client-secret: 123456
scope: all scope: all
resource: resource:
loadBalanced: true loadBalanced: true
token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token token-info-uri: http://localhost:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: 61.164.216.254 host: localhost
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -13,7 +13,7 @@ spring: ...@@ -13,7 +13,7 @@ spring:
max-idle: 10 # 连接池中的最大空闲连接 max-idle: 10 # 连接池中的最大空闲连接
min-idle: 5 # 连接池中的最小空闲连接 min-idle: 5 # 连接池中的最小空闲连接
rabbitmq: rabbitmq:
host: 61.164.216.254 host: localhost
port: 5672 port: 5672
username: admin username: admin
password: 1234@abcd password: 1234@abcd
...@@ -28,7 +28,7 @@ spring: ...@@ -28,7 +28,7 @@ spring:
datasource: datasource:
mysql: mysql:
driver-class-name: com.p6spy.engine.spy.P6SpyDriver driver-class-name: com.p6spy.engine.spy.P6SpyDriver
url: jdbc:p6spy:mysql://61.164.216.254:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root username: root
password: 1234@abcd password: 1234@abcd
...@@ -52,14 +52,14 @@ mybatis-plus: ...@@ -52,14 +52,14 @@ mybatis-plus:
security: security:
oauth2: oauth2:
client: client:
access-token-uri: http://61.164.216.254:8612/auth/oauth/token access-token-uri: http://localhost:8612/auth/oauth/token
user-authorization-uri: http://61.164.216.254:8612/auth/oauth/authorize user-authorization-uri: http://localhost:8612/auth/oauth/authorize
client-id: datax client-id: datax
client-secret: 123456 client-secret: 123456
scope: all scope: all
resource: resource:
loadBalanced: true loadBalanced: true
token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token token-info-uri: http://localhost:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: 61.164.216.254 host: localhost
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -18,7 +18,7 @@ spring: ...@@ -18,7 +18,7 @@ spring:
datasource: datasource:
mysql: mysql:
driver-class-name: com.p6spy.engine.spy.P6SpyDriver driver-class-name: com.p6spy.engine.spy.P6SpyDriver
url: jdbc:p6spy:mysql://61.164.216.254:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root username: root
password: 1234@abcd password: 1234@abcd
...@@ -42,14 +42,14 @@ mybatis-plus: ...@@ -42,14 +42,14 @@ mybatis-plus:
security: security:
oauth2: oauth2:
client: client:
access-token-uri: http://61.164.216.254:8612/auth/oauth/token access-token-uri: http://localhost:8612/auth/oauth/token
user-authorization-uri: http://61.164.216.254:8612/auth/oauth/authorize user-authorization-uri: http://localhost:8612/auth/oauth/authorize
client-id: datax client-id: datax
client-secret: 123456 client-secret: 123456
scope: all scope: all
resource: resource:
loadBalanced: true loadBalanced: true
token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token token-info-uri: http://localhost:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: 61.164.216.254 host: localhost
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -18,7 +18,7 @@ spring: ...@@ -18,7 +18,7 @@ spring:
datasource: datasource:
mysql: mysql:
driver-class-name: com.p6spy.engine.spy.P6SpyDriver driver-class-name: com.p6spy.engine.spy.P6SpyDriver
url: jdbc:p6spy:mysql://61.164.216.254:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root username: root
password: 1234@abcd password: 1234@abcd
...@@ -42,14 +42,14 @@ mybatis-plus: ...@@ -42,14 +42,14 @@ mybatis-plus:
security: security:
oauth2: oauth2:
client: client:
access-token-uri: http://61.164.216.254:8612/auth/oauth/token access-token-uri: http://localhost:8612/auth/oauth/token
user-authorization-uri: http://61.164.216.254:8612/auth/oauth/authorize user-authorization-uri: http://localhost:8612/auth/oauth/authorize
client-id: datax client-id: datax
client-secret: 123456 client-secret: 123456
scope: all scope: all
resource: resource:
loadBalanced: true loadBalanced: true
token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token token-info-uri: http://localhost:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: 61.164.216.254 host: localhost
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -18,7 +18,7 @@ spring: ...@@ -18,7 +18,7 @@ spring:
datasource: datasource:
mysql: mysql:
driver-class-name: com.p6spy.engine.spy.P6SpyDriver driver-class-name: com.p6spy.engine.spy.P6SpyDriver
url: jdbc:p6spy:mysql://61.164.216.254:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root username: root
password: 1234@abcd password: 1234@abcd
...@@ -42,14 +42,14 @@ mybatis-plus: ...@@ -42,14 +42,14 @@ mybatis-plus:
security: security:
oauth2: oauth2:
client: client:
access-token-uri: http://61.164.216.254:8612/auth/oauth/token access-token-uri: http://localhost:8612/auth/oauth/token
user-authorization-uri: http://61.164.216.254:8612/auth/oauth/authorize user-authorization-uri: http://localhost:8612/auth/oauth/authorize
client-id: datax client-id: datax
client-secret: 123456 client-secret: 123456
scope: all scope: all
resource: resource:
loadBalanced: true loadBalanced: true
token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token token-info-uri: http://localhost:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: 61.164.216.254 host: localhost
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -18,7 +18,7 @@ spring: ...@@ -18,7 +18,7 @@ spring:
datasource: datasource:
mysql: mysql:
driver-class-name: com.p6spy.engine.spy.P6SpyDriver driver-class-name: com.p6spy.engine.spy.P6SpyDriver
url: jdbc:p6spy:mysql://61.164.216.254:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root username: root
password: 1234@abcd password: 1234@abcd
...@@ -42,14 +42,14 @@ mybatis-plus: ...@@ -42,14 +42,14 @@ mybatis-plus:
security: security:
oauth2: oauth2:
client: client:
access-token-uri: http://61.164.216.254:8612/auth/oauth/token access-token-uri: http://localhost:8612/auth/oauth/token
user-authorization-uri: http://61.164.216.254:8612/auth/oauth/authorize user-authorization-uri: http://localhost:8612/auth/oauth/authorize
client-id: datax client-id: datax
client-secret: 123456 client-secret: 123456
scope: all scope: all
resource: resource:
loadBalanced: true loadBalanced: true
token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token token-info-uri: http://localhost:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -13,7 +13,7 @@ spring: ...@@ -13,7 +13,7 @@ spring:
properties.mail.smtp.ssl.enable: true properties.mail.smtp.ssl.enable: true
redis: redis:
database: 1 database: 1
host: 61.164.216.254 host: localhost
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -29,7 +29,7 @@ spring: ...@@ -29,7 +29,7 @@ spring:
datasource: datasource:
mysql: mysql:
driver-class-name: com.p6spy.engine.spy.P6SpyDriver driver-class-name: com.p6spy.engine.spy.P6SpyDriver
url: jdbc:p6spy:mysql://61.164.216.254:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root username: root
password: 1234@abcd password: 1234@abcd
...@@ -53,14 +53,14 @@ mybatis-plus: ...@@ -53,14 +53,14 @@ mybatis-plus:
security: security:
oauth2: oauth2:
client: client:
access-token-uri: http://61.164.216.254:8612/auth/oauth/token access-token-uri: http://localhost:8612/auth/oauth/token
user-authorization-uri: http://61.164.216.254:8612/auth/oauth/authorize user-authorization-uri: http://localhost:8612/auth/oauth/authorize
client-id: datax client-id: datax
client-secret: 123456 client-secret: 123456
scope: all scope: all
resource: resource:
loadBalanced: true loadBalanced: true
token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token token-info-uri: http://localhost:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: 61.164.216.254 host: localhost
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -18,7 +18,7 @@ spring: ...@@ -18,7 +18,7 @@ spring:
datasource: datasource:
mysql: mysql:
driver-class-name: com.p6spy.engine.spy.P6SpyDriver driver-class-name: com.p6spy.engine.spy.P6SpyDriver
url: jdbc:p6spy:mysql://61.164.216.254:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root username: root
password: 1234@abcd password: 1234@abcd
...@@ -42,14 +42,14 @@ mybatis-plus: ...@@ -42,14 +42,14 @@ mybatis-plus:
security: security:
oauth2: oauth2:
client: client:
access-token-uri: http://61.164.216.254:8612/auth/oauth/token access-token-uri: http://localhost:8612/auth/oauth/token
user-authorization-uri: http://61.164.216.254:8612/auth/oauth/authorize user-authorization-uri: http://localhost:8612/auth/oauth/authorize
client-id: datax client-id: datax
client-secret: 123456 client-secret: 123456
scope: all scope: all
resource: resource:
loadBalanced: true loadBalanced: true
token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token token-info-uri: http://localhost:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: 61.164.216.254 host: localhost
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -17,12 +17,12 @@ spring: ...@@ -17,12 +17,12 @@ spring:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
username: root username: root
password: 1234@abcd password: 1234@abcd
url: jdbc:mysql://61.164.216.254:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:mysql://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
quartz: quartz:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
username: root username: root
password: 1234@abcd password: 1234@abcd
url: jdbc:mysql://61.164.216.254:3306/data_cloud_quartz?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:mysql://localhost:3306/data_cloud_quartz?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
quartz: quartz:
job-store-type: jdbc job-store-type: jdbc
jdbc: jdbc:
...@@ -66,14 +66,14 @@ mybatis-plus: ...@@ -66,14 +66,14 @@ mybatis-plus:
security: security:
oauth2: oauth2:
client: client:
access-token-uri: http://61.164.216.254:8612/auth/oauth/token access-token-uri: http://localhost:8612/auth/oauth/token
user-authorization-uri: http://61.164.216.254:8612/auth/oauth/authorize user-authorization-uri: http://localhost:8612/auth/oauth/authorize
client-id: datax client-id: datax
client-secret: 123456 client-secret: 123456
scope: all scope: all
resource: resource:
loadBalanced: true loadBalanced: true
token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token token-info-uri: http://localhost:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: 61.164.216.254 host: localhost
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -18,7 +18,7 @@ spring: ...@@ -18,7 +18,7 @@ spring:
datasource: datasource:
mysql: mysql:
driver-class-name: com.p6spy.engine.spy.P6SpyDriver driver-class-name: com.p6spy.engine.spy.P6SpyDriver
url: jdbc:p6spy:mysql://61.164.216.254:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root username: root
password: 1234@abcd password: 1234@abcd
...@@ -42,14 +42,14 @@ mybatis-plus: ...@@ -42,14 +42,14 @@ mybatis-plus:
security: security:
oauth2: oauth2:
client: client:
access-token-uri: http://61.164.216.254:8612/auth/oauth/token access-token-uri: http://localhost:8612/auth/oauth/token
user-authorization-uri: http://61.164.216.254:8612/auth/oauth/authorize user-authorization-uri: http://localhost:8612/auth/oauth/authorize
client-id: datax client-id: datax
client-secret: 123456 client-secret: 123456
scope: all scope: all
resource: resource:
loadBalanced: true loadBalanced: true
token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token token-info-uri: http://localhost:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: 61.164.216.254 host: localhost
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -13,7 +13,7 @@ spring: ...@@ -13,7 +13,7 @@ spring:
max-idle: 10 # 连接池中的最大空闲连接 max-idle: 10 # 连接池中的最大空闲连接
min-idle: 5 # 连接池中的最小空闲连接 min-idle: 5 # 连接池中的最小空闲连接
rabbitmq: rabbitmq:
host: 61.164.216.254 host: localhost
port: 5672 port: 5672
username: admin username: admin
password: 1234@abcd password: 1234@abcd
...@@ -27,7 +27,7 @@ spring: ...@@ -27,7 +27,7 @@ spring:
datasource: datasource:
mysql: mysql:
driver-class-name: com.p6spy.engine.spy.P6SpyDriver driver-class-name: com.p6spy.engine.spy.P6SpyDriver
url: jdbc:p6spy:mysql://61.164.216.254:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root username: root
password: 1234@abcd password: 1234@abcd
flowable: flowable:
...@@ -35,7 +35,7 @@ spring: ...@@ -35,7 +35,7 @@ spring:
username: root username: root
password: 1234@abcd password: 1234@abcd
# 如果不加这个参数,建表会失败:nullCatalogMeansCurrent=true # 如果不加这个参数,建表会失败:nullCatalogMeansCurrent=true
url: jdbc:mysql://61.164.216.254:3306/data_cloud_flowable?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true url: jdbc:mysql://localhost:3306/data_cloud_flowable?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
flowable: flowable:
# 关闭定时任务JOB # 关闭定时任务JOB
...@@ -63,14 +63,14 @@ mybatis-plus: ...@@ -63,14 +63,14 @@ mybatis-plus:
security: security:
oauth2: oauth2:
client: client:
access-token-uri: http://61.164.216.254:8612/auth/oauth/token access-token-uri: http://localhost:8612/auth/oauth/token
user-authorization-uri: http://61.164.216.254:8612/auth/oauth/authorize user-authorization-uri: http://localhost:8612/auth/oauth/authorize
client-id: datax client-id: datax
client-secret: 123456 client-secret: 123456
scope: all scope: all
resource: resource:
loadBalanced: true loadBalanced: true
token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token token-info-uri: http://localhost:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -22,11 +22,11 @@ eureka: ...@@ -22,11 +22,11 @@ eureka:
# 设置使用IP # 设置使用IP
prefer-ip-address: true prefer-ip-address: true
# 设置外网IP号 # 设置外网IP号
ip-address: 61.164.216.254 ip-address: localhost
client: client:
register-with-eureka: true register-with-eureka: true
fetch-registry: true fetch-registry: true
instance-info-replication-interval-seconds: 30 instance-info-replication-interval-seconds: 30
registry-fetch-interval-seconds: 3 registry-fetch-interval-seconds: 3
service-url: service-url:
defaultZone: http://61.164.216.254:8610/eureka defaultZone: http://localhost:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -20,11 +20,11 @@ eureka: ...@@ -20,11 +20,11 @@ eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true prefer-ip-address: true
ip-address: 61.164.216.254 ip-address: localhost
client: client:
register-with-eureka: true register-with-eureka: true
fetch-registry: true fetch-registry: true
instance-info-replication-interval-seconds: 30 instance-info-replication-interval-seconds: 30
registry-fetch-interval-seconds: 3 registry-fetch-interval-seconds: 3
service-url: service-url:
defaultZone: http://61.164.216.254:8610/eureka defaultZone: http://localhost:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -20,11 +20,11 @@ eureka: ...@@ -20,11 +20,11 @@ eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true prefer-ip-address: true
ip-address: 61.164.216.254 ip-address: localhost
client: client:
register-with-eureka: true register-with-eureka: true
fetch-registry: true fetch-registry: true
instance-info-replication-interval-seconds: 30 instance-info-replication-interval-seconds: 30
registry-fetch-interval-seconds: 3 registry-fetch-interval-seconds: 3
service-url: service-url:
defaultZone: http://61.164.216.254:8610/eureka defaultZone: http://localhost:8610/eureka
...@@ -20,11 +20,11 @@ eureka: ...@@ -20,11 +20,11 @@ eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true prefer-ip-address: true
ip-address: 61.164.216.254 ip-address: localhost
client: client:
register-with-eureka: true register-with-eureka: true
fetch-registry: true fetch-registry: true
instance-info-replication-interval-seconds: 30 instance-info-replication-interval-seconds: 30
registry-fetch-interval-seconds: 3 registry-fetch-interval-seconds: 3
service-url: service-url:
defaultZone: http://61.164.216.254:8610/eureka defaultZone: http://localhost:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -20,11 +20,11 @@ eureka: ...@@ -20,11 +20,11 @@ eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true prefer-ip-address: true
ip-address: 61.164.216.254 ip-address: localhost
client: client:
register-with-eureka: true register-with-eureka: true
fetch-registry: true fetch-registry: true
instance-info-replication-interval-seconds: 30 instance-info-replication-interval-seconds: 30
registry-fetch-interval-seconds: 3 registry-fetch-interval-seconds: 3
service-url: service-url:
defaultZone: http://61.164.216.254:8610/eureka defaultZone: http://localhost:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -20,11 +20,11 @@ eureka: ...@@ -20,11 +20,11 @@ eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true prefer-ip-address: true
ip-address: 61.164.216.254 ip-address: localhost
client: client:
register-with-eureka: true register-with-eureka: true
fetch-registry: true fetch-registry: true
instance-info-replication-interval-seconds: 30 instance-info-replication-interval-seconds: 30
registry-fetch-interval-seconds: 3 registry-fetch-interval-seconds: 3
service-url: service-url:
defaultZone: http://61.164.216.254:8610/eureka defaultZone: http://localhost:8610/eureka
...@@ -20,11 +20,11 @@ eureka: ...@@ -20,11 +20,11 @@ eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true prefer-ip-address: true
ip-address: 61.164.216.254 ip-address: localhost
client: client:
register-with-eureka: true register-with-eureka: true
fetch-registry: true fetch-registry: true
instance-info-replication-interval-seconds: 30 instance-info-replication-interval-seconds: 30
registry-fetch-interval-seconds: 3 registry-fetch-interval-seconds: 3
service-url: service-url:
defaultZone: http://61.164.216.254:8610/eureka defaultZone: http://localhost:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -20,11 +20,11 @@ eureka: ...@@ -20,11 +20,11 @@ eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true prefer-ip-address: true
ip-address: 61.164.216.254 ip-address: localhost
client: client:
register-with-eureka: true register-with-eureka: true
fetch-registry: true fetch-registry: true
instance-info-replication-interval-seconds: 30 instance-info-replication-interval-seconds: 30
registry-fetch-interval-seconds: 3 registry-fetch-interval-seconds: 3
service-url: service-url:
defaultZone: http://61.164.216.254:8610/eureka defaultZone: http://localhost:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -20,11 +20,11 @@ eureka: ...@@ -20,11 +20,11 @@ eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true prefer-ip-address: true
ip-address: 61.164.216.254 ip-address: localhost
client: client:
register-with-eureka: true register-with-eureka: true
fetch-registry: true fetch-registry: true
instance-info-replication-interval-seconds: 30 instance-info-replication-interval-seconds: 30
registry-fetch-interval-seconds: 3 registry-fetch-interval-seconds: 3
service-url: service-url:
defaultZone: http://61.164.216.254:8610/eureka defaultZone: http://localhost:8610/eureka
...@@ -20,11 +20,11 @@ eureka: ...@@ -20,11 +20,11 @@ eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true prefer-ip-address: true
ip-address: 61.164.216.254 ip-address: localhost
client: client:
register-with-eureka: true register-with-eureka: true
fetch-registry: true fetch-registry: true
instance-info-replication-interval-seconds: 30 instance-info-replication-interval-seconds: 30
registry-fetch-interval-seconds: 3 registry-fetch-interval-seconds: 3
service-url: service-url:
defaultZone: http://61.164.216.254:8610/eureka defaultZone: http://localhost:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -20,11 +20,11 @@ eureka: ...@@ -20,11 +20,11 @@ eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true prefer-ip-address: true
ip-address: 61.164.216.254 ip-address: localhost
client: client:
register-with-eureka: true register-with-eureka: true
fetch-registry: true fetch-registry: true
instance-info-replication-interval-seconds: 30 instance-info-replication-interval-seconds: 30
registry-fetch-interval-seconds: 3 registry-fetch-interval-seconds: 3
service-url: service-url:
defaultZone: http://61.164.216.254:8610/eureka defaultZone: http://localhost:8610/eureka
...@@ -21,11 +21,11 @@ eureka: ...@@ -21,11 +21,11 @@ eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true prefer-ip-address: true
ip-address: 61.164.216.254 ip-address: localhost
client: client:
register-with-eureka: true register-with-eureka: true
fetch-registry: true fetch-registry: true
instance-info-replication-interval-seconds: 30 instance-info-replication-interval-seconds: 30
registry-fetch-interval-seconds: 3 registry-fetch-interval-seconds: 3
service-url: service-url:
defaultZone: http://61.164.216.254:8610/eureka defaultZone: http://localhost:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -21,11 +21,11 @@ eureka: ...@@ -21,11 +21,11 @@ eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true prefer-ip-address: true
ip-address: 61.164.216.254 ip-address: localhost
client: client:
register-with-eureka: true register-with-eureka: true
fetch-registry: true fetch-registry: true
instance-info-replication-interval-seconds: 30 instance-info-replication-interval-seconds: 30
registry-fetch-interval-seconds: 3 registry-fetch-interval-seconds: 3
service-url: service-url:
defaultZone: http://61.164.216.254:8610/eureka defaultZone: http://localhost:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -20,11 +20,11 @@ eureka: ...@@ -20,11 +20,11 @@ eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true prefer-ip-address: true
ip-address: 61.164.216.254 ip-address: localhost
client: client:
register-with-eureka: true register-with-eureka: true
fetch-registry: true fetch-registry: true
instance-info-replication-interval-seconds: 30 instance-info-replication-interval-seconds: 30
registry-fetch-interval-seconds: 3 registry-fetch-interval-seconds: 3
service-url: service-url:
defaultZone: http://61.164.216.254:8610/eureka defaultZone: http://localhost:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -20,11 +20,11 @@ eureka: ...@@ -20,11 +20,11 @@ eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true prefer-ip-address: true
ip-address: 61.164.216.254 ip-address: localhost
client: client:
register-with-eureka: true register-with-eureka: true
fetch-registry: true fetch-registry: true
instance-info-replication-interval-seconds: 30 instance-info-replication-interval-seconds: 30
registry-fetch-interval-seconds: 3 registry-fetch-interval-seconds: 3
service-url: service-url:
defaultZone: http://61.164.216.254:8610/eureka defaultZone: http://localhost:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -20,11 +20,11 @@ eureka: ...@@ -20,11 +20,11 @@ eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true prefer-ip-address: true
ip-address: 61.164.216.254 ip-address: localhost
client: client:
register-with-eureka: true register-with-eureka: true
fetch-registry: true fetch-registry: true
instance-info-replication-interval-seconds: 30 instance-info-replication-interval-seconds: 30
registry-fetch-interval-seconds: 3 registry-fetch-interval-seconds: 3
service-url: service-url:
defaultZone: http://61.164.216.254:8610/eureka defaultZone: http://localhost:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -10,11 +10,11 @@ eureka: ...@@ -10,11 +10,11 @@ eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true prefer-ip-address: true
ip-address: 61.164.216.254 ip-address: localhost
client: client:
register-with-eureka: true register-with-eureka: true
fetch-registry: true fetch-registry: true
instance-info-replication-interval-seconds: 30 instance-info-replication-interval-seconds: 30
registry-fetch-interval-seconds: 3 registry-fetch-interval-seconds: 3
service-url: service-url:
defaultZone: http://61.164.216.254:8610/eureka defaultZone: http://localhost:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -40,7 +40,7 @@ module.exports = { ...@@ -40,7 +40,7 @@ module.exports = {
proxy: { proxy: {
// change xxx-api/login => /login // change xxx-api/login => /login
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
target: `http://61.164.216.254:8612/`, target: `http://localhost:8612/`,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: '' ['^' + process.env.VUE_APP_BASE_API]: ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment