印度包网
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.

57 lines
1.3 KiB

3 months ago
package values
import "server/common"
type PddCfgReq struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
}
type PddCfgResp struct {
// 奖励列表
Awards []common.PddAward `json:"awards"`
// 抽奖次数
LotteryCount int `json:"lotteryCount"`
// 倒计时(单位s)
Countdown int64 `json:"countdown"`
// 提现金额
WithdrawalAmount int `json:"withdrawalAmount"`
// 分享链接
ShareLink string `json:"shareLink"`
// 初始金额列表
InitialAmount []string `json:"initialAmount"`
// 玩家初始金额
UserAmount string `json:"userAmount"`
// 玩家历史记录
LotteryHistory []common.PddLotteryHistory `json:"lotteryHistory"`
}
type PddLotteryReq struct {
}
type PddLotteryResp struct {
LessTimes int `json:"lessTimes"` // 转盘剩余次数
Award string `json:"award"` // 奖励数量
Amount string `json:"amount"` // 金额
LotteryHistory common.PddLotteryHistory `json:"lotteryHistory"`
}
type PddDrawReq struct {
}
type PddDrawResp struct {
Amount int `json:"amount"` // 金额
}
2 months ago
type PddDrawHistoryReq struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
}
type PddDrawHistoryResp struct {
Total int64 `json:"total"`
LotteryHistory []common.PddLotteryHistory `json:"lotteryHistory"`
}