完成自动取消订单任务功能

This commit is contained in:
2025-08-19 19:41:22 +08:00
parent 4fc30e53cf
commit 145c563f54

View File

@@ -151,16 +151,14 @@ shop:
batch-size: 100
# 定时任务执行时间cron表达式
# 生产环境每5分钟执行一次
# 开发环境每1分钟执行一次便于测试
cron: "0 */1 * * * ?"
# 开发环境可以设置为: "0 */1 * * * ?"
cron: "0 */5 * * * ?"
# 租户特殊配置
tenant-configs:
- tenant-id: 10324
tenant-name: "百色中学"
timeout-minutes: 1 # 测试环境1分钟超时便于测试
enabled: true # 使用注解方案,重新启用
timeout-minutes: 60 # 捐款订单给更长的支付时间
enabled: true
# 可以添加更多租户配置
# - tenant-id: 10550
# tenant-name: "其他租户"