RechargeGiftPrizeVo.cs 967 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class RechargeGiftPrizeVo
  5. {
  6. public RechargeGiftPrizeVo(int id)
  7. {
  8. this.productId = id;
  9. }
  10. /// <summary>
  11. /// 商品id
  12. /// </summary>
  13. public int productId { get; set; }
  14. public List<ItemVo> prizeList
  15. {
  16. get
  17. {
  18. List<ItemVo> prizeList = new List<ItemVo>();
  19. if (productId >= 6 && productId <= 1000)//首冲
  20. {
  21. }
  22. else if(productId >= 801001 && productId <= 801999)//限购
  23. {
  24. }
  25. else if (productId >= 804001 && productId <= 804999)//每日特惠
  26. {
  27. }
  28. else if (productId >= 805001 && productId <= 805999)//限时
  29. {
  30. }
  31. else if (productId >= 901001 && productId <= 999999)//月卡
  32. {
  33. }
  34. return prizeList;
  35. }
  36. }
  37. }