京东联盟京粉json解析

    //public class result
    //{
    //   public int code { get; set; }
    //   public data data { get; set; }
    //  public string message { get; set; }
    //  public string requestId { get; set; }
    // public int totalCount { get; set; }
    // }
    public class data
    {
        public categoryInfo categoryInfo { get; set; }//类目信息
        public string comments { get; set; }//评论数
        public commissionInfo commissionInfo { get; set; }//佣金信息
        public couponInfo couponInfo { get; set; }//优惠券信息,返回内容为空说明该SKU无可用优惠券
        public string goodCommentsShare { get; set; }//商品好评率
        public imageInfo imageInfo { get; set; }//图片信息
        public string inOrderCount30Days { get; set; }//30天引单数量
        public string materialUrl { get; set; }//商品落地页
        public priceInfo priceInfo { get; set; }//价格信息
        public shopInfo shopInfo { get; set; }//店铺信息
        public string skuId { get; set; }//商品ID
        public string skuName { get; set; }//商品名称
        public int isHot { get; set; }//是否爆款,1:是,0:否
        public string spuid { get; set; }//spuid,其值为同款商品的主skuid
        public string brandCode { get; set; }//品牌code
        public string brandName { get; set; }//品牌名
        public string owner { get; set; }//g=自营,p=pop
        public pinGouInfo pinGouInfo { get; set; }//拼购信息
        public resourceInfo resourceInfo { get; set; }//资源信息
        public string inOrderCount30DaysSku { get; set; }//30天引单数量(sku维度)
        public seckillInfo seckillInfo { get; set; }//秒杀信息
        public string[] jxFlags { get; set; }//京喜商品类型,1京喜、2京喜工厂直供、3京喜优选(包含3时可在京东APP购买)
        public videoInfo videoInfo { get; set; }//视频信息      
    }
    public class categoryInfo
    {
        public int cid1 { get; set; }
        public string cid1Name { get; set; }
        public int cid2 { get; set; }
        public string cid2Name { get; set; }
        public int cid3 { get; set; }
        public string cid3Name { get; set; }
    }
    public class commissionInfo
    {
        public decimal commission { get; set; }
        public decimal commissionShare { get; set; }
        public decimal couponCommission { get; set; }
        public decimal plusCommissionShare { get; set; }
    }
    //优惠券
    public class couponInfo
    {
        public couponList[] couponList { get; set; }

    }
    public class couponList
    {
        public int bindType { get; set; }
        public decimal discount { get; set; }
        public string link { get; set; }
        public int platformType { get; set; }
        public decimal quota { get; set; }
        public string getStartTime { get; set; }
        public string getEndTime { get; set; }
        public string useStartTime { get; set; }
        public string useEndTime { get; set; }
        public int isBest { get; set; }

    }
    //图片集合
    public class imageInfo
    {
        public imageList[] imageList { get; set; }

    }
    public class imageList
    {
        public string url { get; set; }
    }
    //价格信息
    public class priceInfo
    {
        public decimal price { get; set; }
        public decimal lowestPrice { get; set; }
        public int lowestPriceType { get; set; }
        public decimal lowestCouponPrice { get; set; }
    }
    //店铺信息
    public class shopInfo
    {
        public string shopName { get; set; }
        public string shopId { get; set; }
        public decimal shopLevel { get; set; }
    }
    //拼购信息
    public class pinGouInfo
    {
        public decimal pingouPrice { get; set; }
        public string pingouTmCount { get; set; }
        public string pingouUrl { get; set; }
        public string pingouStartTime { get; set; }
        public string pingouEndTime { get; set; }
    }
    //资源信息
    public class resourceInfo
    {
        public int eliteId { get; set; }
        public string eliteName { get; set; }
    }
    //秒杀信息
    public class seckillInfo
    {
        public decimal seckillOriPrice { get; set; }
        public decimal seckillPrice { get; set; }
        public string seckillStartTime { get; set; }
        public string seckillEndTime { get; set; }
    }
    //视频信息
    public class videoInfo
    {
        public videoList[] videoList { get; set; }
    }
    public class videoList
    {
        public string width { get; set; }
        public string high { get; set; }
        public string imageUrl { get; set; }
        public string videoType { get; set; }
        public string playUrl { get; set; }
        public string playType { get; set; }
        public string duration { get; set; }
    }

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值