feat: 迁移渠道画像累计指标和玩家付费分层
This commit is contained in:
@@ -29,7 +29,7 @@ type PortraitMetric struct {
|
||||
CompareValue *string `json:"compareValue"`
|
||||
ChangeRate *string `json:"changeRate"`
|
||||
ChangeDiff *string `json:"changeDiff"`
|
||||
CompareLabel string `json:"compareLabel"`
|
||||
CompareLabel *string `json:"compareLabel"`
|
||||
}
|
||||
type PortraitMetrics struct {
|
||||
Register *PortraitMetric `json:"register"`
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
package dto
|
||||
|
||||
type ChannelPortraitQuery struct {
|
||||
SourceDB string `form:"sourceDb"`
|
||||
PromoteID uint64 `form:"promoteId"`
|
||||
Period string `form:"period"`
|
||||
}
|
||||
type ChannelPortraitBasic struct {
|
||||
PromoteID uint64 `json:"promoteId"`
|
||||
SourceDB string `json:"sourceDb"`
|
||||
SourceDBLabel string `json:"sourceDbLabel"`
|
||||
Account string `json:"account"`
|
||||
Nickname string `json:"nickname"`
|
||||
RealName string `json:"realName"`
|
||||
PromoteLevel *int `json:"promoteLevel"`
|
||||
PromoteLevelLabel string `json:"promoteLevelLabel"`
|
||||
Status *int `json:"status"`
|
||||
StatusLabel string `json:"statusLabel"`
|
||||
RegisterType *int `json:"registerType"`
|
||||
RegisterTypeLabel string `json:"registerTypeLabel"`
|
||||
CreateTime *string `json:"createTime"`
|
||||
LastLoginTime *string `json:"lastLoginTime"`
|
||||
BusierUserID *uint `json:"busierUserId"`
|
||||
BusierDisplayName string `json:"busierDisplayName"`
|
||||
ParentPromoteID *uint64 `json:"parentPromoteId"`
|
||||
ParentPromoteName *string `json:"parentPromoteName"`
|
||||
ParentPromoteAccount *string `json:"parentPromoteAccount"`
|
||||
GameCount *int64 `json:"gameCount"`
|
||||
}
|
||||
type ChannelPortraitMetrics struct {
|
||||
Register *PortraitMetric `json:"register"`
|
||||
PayAmount *PortraitMetric `json:"payAmount"`
|
||||
PayRate *PortraitMetric `json:"payRate"`
|
||||
Active *PortraitMetric `json:"active"`
|
||||
}
|
||||
type ChannelPayTier struct {
|
||||
Tier string `json:"tier"`
|
||||
TierLabel string `json:"tierLabel"`
|
||||
Count int64 `json:"count"`
|
||||
Ratio string `json:"ratio"`
|
||||
}
|
||||
type ChannelPortraitResponse struct {
|
||||
Basic *ChannelPortraitBasic `json:"basic"`
|
||||
Period string `json:"period"`
|
||||
Metrics *ChannelPortraitMetrics `json:"metrics"`
|
||||
RegisterTrend []*PortraitTrend `json:"registerTrend"`
|
||||
PayTrend []*PortraitTrend `json:"payTrend"`
|
||||
GameDistribution []*ChannelGameResponse `json:"gameDistribution"`
|
||||
PayTiers []*ChannelPayTier `json:"payTiers"`
|
||||
Available bool `json:"available"`
|
||||
UnavailableReason string `json:"unavailableReason"`
|
||||
}
|
||||
Reference in New Issue
Block a user