171 lines
7.9 KiB
C#
171 lines
7.9 KiB
C#
using NaiBa.Util.Extension;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace StoreHub.KJDWebService.Models.WxModel
|
|
{
|
|
public class WXClientProductInfoLite
|
|
{
|
|
public wx_client_prod_key product_key { get; set; }
|
|
|
|
public wx_client_prod_info info { get; set; }
|
|
|
|
public List<WXProductSkuInfoLite> productSkus { get; set; }
|
|
}
|
|
|
|
public class wx_client_prod_info
|
|
{
|
|
public string title { get; set; } // "2026新款情侣棒球帽立体C字母刺绣显脸小时尚百搭休闲韩版大头围鸭舌帽",
|
|
public string sub_title { get; set; } // "2025新款C字母立体刺绣棒球帽",
|
|
/// <summary>
|
|
/// 主图列表
|
|
/// </summary>
|
|
public List<string> head_img { get; set; } // ["https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/64f0a5760000484b151963b6bb81bc1e000000a000004f50", ...]
|
|
public List<wx_client_category> category { get; set; } // { "cat_id": "6093" }
|
|
/// <summary>
|
|
/// 商品详情(图)
|
|
/// </summary>
|
|
public wx_client_prod_detail detail { get; set; }
|
|
/// <summary>
|
|
/// 商品属性
|
|
/// </summary>
|
|
public List<wx_client_param> param { get; set; }
|
|
/// <summary>
|
|
/// 品牌id
|
|
/// </summary>
|
|
public string brand_id { get; set; } // "10250056"
|
|
public wx_client_sku_id_list sku_id_list { get; set; }
|
|
public wx_sku sku_list { get; set; }
|
|
public List<wx_client_product_sale_attr> product_sale_attrs { get; set; }
|
|
/// <summary>
|
|
/// 总销量
|
|
/// </summary>
|
|
public string total_sold_num { get; set; } // "46631"
|
|
public wx_client_service_desc service_desc { get; set; }
|
|
public wx_client_express_info express_info { get; set; }
|
|
public List<wx_client_head_video_info> headVideoInfo { get; set; }
|
|
|
|
public object afterSaleInfo { get; set; }
|
|
public List<object> deliveryExpressFee { get; set; }
|
|
public List<object> templateInfo { get; set; }
|
|
public string spuCode { get; set; }
|
|
}
|
|
|
|
public class wx_client_express_info
|
|
{
|
|
public string template_id { get; set; } // "243911370004",
|
|
public string product_id { get; set; } // "10000066623849",
|
|
public int? piece { get; set; } // 1,
|
|
public int? weight { get; set; } // 0,
|
|
public int? price { get; set; } // 5980
|
|
}
|
|
|
|
public class wx_client_service_desc
|
|
{
|
|
public string desc { get; set; } // "(麻烦阿姐阿哥们,带纸箱邮寄过去的一定记得用纸盒邮寄回,袋子邮寄的,带袋子寄回,拒收到付件,拒收自提件)"
|
|
}
|
|
|
|
public class wx_client_sku_id_list
|
|
{
|
|
public List<string> sku_ids { get; set; } //[ "1597139289", "1597121531", "1597127451", "1597113890", "1597119654" ]
|
|
}
|
|
|
|
public class wx_client_prod_key
|
|
{
|
|
public string product_id { get; set; } // "10000066623849",
|
|
public string appid { get; set; } // "wx62cca7dc2354b687"
|
|
}
|
|
|
|
public class wx_client_head_video_info
|
|
{
|
|
public string videoUrl { get; set; } // "https://wst.wxapp.tc.qq.com/162/20302/snssvpdownload/SH/reserved/0bc3yya5qaabfaaeaq6thjt2nrwd3ddadwaa.f100001.mp4?wdis_k=7cdc03c564ae62499c03d8034036e65c4405cd2d&wdis_t=1773699072&appid=none&scene=0&ext=eyJjaSI6MTAwMDY5LCJjczBjIjoxNywiY3MwbyI6NDA1MzAsImNzMWMiOjQsImNzMW8iOjExMDQ0OSwicnMiOiIyNDIwNDozIn0",
|
|
public string videoHeadImg { get; set; } // "https://wst.wxapp.tc.qq.com/162/20302/snssvpdownload/SH/reserved/0bc3yya5qaabfaaeaq6thjt2nrwd3ddadwaa.f1400_0.jpeg?wdis_k=7f202df2767ca6d4b8cec6f52d1706ea8e497708&wdis_t=1773699072&appid=none&scene=0&ext=eyJjaSI6MTAwMDY5LCJjczBjIjoxNywiY3MwbyI6NDA1MzAsImNzMWMiOjQsImNzMW8iOjExMDQ0OSwicnMiOiIyNDIwNDozIn0",
|
|
public int? videoLen { get; set; } // 24,
|
|
public string videoSize { get; set; } // "0",
|
|
public int? videoSource { get; set; } // 0,
|
|
public int? videoFormat { get; set; } // 0,
|
|
public string playableVideoUrl { get; set; } // "https://wst.wxapp.tc.qq.com/162/20302/snssvpdownload/SH/reserved/0bc3yya5qaabfaaeaq6thjt2nrwd3ddadwaa.f100001.mp4?wdis_k=7cdc03c564ae62499c03d8034036e65c4405cd2d&wdis_t=1773699072&appid=none&scene=0&ext=eyJjaSI6MTAwMDY5LCJjczBjIjoxNywiY3MwbyI6NDA1MzAsImNzMWMiOjQsImNzMW8iOjExMDQ0OSwicnMiOiIyNDIwNDozIn0",
|
|
public int? videoWidth { get; set; } // 1080,
|
|
public int? videoHeight { get; set; } // 1080,
|
|
public string videoH265Url { get; set; } // "https://wst.wxapp.tc.qq.com/162/20302/snssvpdownload/SH/reserved/0bc3yya5qaabfaaeaq6thjt2nrwd3ddadwaa.f100003.mp4?wdis_k=057570644d9b72ff0c62e85b1c54cf0f0a8b42f6&wdis_t=1773699072&appid=none&scene=0&ext=eyJjaSI6MTAwMDY5LCJjczBjIjoxNywiY3MwbyI6NDA1MzAsImNzMWMiOjQsImNzMW8iOjExMDQ0OSwicnMiOiIyNDIwNDozIn0",
|
|
public int? videoH265Width { get; set; } // 720,
|
|
public int? videoH265Height { get; set; } // 720
|
|
}
|
|
|
|
public class wx_client_product_sale_attr
|
|
{
|
|
public string key { get; set; } // "颜色"
|
|
public List<wx_client_product_sale_attr_item> items { get; set; }
|
|
public bool? has_img { get; set; }
|
|
}
|
|
|
|
public class wx_client_product_sale_attr_item
|
|
{
|
|
public string value { get; set; } // "卡其色"
|
|
public string img_url { get; set; } // "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/64eb0fd5000f2ca50a23b45f3567b01e000000a100004f50"
|
|
public List<string> sku_ids { get; set; } // [ "1597139289" ]
|
|
}
|
|
|
|
public class wx_sku
|
|
{
|
|
public List<wx_client_sku_info> sku_info { get; set; }
|
|
public string min_price_sku_id { get; set; } // "1597139289"
|
|
public string default_selected_sku_id { get; set; } // "1597139289"
|
|
}
|
|
|
|
public class wx_client_sku_info
|
|
{
|
|
public string sku_id { get; set; } // "1597139289",
|
|
public int? price { get; set; } // 5980,
|
|
public bool? is_discounted { get; set; } // true,
|
|
public int? discounted_price { get; set; } // 2990,
|
|
public int? origin_price { get; set; } // 5980,
|
|
}
|
|
|
|
public class wx_client_prod_detail
|
|
{
|
|
/// <summary>
|
|
/// 详情图
|
|
/// </summary>
|
|
public List<string> detail_img { get; set; } // ["https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/64f21d2b00009e7a156bc7cd6d63b01e000000a000004f50", ...]
|
|
public List<string> detailImg { get; set; } // ["https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/64f21d2b00009e7a156bc7cd6d63b01e000000a000004f50", ...]
|
|
public List<string> detail_img_real { get { return detail_img == null ? detailImg : detail_img; } }
|
|
public string desc { get; set; } // "纯萃美2025新款情侣棒球帽立体C字母刺绣显脸小时尚百搭休闲网红款韩版大头围硬顶鸭舌帽男女同款"
|
|
///// <summary>
|
|
/////
|
|
///// </summary>
|
|
//public List<string> detailImg { get; set; }
|
|
///// <summary>
|
|
///// 纯萃美2025新款情侣棒球帽立体C字母刺绣显脸小时尚百搭休闲网红款韩版大头围硬顶鸭舌帽男女同款
|
|
///// </summary>
|
|
//public string desc { get; set; }
|
|
}
|
|
|
|
public class wx_client_param
|
|
{
|
|
public List<wx_client_category> categorys { get; set; }
|
|
}
|
|
|
|
public class wx_client_category
|
|
{
|
|
public string catIdStr { get { return cat_id.IsNullOrEmpty() ? catId : cat_id; } } // "0",
|
|
public string cat_id { get; set; } // "0",
|
|
public string catId { get; set; } // "0",
|
|
public string name { get; set; } // "主要材质", "C字母刺绣"
|
|
public string f_cat_id { get; set; } // "0",
|
|
public string brand_cat { get; set; } // "0",
|
|
public wx_client_cat_info cat_info { get; set; }
|
|
}
|
|
|
|
public class wx_client_cat_info
|
|
{
|
|
public int? is_required { get; set; } // 1,
|
|
public int? is_customize { get; set; } // 0,
|
|
public int? input_type { get; set; } // 1
|
|
}
|
|
}
|
|
|