|
@@ -21,9 +21,9 @@ xxl.job:
|
|
# 执行器开关
|
|
# 执行器开关
|
|
enabled: true
|
|
enabled: true
|
|
# 调度中心地址:如调度中心集群部署存在多个地址则用逗号分隔。
|
|
# 调度中心地址:如调度中心集群部署存在多个地址则用逗号分隔。
|
|
- admin-addresses: http://192.168.0.23:9100/xxl-job-admin
|
|
|
|
|
|
+ admin-addresses: http://192.168.0.26:8080/xxl-job-admin
|
|
# 执行器通讯TOKEN:非空时启用
|
|
# 执行器通讯TOKEN:非空时启用
|
|
- access-token: xxl-job
|
|
|
|
|
|
+ access-token: tokenixuemtuoekpjmixhddlhzssuquvvlxya
|
|
executor:
|
|
executor:
|
|
# 执行器AppName:执行器心跳注册分组依据;为空则关闭自动注册
|
|
# 执行器AppName:执行器心跳注册分组依据;为空则关闭自动注册
|
|
appname: xxl-job-executor
|
|
appname: xxl-job-executor
|
|
@@ -57,7 +57,7 @@ spring:
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
|
|
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
|
|
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
|
|
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
|
|
- url: jdbc:mysql://192.168.0.31:3306/lsf_auth?useSSL=true&characterEncoding=utf-8
|
|
|
|
|
|
+ url: jdbc:mysql://192.168.0.31:3306/digital-investment?useSSL=true&characterEncoding=utf-8
|
|
username: root
|
|
username: root
|
|
password: LongX@321
|
|
password: LongX@321
|
|
|
|
|
|
@@ -66,9 +66,9 @@ spring:
|
|
lazy: true
|
|
lazy: true
|
|
type: ${spring.datasource.type}
|
|
type: ${spring.datasource.type}
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
- url: jdbc:mysql://192.168.0.31:3306/lsf_auth?useSSL=true&characterEncoding=utf-8
|
|
|
|
- username:
|
|
|
|
- password:
|
|
|
|
|
|
+ url: jdbc:mysql://192.168.0.31:3306/digital-investment?useSSL=true&characterEncoding=utf-8
|
|
|
|
+ username: root
|
|
|
|
+ password: LongX@321
|
|
# oracle:
|
|
# oracle:
|
|
# type: ${spring.datasource.type}
|
|
# type: ${spring.datasource.type}
|
|
# driverClassName: oracle.jdbc.OracleDriver
|
|
# driverClassName: oracle.jdbc.OracleDriver
|
|
@@ -108,20 +108,20 @@ spring:
|
|
keepaliveTime: 30000
|
|
keepaliveTime: 30000
|
|
|
|
|
|
--- # redis 单机配置(单机与集群只能开启一个另一个需要注释掉)
|
|
--- # redis 单机配置(单机与集群只能开启一个另一个需要注释掉)
|
|
-spring.data:
|
|
|
|
|
|
+spring:
|
|
redis:
|
|
redis:
|
|
# 地址
|
|
# 地址
|
|
- host: localhost
|
|
|
|
|
|
+ host: 192.168.0.34
|
|
# 端口,默认为6379
|
|
# 端口,默认为6379
|
|
port: 6379
|
|
port: 6379
|
|
# 数据库索引
|
|
# 数据库索引
|
|
database: 0
|
|
database: 0
|
|
# 密码(如没有密码请注释掉)
|
|
# 密码(如没有密码请注释掉)
|
|
- # password:
|
|
|
|
|
|
+ password: lsf@12345
|
|
# 连接超时时间
|
|
# 连接超时时间
|
|
timeout: 10s
|
|
timeout: 10s
|
|
# 是否开启ssl
|
|
# 是否开启ssl
|
|
- ssl.enabled: false
|
|
|
|
|
|
+ ssl: false
|
|
redisson:
|
|
redisson:
|
|
# redis key前缀
|
|
# redis key前缀
|
|
keyPrefix:
|
|
keyPrefix:
|