203
This commit is contained in:
+16
-5
@@ -920,9 +920,20 @@ type GetAgentRealtimeResponse struct {
|
||||
type GetAgentDownloadsRequest struct{}
|
||||
|
||||
type GetAgentDownloadsResponse struct {
|
||||
List []AgentDownloadStats `json:"list"`
|
||||
Total int64 `json:"total"` // 总下载量
|
||||
Platforms *PlatformDownloads `json:"platforms"` // 各平台下载量
|
||||
ComparisonRate *string `json:"comparison_rate,omitempty"` // 与上月环比(如 "+15.5%" 或 "-10.0%")
|
||||
}
|
||||
|
||||
// PlatformDownloads 各平台下载量统计
|
||||
type PlatformDownloads struct {
|
||||
IOS int64 `json:"ios"` // iPhone/iPad
|
||||
Android int64 `json:"android"` // Android
|
||||
Windows int64 `json:"windows"` // Windows
|
||||
Mac int64 `json:"mac"` // Mac
|
||||
}
|
||||
|
||||
// Deprecated: 旧的响应结构,保留以兼容
|
||||
type AgentDownloadStats struct {
|
||||
Platform string `json:"platform"`
|
||||
Clicks int64 `json:"clicks"`
|
||||
@@ -947,10 +958,10 @@ type GetInviteSalesResponse struct {
|
||||
}
|
||||
|
||||
type InvitedUserSale struct {
|
||||
Amount float64 `json:"amount"`
|
||||
CreatedAt int64 `json:"created_at"`
|
||||
UserEmail string `json:"user_email"`
|
||||
UserId int64 `json:"user_id"`
|
||||
Amount float64 `json:"amount"`
|
||||
UpdatedAt int64 `json:"update_at"`
|
||||
UserHash string `json:"user_hash"`
|
||||
ProductName string `json:"product_name"`
|
||||
}
|
||||
|
||||
type GetLoginLogRequest struct {
|
||||
|
||||
Reference in New Issue
Block a user