自动取消订单任务
This commit is contained in:
@@ -139,6 +139,34 @@ shop:
|
||||
min-order-amount: 0
|
||||
order-timeout-minutes: 30
|
||||
|
||||
# 订单自动取消配置
|
||||
auto-cancel:
|
||||
# 是否启用自动取消功能
|
||||
enabled: true
|
||||
# 默认超时时间(分钟)
|
||||
default-timeout-minutes: 30
|
||||
# 定时任务检查间隔(分钟)
|
||||
check-interval-minutes: 5
|
||||
# 批量处理大小
|
||||
batch-size: 100
|
||||
# 定时任务执行时间(cron表达式)
|
||||
# 生产环境:每5分钟执行一次
|
||||
# 开发环境:每1分钟执行一次(便于测试)
|
||||
cron: "0 */5 * * * ?"
|
||||
# 开发环境可以设置为: "0 */1 * * * ?"
|
||||
|
||||
# 租户特殊配置
|
||||
tenant-configs:
|
||||
- tenant-id: 10324
|
||||
tenant-name: "百色中学"
|
||||
timeout-minutes: 60 # 捐款订单给更长的支付时间
|
||||
enabled: true
|
||||
# 可以添加更多租户配置
|
||||
# - tenant-id: 10550
|
||||
# tenant-name: "其他租户"
|
||||
# timeout-minutes: 15
|
||||
# enabled: true
|
||||
|
||||
# 证书配置
|
||||
certificate:
|
||||
# 证书加载模式: CLASSPATH, FILESYSTEM, VOLUME
|
||||
|
||||
Reference in New Issue
Block a user