bf75bb8a62
系统级(store.WithoutTenant,跨租户)用量观测: - 无 tenant:全平台按天 SUM 趋势 + 各租户用量排行(含当前余额)。 - 有 tenant:该租户按天趋势 + 当前积分余额。 - from/to(YYYYMMDD)缺省近 30 天。UsageTrend/UsageByTenant/TenantBalance store 方法。 live 验证:两口径数值自洽(balance=seed−credits、credits=tok×汇率、totals=trend之和)。 至此 P2 计量后端(事实源)齐:明细/账本/余额/rollup/查询。前端页 + P4 硬拦截/充值待需求拉动。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>