|
@@ -85,6 +85,31 @@ spring:
|
|
|
password: hcst@2021
|
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
|
|
|
|
+ # redis 配置
|
|
|
+ redis:
|
|
|
+ # 地址
|
|
|
+ host: 192.168.0.193
|
|
|
+ # 端口,默认为6379
|
|
|
+ port: 6379
|
|
|
+ # 数据库索引
|
|
|
+ database: 0
|
|
|
+ # 密码
|
|
|
+ password: hcst@2022
|
|
|
+ # 连接超时时间
|
|
|
+ timeout: 1000s
|
|
|
+ lettuce:
|
|
|
+ pool:
|
|
|
+ # 连接池中的最小空闲连接
|
|
|
+ min-idle: 0
|
|
|
+ # 连接池中的最大空闲连接
|
|
|
+ max-idle: 10
|
|
|
+ # 连接池的最大数据库连接数
|
|
|
+ max-active: 10
|
|
|
+ # #连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
+ max-wait: -1ms
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
#mybatis plus 设置
|
|
|
mybatis-plus:
|
|
|
mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml,classpath*:cn/com/ctop/**/xml/*Mapper.xml
|
|
@@ -109,14 +134,15 @@ xxl:
|
|
|
job:
|
|
|
accessToken:
|
|
|
executor:
|
|
|
- appname: module-job-bytedance
|
|
|
+# appname: module-job-bytedance
|
|
|
+ appname: module-job-test
|
|
|
port: 9998
|
|
|
ip:
|
|
|
logpath: /data/applogs/xxl-job/jobhandler
|
|
|
logretentiondays: 30
|
|
|
admin:
|
|
|
addresses: http://192.168.0.192:8080/xxl-job-admin
|
|
|
- #addresses: http://127.0.0.1:8080/xxl-job-admin
|
|
|
+# addresses: http://127.0.0.1:8080/xxl-job-admin
|
|
|
api:
|
|
|
bytedance:
|
|
|
api-prefix: https://ad.oceanengine.com/open_api
|