微信app采集
This commit is contained in:
1 parent
52220daa8b
commit
2f61dc1cdd
67 files changed
+6197
-1118
No files matched your search
@@ -0,0 +1,169 @@
|
||||
using NaiBa.Util.Extension;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace KJD_WebService.Model.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
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,191 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace KJD_WebService.Model.WxModel
|
||||
{
|
||||
public class WXGetEditProductInfoLite
|
||||
{
|
||||
public WXProductInfo product { get; set; }
|
||||
public WXAfterSaleAddressInfo address { get; set; }
|
||||
}
|
||||
|
||||
public class WXAfterSaleAddressInfo
|
||||
{
|
||||
public string addressId { get; set; } // "69496256002",
|
||||
public string name { get; set; } // "",
|
||||
public WXAddressInfo addressInfo { get; set; }
|
||||
}
|
||||
|
||||
public class WXAddressInfo
|
||||
{
|
||||
public string userName { get; set; } // "王总",
|
||||
public string postalCode { get; set; } // "",
|
||||
public string provinceName { get; set; } // "安徽省",
|
||||
public string cityName { get; set; } // "合肥市",
|
||||
public string countyName { get; set; } // "肥西县",
|
||||
public string detailInfo { get; set; } // "蜀山区长江西路某某号某某单元",
|
||||
public string telNumber { get; set; } // "18388888888",
|
||||
public int? lat { get; set; } // 0,
|
||||
public int? lng { get; set; } // 0
|
||||
}
|
||||
|
||||
public class WXProductInfo
|
||||
{
|
||||
public List<WXProductSkuInfoLite> productSkus { get; set; }
|
||||
public WXProductKeyInfo productKey { get; set; }
|
||||
public WXProductInfoInfo info { get; set; }
|
||||
public int? status { get; set; } // 5
|
||||
public string createTime { get; set; } // "1772529740",
|
||||
public string updateTime { get; set; } // "1772533190",
|
||||
public int? version { get; set; } // 8,
|
||||
public int? editStatus { get; set; } // 4,
|
||||
public string editTime { get; set; } // "1772533189",
|
||||
public int source { get; set; } // 1
|
||||
}
|
||||
|
||||
public class WXProductSkuInfoLite
|
||||
{
|
||||
public WXSkuKeyInfoLite skuKey { get; set; }
|
||||
public WXProductSkuInfoInfoLite productSkuInfo { get; set; }
|
||||
}
|
||||
|
||||
public class WXProductSkuInfoInfoLite
|
||||
{
|
||||
public List<WXSaleParamInfoLite> saleParam { get; set; }
|
||||
public string thumbImg { get; set; } // "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/69a6a1ae000e63741a5ddf35d5b71715000000a000004f50"
|
||||
public string skuCode { get; set; } // ""
|
||||
public int? salePrice { get; set; } // 5880
|
||||
public WXStockInfoLite stockInfo { get; set; }
|
||||
public WXRealStockInfoLite realStockInfo { get; set; }
|
||||
}
|
||||
|
||||
public class WXRealStockInfoLite
|
||||
{
|
||||
public int? stockNum { get; set; } // 999
|
||||
public int? totalNum { get; set; } // 999
|
||||
}
|
||||
|
||||
public class WXStockInfoLite
|
||||
{
|
||||
public string stockNum { get; set; } // "9999999"
|
||||
}
|
||||
|
||||
public class WXSaleParamInfoLite
|
||||
{
|
||||
public List<WXProductCategoryInfoLite> categorys { get; set; }
|
||||
}
|
||||
|
||||
public class WXSkuKeyInfoLite
|
||||
{
|
||||
public string skuId { get; set; } // "8767785131",
|
||||
}
|
||||
|
||||
public class WXProductKeyInfo
|
||||
{
|
||||
public string productId { get; set; } // "10000538778988"
|
||||
}
|
||||
|
||||
public class WXProductInfoInfo
|
||||
{
|
||||
// 主图
|
||||
public List<string> headImg { get; set; } = new List<string>();
|
||||
public List<WXProductCategoryInfoLite> category { get; set; } = new List<WXProductCategoryInfoLite>();
|
||||
public List<WXProductParamInfo> param { get; set; } = new List<WXProductParamInfo>();
|
||||
public List<WXQualificationInfo> qualificationList { get; set; }
|
||||
public List<WXProductHeadimgInfo> productHeadimgInfo { get; set; }
|
||||
public List<WXHeadImgInfo> headImgInfos { get; set; }
|
||||
public string title { get; set; } // "歪歪马震动棒 成人情趣用品"
|
||||
public string subTitle { get; set; } // "",
|
||||
public string brand { get; set; } // "",
|
||||
public string model { get; set; } // "",
|
||||
public WXProductDetailInfo detail { get; set; }
|
||||
public string brandId { get; set; } // "10655917"
|
||||
public string listingTime { get; set; } // "1772533190"
|
||||
public string spuCode { get; set; } // "2028756820870602753"
|
||||
public WXAfterSaleInfo afterSaleInfo { get; set; }
|
||||
public string lastEditDraftTime { get; set; } // "1772532559"
|
||||
public string shortTitle { get; set; } // "歪歪马脉冲震动成人情趣棒"
|
||||
public string aiGenShortTitle { get; set; } // "歪歪马脉冲震动成人情趣棒"
|
||||
public string uniqueId { get; set; } // "4411405439658180613"
|
||||
}
|
||||
|
||||
public class WXAfterSaleInfo
|
||||
{
|
||||
public string afterSaleAddressId;
|
||||
}
|
||||
|
||||
public class WXProductDetailInfo
|
||||
{
|
||||
public List<string> detailImg { get; set; } = new List<string>(); // [ "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/69a6a8460000683300254e4c8c4fab15000000a100004f50", ... ],
|
||||
public List<object> detailVideos { get; set; } = new List<object>();
|
||||
public List<object> detailVideoInfo { get; set; } = new List<object>();
|
||||
public List<object> carouselImg { get; set; } = new List<object>();
|
||||
public string desc { get; set; } = "";
|
||||
}
|
||||
|
||||
public class WXHeadImgInfo
|
||||
{
|
||||
public string imgUrl { get; set; } // "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/69a6a8420006d56e0003583092a31715000000a100004f50",
|
||||
public int? imgWidth { get; set; } // 800,
|
||||
public int? imgHeight { get; set; } // 800
|
||||
}
|
||||
|
||||
public class WXProductHeadimgInfo
|
||||
{
|
||||
public List<object> colors { get; set; } = new List<object>(); // []
|
||||
public string imgUrl { get; set; } // "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/69a6a8420006d56e0003583092a31715000000a100004f50"
|
||||
public WXMainColors mainColors { get; set; }
|
||||
}
|
||||
|
||||
public class WXMainColors
|
||||
{
|
||||
public int? red { get; set; } // 255,
|
||||
public int? green { get; set; } // 255,
|
||||
public int? blue { get; set; } // 255
|
||||
}
|
||||
|
||||
public class WXQualificationInfo
|
||||
{
|
||||
public List<string> qualificationUrl { get; set; } // ["https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/69a6a84a0008442e2a4a8f7179bc1715000000a000004f50"]
|
||||
public string qualificationId { get; set; } // "50000115"
|
||||
public int? showCertType { get; set; } // 0
|
||||
}
|
||||
|
||||
public class WXProductParamInfo
|
||||
{
|
||||
public List<WXProductParamCategoryInfo> categorys { get; set; } = new List<WXProductParamCategoryInfo>();
|
||||
}
|
||||
|
||||
public class WXProductParamCategoryInfo
|
||||
{
|
||||
public string name { get; set; } // [0] "name": "长度" [1] "name": "20 cm",
|
||||
public int? catType { get; set; } = 0;
|
||||
public WXProductParamCategoryCatInfo catInfo { get; set; }
|
||||
}
|
||||
|
||||
public class WXProductParamCategoryCatInfo
|
||||
{
|
||||
public int? isRequired { get; set; } // 1,
|
||||
public int? isCustomize { get; set; } // 0,
|
||||
public int? inputType { get; set; } // 1-单选 2-文本
|
||||
public long? catGroup { get; set; } // 4294967295,
|
||||
}
|
||||
|
||||
public class WXProductCategoryInfoLite
|
||||
{
|
||||
public string catId { get; set; } // "10000577"
|
||||
public string name { get; set; } // "情趣用品" // 可能为空或没有此字段
|
||||
public string fCatId { get; set; } // "10000575"
|
||||
public WXProductCategoryInfoInfoLite catInfo { get; set; }
|
||||
public bool? leaf { get; set; } // false
|
||||
}
|
||||
|
||||
public class WXProductCategoryInfoInfoLite
|
||||
{
|
||||
public int? catLevel { get; set; } // 2
|
||||
public long? catGroup { get; set; } // 4294967295
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user