89 lines
5.6 KiB
Go
89 lines
5.6 KiB
Go
package proto
|
|
|
|
import (
|
|
"stat/common"
|
|
"time"
|
|
)
|
|
|
|
// 日常统计列表请求
|
|
type ListBlocDailyStatReq struct {
|
|
AppId *int32 `form:"appId" json:"appId" binding:"omitempty"` // appId
|
|
StartTime *time.Time `form:"startTime" json:"startTime"` // 开始时间
|
|
EndTime *time.Time `form:"endTime" json:"endTime" binding:"omitempty"` // 结束时间
|
|
common.Page
|
|
}
|
|
|
|
type ListBlocDailyStatRes struct {
|
|
Total int64 `json:"total"`
|
|
TotalInfo BlocDailyStatInfo `json:"totalInfo"`
|
|
List []BlocDailyStatInfo `json:"list"`
|
|
}
|
|
|
|
type BlocDailyStatInfo struct {
|
|
SumDate time.Time `json:"sumDate"` // 记录时间 按天对齐
|
|
AppId int32 `json:"appId"` // appId
|
|
AppName string `json:"appName"` // app名称
|
|
TotalVisitCount int64 `json:"totalVisitCount"` // 日活
|
|
TotalNewCount int64 `json:"totalNewCount"` // 新增
|
|
TotalAmount int64 `json:"totalAmount"` // 总充值
|
|
ARPU int64 `json:"ARPU"` // 人均充值
|
|
ARPPU int64 `json:"ARPPU"` // 付费用户人均充值
|
|
NewDirectCount int64 `json:"newDirectCount"` // 新增直推
|
|
NewFissionCount int64 `json:"newFissionCount"` // 新增裂变
|
|
DirectVisitCount int64 `json:"directVisitCount"` // 直推访问数
|
|
FissionVisitCount int64 `json:"fissionVisitCount"` // 裂变访问数
|
|
Day1RetainRate float64 `json:"day1RetainRate"` // 次日留存率
|
|
Day3RetainRate float64 `json:"day3RetainRate"` // 3日留存率
|
|
Day7RetainRate float64 `json:"day7RetainRate"` // 7日留存率
|
|
DirectAmount int64 `json:"directAmount"` // 直推充值金额
|
|
FissionAmount int64 `json:"fissionAmount"` // 裂变充值金额
|
|
NewRechargeCount int64 `json:"newRechargeCount"` // 新增充值数
|
|
NewRechargeAmount int64 `json:"newRechargeAmount"` // 新增充值金额
|
|
OldRechargeAmount int64 `json:"oldRechargeAmount"` // 老用户充值金额
|
|
DaichongAmout int64 `json:"daichongAmout"` // 代充充值金额
|
|
OnlineAmount int64 `json:"onlineAmount"` // 在线充值金额
|
|
NewRechargeRate float64 `json:"newRechargeRate"` // 新增充值率
|
|
VisitRechargeRate float64 `json:"visitRechargeRate"` // 登陆充值率
|
|
UserWithDrawAmount int64 `json:"userWithDrawAmount"` // 用户提现金额
|
|
UserWithDrawPaymoneyAmount int64 `json:"userWithDrawPaymoneyAmount"` // 用户提现金额(实际到账)
|
|
GameRechageAmount int64 `json:"gameRechageAmount"` // 游戏充值
|
|
GameWithdrawAmount int64 `json:"gameWithdrawAmount"` // 游戏提现
|
|
TotalRechargeCount int64 `json:"totalRechargeCount"` // 总充值人数
|
|
UpdatedAt time.Time `json:"updatedAt"` // 更新时间
|
|
}
|
|
|
|
type ListBlocDailyStatTotalReq struct {
|
|
StartTime *time.Time `form:"startTime" json:"startTime"` // 开始时间
|
|
EndTime *time.Time `form:"endTime" json:"endTime" binding:"omitempty"` // 结束时间
|
|
common.Page
|
|
}
|
|
|
|
type ListBlocDailyStatTotalRes struct {
|
|
Total int64 `json:"total"`
|
|
List []BlocDailyStatTotalInfo `json:"list"`
|
|
}
|
|
|
|
type BlocDailyStatTotalInfo struct {
|
|
SumDate time.Time `json:"sumDate"` // 记录时间 按天对齐
|
|
TotalVisitCount int64 `json:"totalVisitCount"` // 日活
|
|
TotalNewCount int64 `json:"totalNewCount"` // 新增
|
|
TotalAmount int64 `json:"totalAmount"` // 总充值
|
|
NewDirectCount int64 `json:"newDirectCount"` // 新增直推
|
|
NewFissionCount int64 `json:"newFissionCount"` // 新增裂变
|
|
DirectVisitCount int64 `json:"directVisitCount"` // 直推访问数
|
|
FissionVisitCount int64 `json:"fissionVisitCount"` // 裂变访问数
|
|
DirectAmount int64 `json:"directAmount"` // 直推充值金额
|
|
FissionAmount int64 `json:"fissionAmount"` // 裂变充值金额
|
|
NewRechargeCount int64 `json:"newRechargeCount"` // 新增充值数
|
|
NewRechargeAmount int64 `json:"newRechargeAmount"` // 新增充值金额
|
|
OldRechargeAmount int64 `json:"oldRechargeAmount"` // 老用户充值金额
|
|
DaichongAmout int64 `json:"daichongAmout"` // 代充充值金额
|
|
OnlineAmount int64 `json:"onlineAmount"` // 在线充值金额
|
|
UserWithDrawAmount int64 `json:"userWithDrawAmount"` // 用户提现金额
|
|
UserWithDrawPaymoneyAmount int64 `json:"userWithDrawPaymoneyAmount"` // 用户提现金额(实际到账)
|
|
GameRechageAmount int64 `json:"gameRechageAmount"` // 游戏充值
|
|
GameWithdrawAmount int64 `json:"gameWithdrawAmount"` // 游戏提现
|
|
TotalRechargeCount int64 `json:"totalRechargeCount"` // 总充值人数
|
|
UpdatedAt time.Time `json:"updatedAt"` // 更新时间
|
|
}
|