model.go 303 B

123456789101112131415161718192021
  1. package model
  2. // card type
  3. const (
  4. CardTypeNone int32 = iota
  5. CardTypeVip
  6. CardTypeFree
  7. )
  8. // card is hot
  9. const (
  10. CardNotHot int32 = iota
  11. CardIsHot
  12. )
  13. // CardTypeNameMap card name map.
  14. var CardTypeNameMap = map[int32]string{
  15. CardTypeNone: "",
  16. CardTypeVip: "大会员",
  17. CardTypeFree: "免费",
  18. }