associate_model.go 623 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package model
  2. // associate bind state.
  3. const (
  4. AssociateBindStateNone int32 = iota
  5. AssociateBindStateNotPurchase
  6. AssociateBindStatePurchased
  7. )
  8. // associate prize type.
  9. const (
  10. AssociatePrizeTypeCode int8 = iota + 1
  11. AssociatePrizeTypeEleBag
  12. )
  13. // associate appid.
  14. const (
  15. EleAppID = 32
  16. )
  17. // month type.
  18. const (
  19. UnionOneMonth int32 = 1
  20. UnionOneYear int32 = 12
  21. )
  22. // ele vip type
  23. const (
  24. EleMonthVip int32 = 2
  25. EleYearVip int32 = 4
  26. )
  27. // eleme grant remark.
  28. const (
  29. ElemeGrantRemark = "宅e块联合会员"
  30. )
  31. // EleGrantVipDays eleme grant vip days.
  32. var EleGrantVipDays = map[int32]int64{
  33. 1: 31,
  34. 12: 366,
  35. }