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.
33 lines
574 B
33 lines
574 B
|
1 year ago
|
package values
|
||
|
|
|
||
|
|
import (
|
||
|
|
"server/common"
|
||
|
|
)
|
||
|
|
|
||
|
|
type VipInfoReq struct {
|
||
|
|
Page int
|
||
|
|
Num int
|
||
|
|
}
|
||
|
|
|
||
|
|
// List vip列表
|
||
|
|
// NextCashback 距离下次可领取cashback的时间(秒)
|
||
|
|
// TotalCashback 总返利
|
||
|
|
type VipInfoResp struct {
|
||
|
|
Info *common.VipData
|
||
|
|
List []*common.ConfigVIP
|
||
|
|
NextCashback int64
|
||
|
|
TotalCashback int64
|
||
|
|
CashbackList []common.CurrencyBalance
|
||
|
|
}
|
||
|
|
|
||
|
|
// Level 领取的等级
|
||
|
|
type DrawVipBonusReq struct {
|
||
|
|
Level int `json:"Level" binding:"required"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type DrawCashbackResp struct {
|
||
|
|
TotalCashback int64
|
||
|
|
Balance int64
|
||
|
|
NextCashback int64
|
||
|
|
}
|