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

  1. package prize
  2. type EditPrizeReq struct {
  3. Id int `dc:"奖品id"`
  4. Name string `v:"required#奖品名称不能为空" dc:"奖品名称"`
  5. ImgUrl string `v:"required#奖品图片不能为空" dc:"奖品图片"`
  6. Level int `v:"required#奖品等级不能为空" dc:"奖品等级"`
  7. Odds float64 `v:"required#奖品抽取概率不能为空" dc:"奖品抽取概率"`
  8. }
  9. type DeletePrizeReq struct {
  10. Id int `v:"required#奖品id不能为空" dc:"奖品id"`
  11. }