package ledger type AgencyHostGiftStats struct { // 旧字段保持 SALARY_DIAMOND Host 收入口径;永久积分使用独立字段,禁止跨资产相加。 GiftIncome int64 PointDiamondHostIncome int64 PointDiamondAgencyShareIncome int64 GiftedHostCount int64 // HostStats 与 HostUserIDs 顺序一致,包含零收入主播;Agency Center 因此只需一次 // wallet RPC,避免对成员逐个查询相同账本。 HostStats []AgencyHostRevenueStats } type AgencyHostRevenueStats struct { HostUserID int64 Stats HostRevenueStats } type AgencyHostGiftStatsQuery struct { HostUserIDs []int64 // AgencyUserID 为 0 时只查询 Host 口径(例如 BD 视图);Agency Center 传 owner user_id // 后从 POINT_DIAMOND 送礼投影独立汇总 agency_amount,避免自营主播合并钱包分录后重复计算。 AgencyUserID int64 StartAtMS int64 EndAtMS int64 }