using System.Collections; using System.Collections.Generic; using UnityEngine; public class RechargeGiftPrizeVo { public RechargeGiftPrizeVo(int id) { this.productId = id; } /// /// 商品id /// public int productId { get; set; } public List prizeList { get { List prizeList = new List(); if (productId >= 6 && productId <= 1000)//首冲 { } else if(productId >= 801001 && productId <= 801999)//限购 { } else if (productId >= 804001 && productId <= 804999)//每日特惠 { } else if (productId >= 805001 && productId <= 805999)//限时 { } else if (productId >= 901001 && productId <= 999999)//月卡 { } return prizeList; } } }