mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 12:29:19 +08:00
feat(订单统计): 落地读模型汇总表与 refresh 写入链路,工作台/概览/导出切读 daily 汇总并补充 Admin rebuild 与对账
This commit is contained in:
@@ -41,6 +41,21 @@ spring:
|
||||
min-idle: 0
|
||||
max-wait: -1ms
|
||||
|
||||
# 订单统计读模型
|
||||
order-stat:
|
||||
stat-source: daily
|
||||
auto-refresh-on-miss: true
|
||||
refresh-worker:
|
||||
enabled: true
|
||||
pool-size: 4
|
||||
poll-interval-ms: 2000
|
||||
cache:
|
||||
enabled: true
|
||||
ttl-history-seconds: 86400
|
||||
ttl-today-seconds: 900
|
||||
nightly-rebuild-enabled: false
|
||||
nightly-rebuild-cron: "0 30 2 * * ?"
|
||||
|
||||
# JWT配置
|
||||
# ⚠️ 生产环境必须通过环境变量 JWT_SECRET 覆盖,默认值仅用于本地开发
|
||||
jwt:
|
||||
|
||||
Reference in New Issue
Block a user