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.
42 lines
1014 B
42 lines
1014 B
package values |
|
|
|
import ( |
|
"server/common" |
|
) |
|
|
|
type LuckyWheelCfgReq struct { |
|
} |
|
|
|
type LuckyWheel struct { |
|
common.LuckyWheel |
|
LessDrawCount int `json:"lessDrawCount"` |
|
} |
|
|
|
type LuckyWheelCfgResp struct { |
|
LuckyWheel []LuckyWheel `json:"luckyWheel"` |
|
} |
|
|
|
type LuckyWheelLotteryReq struct { |
|
LuckyType int `json:"luckyType"` // 转盘类型(1:黄铜,2:白银,3:黄金, 4:特殊) |
|
} |
|
|
|
type LuckWheelLotteryResp struct { |
|
LessTimes int `json:"lessTimes"` // 转盘剩余次数 |
|
AwardIndex int `json:"awardIndex"` // 奖励下标 |
|
Award common.LuckyAward `json:"award"` // 奖励类型 |
|
} |
|
|
|
type LuckWheelAwardRecordsReq struct { |
|
// 针对个人 |
|
Uid int `json:"uid"` |
|
Page int `json:"page"` |
|
PageSize int `json:"pageSize"` |
|
// 针对大厅(大厅场景最多返回10条) |
|
} |
|
|
|
type LuckWheelAwardRecordsResp struct { |
|
Records []common.LuckyWheelReward `json:"records"` |
|
|
|
Total int64 `json:"total"` // 总数 |
|
TotalAmount int64 `json:"totalAmount"` // 总奖励数量 |
|
}
|
|
|