Browse Source

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

main
科技小王子 5 days ago
parent
commit
145c563f54
  1. 8
      src/main/resources/application.yml

8
src/main/resources/application.yml

@ -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: "其他租户"

Loading…
Cancel
Save