2026-07-22 13:55:55 +08:00

27 lines
946 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
}