24 lines
845 B
Go
24 lines
845 B
Go
package dto
|
|
|
|
type DashboardResponse struct {
|
|
RoomTotal int64 `json:"roomTotal"`
|
|
RoomLive int64 `json:"roomLive"`
|
|
RechargeCents int64 `json:"rechargeCents"`
|
|
PaidOrderCount int64 `json:"paidOrderCount"`
|
|
GiftDiamonds int64 `json:"giftDiamonds"`
|
|
GiftSendCount int64 `json:"giftSendCount"`
|
|
DiamondRateCents int64 `json:"diamondRateCents"`
|
|
RechargeTrend []DashboardTrend `json:"rechargeTrend"`
|
|
GiftRanking []DashboardRank `json:"giftRanking"`
|
|
}
|
|
type DashboardTrend struct {
|
|
Date string `json:"date"`
|
|
AmountCents int64 `json:"amountCents"`
|
|
}
|
|
type DashboardRank struct {
|
|
RoomID uint `json:"roomId"`
|
|
RoomName string `json:"roomName"`
|
|
AnchorName string `json:"anchorName"`
|
|
Diamonds int64 `json:"diamonds"`
|
|
}
|