refactor: 重构订单,店铺,商品

This commit is contained in:
2026-08-05 22:45:18 +08:00
parent 90f95f860e
commit 145e131b3e
196 changed files with 5595 additions and 10122 deletions
@@ -34,12 +34,12 @@ spring:
min-idle: 0
max-wait: -1ms
# 订单统计读模型
# 订单统计读模型(汇总表已删,待重构前关闭写入与 miss 补算)
order-stat:
stat-source: daily
auto-refresh-on-miss: true
auto-refresh-on-miss: false
refresh-worker:
enabled: true
enabled: false
pool-size: 4
poll-interval-ms: 2000
cache:
@@ -47,6 +47,7 @@ order-stat:
ttl-history-seconds: 86400
ttl-today-seconds: 900
nightly-rebuild-cron: "0 30 2 * * ?"
nightly-rebuild-enabled: false
# 导入任务 Redis Stream 队列(DB 为真相源,Redis 负责调度)
import-task: