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.
13 lines
483 B
13 lines
483 B
package prize
|
|
|
|
type EditPrizeReq struct {
|
|
Id int `dc:"奖品id"`
|
|
Name string `v:"required#奖品名称不能为空" dc:"奖品名称"`
|
|
ImgUrl string `v:"required#奖品图片不能为空" dc:"奖品图片"`
|
|
Level int `v:"required#奖品等级不能为空" dc:"奖品等级"`
|
|
Odds float64 `v:"required#奖品抽取概率不能为空" dc:"奖品抽取概率"`
|
|
}
|
|
|
|
type DeletePrizeReq struct {
|
|
Id int `v:"required#奖品id不能为空" dc:"奖品id"`
|
|
}
|