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