You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.2 KiB
40 lines
1.2 KiB
|
1 year ago
|
package values
|
||
|
|
|
||
|
|
type PlayerProfitReq struct {
|
||
|
|
Start string `json:"Start" binding:"required"` // 开始时间
|
||
|
|
End string `json:"End" binding:"required"` // 结束时间
|
||
|
|
Channel *int `json:"Channel"` // 渠道
|
||
|
|
}
|
||
|
|
|
||
|
|
type PlayerProfitResp struct {
|
||
|
|
List []*PlayerProfitInfo
|
||
|
|
}
|
||
|
|
|
||
|
|
type PlayerProfitInfo struct {
|
||
|
|
Date int64 // 时间
|
||
|
|
Investment int64 // 投入资金
|
||
|
|
NewPlayer int64 // 当日新增人数
|
||
|
|
TheDayPayCount int64 // 当日新增付费人数
|
||
|
|
TheDayPayPer string // 当日新增付费率
|
||
|
|
TheDayPayAmount int64 // 当日新增付费金额
|
||
|
|
TheDayAvgPayment string // 当日新增平均付费
|
||
|
|
NextDayPayCount int64 // 次日付费人数
|
||
|
|
NextPayAmount int64 // 次日付费金额
|
||
|
|
NextDayPayPer string // 次日付费率
|
||
|
|
PayCount int64 // 总付费人数
|
||
|
|
PayAmount int64 // 总付费金额
|
||
|
|
WithdrawAmount int64 // 总退出
|
||
|
|
Period int64 // 回本周期
|
||
|
|
}
|
||
|
|
|
||
|
|
type EditProfitReq struct {
|
||
|
|
List []EditProfitInfo
|
||
|
|
}
|
||
|
|
|
||
|
|
type EditProfitInfo struct {
|
||
|
|
Start string // 开始时间
|
||
|
|
Channel *int // 渠道
|
||
|
|
Investment *int64 // 投入资金
|
||
|
|
Period *int64 // 回本周期
|
||
|
|
}
|