WalletService
GetConsumptionSummary 按时间分桶汇总当前用户消费(与 consumed_micros 同口径: direction='debit' 全量出账)。供前端消费统计图表使用,避免前端用分页流水现算导致与 余额卡「累计消费」对不上账。
get/v1/console/wallet/consumption-summary
Query parameters
granularitystring
granularity 分桶粒度:day(默认)/ month。
bucketsinteger
buckets 返回的桶数量(含当前桶往前推)。day 默认 15、month 默认 12; 非法或为 0 时由后端取默认值,并设上限防止超大窗口扫账本。
Response
OK
Changes
No recorded changes to this endpoint across all 1 revision of this API.