using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AllBase.Model.Result.TemuResult { public class TemuWebClientProductInfo // store { /// /// 有商品类目名称信息 /// public List crumbOptList { get; set; } public clientGoodsInfo goods { get; set; } public List sku { get; set; } /// /// 详情图简单列表 /// public List productDetailFlatList { get; set; } /// /// 详情图完整列表 /// public productDetailInfo productDetail { get; set; } /// /// 商品页面左边所有图片列表(可能是主图+sku图) /// public List preloadFirstImgList { get; set; } public List goodsProperty { get; set; } } public class crumbOptInfo { public string seoLinkUrl { get; set; } // "/ca-zh-Hans", public int? tabType { get; set; } // 0, public string pRec { get; set; } // "{\"offset\":\"0\",\"list_id\":\"pc_crumb_list_4bzytc\",\"g\":\"0\",\"scene_id\":\"95\",\"opt_id\":\"-100\",\"ts_req\":\"0\",\"version\":\"5\",\"search_id\":\"_IHh7Tqb8opEtWvYBgp_LRi4Ofyx4F3ZTMo65IClyYg=\",\"scene\":\"pc_crumb_list\",\"gin_fallback\":\"0\",\"opt_type\":\"0\",\"goods_source\":\"rec\",\"idx\":\"0\",\"region\":\"37\",\"no_result\":\"0\",\"cloud_env\":\"usm1\",\"ts\":\"1762746343397\"}", public bool? disableDup { get; set; } // false, public int? pattern { get; set; } // 0, public string linkUrl { get; set; } // "/", public int? optType { get; set; } // 0, public string optName { get; set; } // "首页", public int? priority { get; set; } // 0, public int? optId { get; set; } // -100, public bool? isFeatured { get; set; } // false, public string href { get; set; } // "/ca-zh-Hans", public string title { get; set; } // "首页" } public class bestSellerModuleInfo { } public class productDetailInfo { public List floorList { get; set; } } public class floorInfo { public List items { get; set; } public int? type { get; set; } // 1, /// /// "marginBottom": 5 /// public Dictionary style { get; set; } } public class productDetailFlatInfo { public string url { get; set; } // "https://img.kwcdn.com/product/fancy/9084c7b6-0de8-4546-be07-be0bd8c4e6c4.jpg", public int? width { get; set; } // 1200, public int? height { get; set; } // 1200, public int? index { get; set; } // 0 } public class clientSkuInfo { public int? normalPrice { get; set; } // 534, public string normalPriceStr { get; set; } // "CA$5.34", public int? normalLinePrice { get; set; } // 3000, public string normalLinePriceStr { get; set; } // "30.00", public List salePriceRich { get; set; } public List linePriceRich { get; set; } public int? salePrice { get; set; } // 534, public long? skuId { get; set; } // 17601340657079, public long? goodsId { get; set; } // 601101753736428, public string thumbUrl { get; set; } // "https://img.kwcdn.com/product/open/e3b5a129022a4c0291d63bebefeda29c-goods.jpeg", /// /// 购买限量 /// public int? limitQuantity { get; set; } // 99, public int? isOnsale { get; set; } // 1, public int? canSubscribe { get; set; } // 0, public int? subscribeStatus { get; set; } // 0, public List specs { get; set; } public string skuLimitToast { get; set; } // "该商品的最大购买限额为99。", public string autoTuneNumberToast { get; set; } // "此商品的最大购买限额为 99。我们已将其更新为最大可用限额。", public int? galleryId { get; set; } // -1, public string specShowImageUrl { get; set; } // "https://img.kwcdn.com/product/open/e3b5a129022a4c0291d63bebefeda29c-goods.jpeg", public string urlId { get; set; } // "7074627613567149799", /// /// 库存数量 /// public int? stockQuantity { get; set; } // 635, public int? priority { get; set; } // 3, public object reduction { get; set; } public List sizeDescHoverLists { get; set; } public object control { get; set; } /// /// "salePrice": "534", /// "skuModel": "CLeboY2igAQYohM=", /// "isOnsale": "1", /// "reduction": "820", /// "business_reduction": "820", /// "limitQuantity": "99", /// "unitMainPrice": "0", /// "showBestPriceRich": "0" /// public Dictionary skuExt { get; set; } } public class clientSpec { public string specKey { get; set; } // "颜色", public string specValue { get; set; } // "Black", public int? specKeyId { get; set; } // 1001, public int? specValueId { get; set; } // 17079 } public class clientGoodsInfo { public int? minOnSalePrice { get; set; } // 484, public int? maxOnSalePrice { get; set; } // 620, public string minToMaxPriceStr { get; set; } // "CA$4.84-CA$6.20", public string minOnSalePriceStr { get; set; } // "CA$4.84", public long? goodsId { get; set; } // 601101753736428, public long? mallId { get; set; } // 4494544356590, public string goodsName { get; set; } // "柔软宽松的针织冬季小毛帽,适合女士和男士,男女通用冬季节日礼物。6个颜色可选", public int? isOnsale { get; set; } // 1, public string thumbUrl { get; set; } // "", public string hdThumbUrl { get; set; } // "https://img.kwcdn.com/product/open/4374e37ce05c4587a7d05d809c622040-goods.jpeg", public int? status { get; set; } // 1, public string itemId { get; set; } // "LP3898613", /// /// "sideSalesTip": "已售 1万件, by ", /// "mallLogo": "https://img.kwcdn.com/supplier-public-tag/1f193485160/3d1b1933-2ae4-4414-8906-792b3a520891_300x300.jpeg", /// "mallName": "Hundred Treasures Pavilion", /// "mallSalesTip": " (10万 已售)", /// "seoUrl": "/mall.html?_bg_fs=1&mall_id=4494544356590&goods_id=601101753736428&sticky_type=3", /// "mallJumpUrl": "/mall.html?_bg_fs=1&mall_id=4494544356590&goods_id=601101753736428&sticky_type=3", /// "mallSalesTipNew": "(已售出10万件)", /// "goodsSoldTip": "已售 1万件", /// "providedBy": "售自" /// public Dictionary saleInfo { get; set; } public string sideSalesTip { get; set; } // "已售 1万件", public int? isLocalGoods { get; set; } // 0, public List iterationSku { get; set; } // [17601340657079, 17601340657080, 17601340657081, 17601340657082, 17601340657083, 17601340657084], public long? catId { get; set; } // 30618, public int? soldQuantity { get; set; } // 10000, public string imageUrl { get; set; } // "", /// /// 主图和sku图列表 /// public List gallery { get; set; } public List goodsProperty { get; set; } public int? rows { get; set; } // 3, public string statusExplain { get; set; } // "NORMAL", public int? checkQuantity { get; set; } // 1, public int? sellerType { get; set; } // 0, public long? catId1 { get; set; } = 0; // 27011, public long? catId2 { get; set; } = 0; // 30327, public long? catId3 { get; set; } = 0; // 30603, public long? catId4 { get; set; } = 0; // 30607, public long? catId5 { get; set; } = 0; public long? catId6 { get; set; } = 0; public long? catId7 { get; set; } = 0; public long? catId8 { get; set; } = 0; public long? catId9 { get; set; } = 0; public long? catId10 { get; set; } = 0; public videoInfo video { get; set; } public int? soldOutSubscribeStatus { get; set; } /// /// 主图列表 /// public List bannerList { get; set; } public List detailList { get; set; } public List customImageList { get; set; } public List skc { get; set; } } public class galleryInfo { /// /// 主图(含视频)或sku 数字下标, 主图 > 0,sku从-1开始-2,-3依次类推 /// public long? id { get; set; } // 12384616100, public string urlId { get; set; } // "5596271214573389307", public string url { get; set; } // "https://img.kwcdn.com/product/open/4374e37ce05c4587a7d05d809c622040-goods.jpeg", public string videoUrl { get; set; } // "", public int? width { get; set; } // 1600, public int? height { get; set; } // 1600, /// /// 主图或sku图顺序数字从1开始1、2、3依次类推,主图视频为0 /// public int? priority { get; set; } // 0, /// /// 1 主图或视频; -1 sku图 /// public int? type { get; set; } // 1, public List showTextSpecs { get; set; } public int? enableShare { get; set; } // 1, public videoInfo video { get; set; } } public class videoInfo { public string url { get; set; } // "https://img.kwcdn.com/product/9f0010396fd407f18b04800a47355be2b52d04b1.temu.000001.jpeg", public string videoUrl { get; set; } // "https://goods-vod.kwcdn.com/goods-video/9c8a36ab13a9c0d247abda13adf3c4f08b653ba4gs2CV.f30.mp4", public int? height { get; set; } // 720, public int? width { get; set; } // 720 } public class showTextSpecInfo { public string specKey { get; set; } // "颜色", public string specValue { get; set; } // "深灰色", public int? specKeyId { get; set; } // 1001, public int? specValueId { get; set; } // 15071 } public class goodsPropertyInfo { public string key { get; set; } // "成分", public List values { get; set; } // [ "100% 腈纶" ], public int? refPid { get; set; } // 15, public int? referenceId { get; set; } // 0, public int? important { get; set; } // 1 public int? copyable { get; set; } // 1, public int? customProperty { get; set; } // 2 } }