stam.go 978 B

123456789101112131415161718192021222324
  1. package model
  2. const (
  3. // 1 体力 2 挑战者卷轴 3 精力 4 神秘卷轴
  4. StaminaType = 1
  5. DefierType = 2
  6. EnergyType = 3
  7. MysteryType = 4
  8. )
  9. type TicketInfo struct {
  10. Uid int `json:"UId"` // 门票编号 1 体力 2 挑战者卷轴 3 精力 4 神秘卷轴
  11. Name string `json:"Name"` // 门票名称
  12. RestoreMax int64 `json:"RestoreMax"` // 恢复上限
  13. InitNum int64 `json:"InitNum"` // 初始数量
  14. RestoreSpeed int64 `json:"RestoreSpeed"` // 恢复速度
  15. GetType int `json:"GetType"` // 1 1:自动增加 2 2:手动领取
  16. ItemID int `json:"ItemId"` // 道具ID
  17. Price int `json:"Price"` // 价格钻石
  18. BuyCount int `json:"Quota"` // 次数
  19. Single int `json:"Single"` // 单次购买数
  20. AdBuyID int `json:"AdBuyID"` // 广告点购买ID -1:没有
  21. AdBuyNum int `json:"AdBuyNum"` // 广告购买次数
  22. }