model.go 428 B

123456789101112131415161718192021222324252627
  1. package model
  2. // 大会员类型
  3. const (
  4. NotVip = 0 //非大会员
  5. Vip = 1 //月度大会员
  6. AnnualVip = 2 //年度会员
  7. )
  8. // 大会员状态
  9. const (
  10. VipStatusOverTime = 0 //过期
  11. VipStatusNotOverTime = 1 //未过期
  12. VipStatusFrozen = 2 //冻结
  13. VipStatusBan = 3 //封禁
  14. )
  15. // vip pay type.
  16. const (
  17. NormalPay int32 = iota
  18. AutoRenewPay
  19. )
  20. // pay channel id
  21. const (
  22. IapPayChannelID = 100
  23. )