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
850 B
40 lines
850 B
package values |
|
|
|
import ( |
|
"server/common" |
|
) |
|
|
|
type VipInfoReq struct { |
|
Page int |
|
Num int |
|
} |
|
|
|
// List vip列表 |
|
// NextCashback 距离下次可领取cashback的时间(秒) |
|
// TotalCashback 总返利 |
|
type VipInfoResp struct { |
|
NextCashback int64 |
|
TotalCashback int64 |
|
CashbackList []common.CurrencyBalance |
|
|
|
Info *common.VipData `json:"info"` |
|
List []*common.ConfigVIP `json:"list"` |
|
} |
|
|
|
// Level 领取的等级 |
|
type DrawVipBonusReq struct { |
|
Level int `json:"level" binding:"required"` |
|
Week bool `json:"week"` |
|
} |
|
|
|
type DrawCashbackResp struct { |
|
TotalCashback int64 |
|
Balance int64 |
|
NextCashback int64 |
|
} |
|
|
|
type VipBonusHistoryReq struct { |
|
Page int `json:"page"` // 页码 |
|
PageSize int `json:"pageSize" binding:"required"` // 一页的数目 |
|
Month bool `json:"month"` // 当前月 |
|
}
|
|
|