feat: SpringBoot 整合 xxl-job
This commit is contained in:
@@ -78,7 +78,26 @@ springdoc:
|
||||
enabled: true
|
||||
|
||||
# 验证码配置
|
||||
easycaptcha:
|
||||
easy-captcha:
|
||||
enable: true
|
||||
# 验证码类型: arithmetic-算术
|
||||
type: arithmetic
|
||||
ttl: 120
|
||||
# 验证码有效时间(单位:秒)
|
||||
ttl: 120
|
||||
|
||||
# xxl-job 定时任务配置
|
||||
xxl:
|
||||
job:
|
||||
# xxl-job 开关
|
||||
enabled: false
|
||||
admin:
|
||||
# 多个地址使用,分割
|
||||
addresses: http://127.0.0.1:8080/xxl-job-admin
|
||||
accessToken: default_token
|
||||
executor:
|
||||
appname: xxl-job-executor-${spring.application.name}
|
||||
address:
|
||||
ip:
|
||||
port: 9999
|
||||
logpath: /data/applogs/xxl-job/jobhandler
|
||||
logretentiondays: 30
|
||||
|
||||
Reference in New Issue
Block a user