厂商采集拼多多采集及入库
This commit is contained in:
1 parent
1b15eda63c
commit
3996dcce09
16 files changed
+1723
-569
No files matched your search
@@ -1,80 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AllBase.Model.Result
|
||||
{
|
||||
/// <summary>
|
||||
/// 抖音搜索获取到的简单商品对象类
|
||||
/// </summary>
|
||||
public class DouGoodsCollectInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 商品ID spid
|
||||
/// </summary>
|
||||
public string Id;
|
||||
/// <summary>
|
||||
/// 商品名称 goodsName
|
||||
/// </summary>
|
||||
public string GoodsName;
|
||||
/// <summary>
|
||||
/// 平台
|
||||
/// </summary>
|
||||
public string pt;
|
||||
/// <summary>
|
||||
/// 价格 jg
|
||||
/// </summary>
|
||||
public string Price;
|
||||
/// <summary>
|
||||
/// 销量 xl
|
||||
/// </summary>
|
||||
public string Sales;
|
||||
/// <summary>
|
||||
/// 佣金 yj
|
||||
/// </summary>
|
||||
public string yj;
|
||||
/// <summary>
|
||||
/// 佣金率 yjl
|
||||
/// </summary>
|
||||
public string yjl;
|
||||
public string img;
|
||||
/// <summary>
|
||||
/// 类目 lm
|
||||
/// </summary>
|
||||
public string lm;
|
||||
/// <summary>
|
||||
/// 类目id lmid
|
||||
/// </summary>
|
||||
public string lmid;
|
||||
/// <summary>
|
||||
/// 关键词 gjz
|
||||
/// </summary>
|
||||
public string Keyword;
|
||||
/// <summary>
|
||||
/// 评论数 pl
|
||||
/// </summary>
|
||||
public int CommentsCount;
|
||||
/// <summary>
|
||||
/// 店铺ID dpid
|
||||
/// </summary>
|
||||
public string ShopId;
|
||||
/// <summary>
|
||||
/// 店铺名称 dpmc
|
||||
/// </summary>
|
||||
public string ShopName;
|
||||
/// <summary>
|
||||
/// 商品总数 spzs
|
||||
/// </summary>
|
||||
public int ShopProductCount;
|
||||
/// <summary>
|
||||
/// 好评率 hpl
|
||||
/// </summary>
|
||||
public double CommentsRate;
|
||||
/// <summary>
|
||||
/// 体验分数
|
||||
/// </summary>
|
||||
public double Score;
|
||||
}
|
||||
}
|
||||
@@ -1,112 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AllBase.Model.Result
|
||||
{
|
||||
/// <summary>
|
||||
/// 抖音店铺后台获取到的商品对象类
|
||||
/// </summary>
|
||||
public class DouProductListInfo
|
||||
{
|
||||
public long product_id { get; set; }
|
||||
|
||||
public string name { get; set; }
|
||||
|
||||
public int status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 指定审核状态返回商品列表:1未提审 2审核中 3审核通过 4审核驳回 5封禁 7审核通过,待上架状态
|
||||
/// </summary>
|
||||
public int check_status { get; set; }
|
||||
|
||||
public decimal discount_price { get; set; }
|
||||
|
||||
public string img { get; set; }
|
||||
|
||||
public decimal cos_ratio { get; set; }
|
||||
|
||||
public long create_time { get; set; }
|
||||
|
||||
public long update_time { get; set; }
|
||||
|
||||
public CategoryDetail category_detail { get; set; }
|
||||
|
||||
public string description { get; set; }
|
||||
|
||||
public string extra { get; set; }
|
||||
|
||||
public bool is_package_product { get; set; }
|
||||
|
||||
public decimal market_price { get; set; }
|
||||
|
||||
public string mobile { get; set; }
|
||||
|
||||
public long out_product_id { get; set; }
|
||||
|
||||
public int pay_type { get; set; }
|
||||
|
||||
public int product_type { get; set; }
|
||||
|
||||
public string recommend_remark { get; set; }
|
||||
|
||||
public long spec_id { get; set; }
|
||||
}
|
||||
|
||||
public class CategoryDetail
|
||||
{
|
||||
public long first_cid { get; set; }
|
||||
|
||||
public string first_cname { get; set; }
|
||||
|
||||
public long fourth_cid { get; set; }
|
||||
|
||||
public string fourth_cname { get; set; }
|
||||
|
||||
public long second_cid { get; set; }
|
||||
|
||||
public string second_cname { get; set; }
|
||||
|
||||
public long third_cid { get; set; }
|
||||
|
||||
public string third_cname { get; set; }
|
||||
}
|
||||
|
||||
public class DouProductWithSalesListInfo : DouProductListInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 总销量
|
||||
/// </summary>
|
||||
public int? sell_num { get; set; }
|
||||
/// <summary>
|
||||
/// 总库存
|
||||
/// </summary>
|
||||
public int? stock_num { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间文本
|
||||
/// </summary>
|
||||
public string create_time_str { get; set; }
|
||||
/// <summary>
|
||||
/// 订单数(7天 一个月)
|
||||
/// </summary>
|
||||
public int? order_count { get; set; }
|
||||
/// <summary>
|
||||
/// 曝光次数
|
||||
/// </summary>
|
||||
public int? show_count { get; set; }
|
||||
/// <summary>
|
||||
/// 曝光人数
|
||||
/// </summary>
|
||||
public int? show_people_count { get; set; }
|
||||
/// <summary>
|
||||
/// 点击次数
|
||||
/// </summary>
|
||||
public int? click_count { get; set; }
|
||||
/// <summary>
|
||||
/// 点击人数
|
||||
/// </summary>
|
||||
public int? click_people_count { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,89 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AllBase.Model.Result
|
||||
{
|
||||
public class DouProductPromotionListInfo
|
||||
{
|
||||
public string product_id;
|
||||
public string name;
|
||||
public string img;
|
||||
public int category_id;
|
||||
public int first_cid;
|
||||
public int second_cid;
|
||||
public int third_cid;
|
||||
public int fourth_cid;
|
||||
public string good_comment_rate;
|
||||
public string first_category;
|
||||
public string second_category;
|
||||
public string third_category;
|
||||
public string fourth_category;
|
||||
public int sold_times;
|
||||
public bool allow;
|
||||
public int stock_num;
|
||||
public int max_price;
|
||||
public int min_price;
|
||||
public int in_campaign;
|
||||
public List<object> promotions;
|
||||
public string reject_msg;
|
||||
public int reject_type;
|
||||
public object reject_detail;
|
||||
public bool is_combined;
|
||||
public int max_promotion_price;
|
||||
public int min_promotion_price;
|
||||
public string stype;
|
||||
public int? sell_num;
|
||||
}
|
||||
|
||||
public class DouProductProPromotionListSkuInfo
|
||||
{
|
||||
public string id { get; set; }
|
||||
/// <summary>
|
||||
/// 价格,单位分
|
||||
/// </summary>
|
||||
public int origin_price { get; set; }
|
||||
/// <summary>
|
||||
/// 库存
|
||||
/// </summary>
|
||||
public int stock { get; set; }
|
||||
/// <summary>
|
||||
/// sku规格名称
|
||||
/// </summary>
|
||||
public string specification { get; set; }
|
||||
/// <summary>
|
||||
/// sku图片
|
||||
/// </summary>
|
||||
public string img { get; set; }
|
||||
/// <summary>
|
||||
/// spec1 id
|
||||
/// </summary>
|
||||
public long spec_detail_id1 { get; set; }
|
||||
/// <summary>
|
||||
/// spec2 id
|
||||
/// </summary>
|
||||
public long spec_detail_id2 { get; set; }
|
||||
/// <summary>
|
||||
/// spec3 id
|
||||
/// </summary>
|
||||
public long spec_detail_id3 { get; set; }
|
||||
/// <summary>
|
||||
/// 划线价
|
||||
/// </summary>
|
||||
public int redline_price { get; set; }
|
||||
/// <summary>
|
||||
/// 优惠价
|
||||
/// </summary>
|
||||
public string SetPrice { get; set; }
|
||||
/// <summary>
|
||||
/// 活动库存
|
||||
/// </summary>
|
||||
public int ActiceStock { get; set; }
|
||||
/// <summary>
|
||||
/// 每人限购
|
||||
/// </summary>
|
||||
public int LimitedNum { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AllBase.Model.Result
|
||||
{
|
||||
/// <summary>
|
||||
/// 抖店商品交易指标
|
||||
/// </summary>
|
||||
public class DouTradeIndexListInfo
|
||||
{
|
||||
public bool can_operation { get; set; }
|
||||
/// <summary>
|
||||
/// 商品点击次数
|
||||
/// </summary>
|
||||
public string dh_product_click_pv { get; set; }
|
||||
/// <summary>
|
||||
/// 商品点击人数
|
||||
/// </summary>
|
||||
public string dh_product_click_uv { get; set; }
|
||||
/// <summary>
|
||||
/// 商品曝光次数
|
||||
/// </summary>
|
||||
public string dh_product_show_pv { get; set; }
|
||||
/// <summary>
|
||||
/// 商品曝光人数
|
||||
/// </summary>
|
||||
public string dh_product_show_uv { get; set; }
|
||||
/// <summary>
|
||||
/// 成交订单数
|
||||
/// </summary>
|
||||
public string pay_cnt { get; set; }
|
||||
public ProductTradeIndex product { get; set; }
|
||||
public List<object> talent { get; set; }
|
||||
public string product_id { get { return product?.serial_number; } }
|
||||
}
|
||||
|
||||
public class ProductTradeIndex
|
||||
{
|
||||
public string cover_image { get; set; }
|
||||
public string serial_number { get; set; }
|
||||
public string title { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AllBase.Model.Result
|
||||
{
|
||||
public class JSTListProductInfo
|
||||
{
|
||||
public string spuId { get; set; } // "38A11B454F26441AA605E00BF74358A2",
|
||||
public string id { get; set; } // "38A11B454F26441AA605E00BF74358A2",
|
||||
public decimal? supplyPrice { get; set; } // 0.26
|
||||
public decimal? maxSupplyPrice { get; set; } // 5.95
|
||||
public List<string> itemMainImage { get; set; } // [ "https://images.sursung.com/prod/pt/10361546/20240402/4CC48A2E804B484EB1D3606346E2D22B_s92273_h800_w800.jpg", ... ],
|
||||
public string itemName { get; set; } // "滚筒波轮全自动洗衣机排水管洗脸洗手盆下水软管出水管加长延长管",
|
||||
public string styleCode { get; set; } // "590410612913-1",
|
||||
public decimal? minSalesPrice { get; set; } // 3.59,
|
||||
public decimal? minSupplyPrice { get; set; } // null,
|
||||
public int? salesVolume { get; set; } // 179199,
|
||||
public string salesVolumeDesensitized { get; set; } // "17万+",
|
||||
public bool? privateStatus { get; set; } // false,
|
||||
public string brandId { get; set; } // "0",
|
||||
public string brandName { get; set; } // "无品牌",
|
||||
public string coId { get; set; } // "14202245",
|
||||
public string supplierId { get; set; } // "93D12D2BD21649DC8240E2265BE37E2A",
|
||||
public string supplierName { get; set; } // "义乌市喜博电子商务有限公司",
|
||||
public string offlineSupplierId { get; set; } // "",
|
||||
public string offlineSupplierName { get; set; } // "义乌市昀晗供应链管理有限公司",
|
||||
public object babyLink { get; set; } // null,
|
||||
public object distributorPrice { get; set; } // null,
|
||||
public long? sorted { get; set; } // 0,
|
||||
public bool? isTop { get; set; } // false,
|
||||
public object drpPriceEnum { get; set; } // null,
|
||||
public bool? firstTop { get; set; } // false,
|
||||
public bool? lastTop { get; set; } // false,
|
||||
public bool? drpSpuAdded { get; set; } // false,
|
||||
public int? visitQty { get; set; } // 8,
|
||||
public int? favoriteQty { get; set; } // 0,
|
||||
public bool? distributorStatus { get; set; } // true,
|
||||
public string distributorCoId { get; set; } // "10361546",
|
||||
public int? shelvesQty { get; set; } // 10,
|
||||
public string updated { get; set; } // "2025-12-10 23:27:47",
|
||||
public string userName { get; set; } // "义乌市喜博电子商务有限公司",
|
||||
public string created { get; set; } // "2025-04-12 00:11:38",
|
||||
public string categoryName { get; set; } // "下水软管/排水软管",
|
||||
public int? saleYesterday { get; set; } // 4,
|
||||
public int? supplierSaleYesterday { get; set; } // 6299,
|
||||
public int? saleThree { get; set; } // 15,
|
||||
public int? saleSeven { get; set; } // 45,
|
||||
public int? saleFifteen { get; set; } // 100,
|
||||
public int? saleThirty { get; set; } // 137,
|
||||
public int? supplierSaleThirty { get; set; } // 179199,
|
||||
public int? supplierSaleSeven { get; set; } // 42787,
|
||||
public object cloudDiskFolderId { get; set; } // "",
|
||||
public bool? allowDownload { get; set; } // false,
|
||||
public object newDays { get; set; } // null,
|
||||
public bool? todayPromoted { get; set; } // false,
|
||||
public string promoteDate { get; set; } // "2025-04-12",
|
||||
public object videoUrl { get; set; } // null,
|
||||
public object videoCoverUrl { get; set; } // null,
|
||||
public object recommend { get; set; } // null,
|
||||
public object freshmanLabels { get; set; } // null,
|
||||
public object fastOrder { get; set; } // null,
|
||||
public bool? deleted { get; set; } // false,
|
||||
public object makePublicForPartner { get; set; } // null,
|
||||
public decimal? saleSevenRiseRate { get; set; } // 0.012,
|
||||
public object categoryLv1Id { get; set; } // null,
|
||||
public object categoryLv2Id { get; set; } // null,
|
||||
public object categoryLv3Id { get; set; } // null,
|
||||
public object mainCategoryName { get; set; } // null,
|
||||
public object secondCategoryName { get; set; } // null,
|
||||
public bool? spuHaveVideo { get; set; } // false,
|
||||
public object brandAuditStatus { get; set; } // null,
|
||||
public bool? isPartner { get; set; } // true,
|
||||
public object platformTypes { get; set; } // null,
|
||||
public object favoritesId { get; set; } // null,
|
||||
public List<object> spuShelvesShopList { get; set; } // [ ],
|
||||
public object itemShelvesShopList { get; set; } // null,
|
||||
public bool? manualQueryPrice { get; set; } // true,
|
||||
public object dealPriceNinetyMax { get; set; } // null,
|
||||
public object distributorItemStatus { get; set; } // null,
|
||||
public object erpCategoryNameList { get; set; } // null,
|
||||
public object syncTime { get; set; } // null,
|
||||
public string itemSource { get; set; } // "FROM_SUP",
|
||||
public object shopName { get; set; } // null,
|
||||
public object shopType { get; set; } // null,
|
||||
public object brandNameList { get; set; } // null,
|
||||
public object description { get; set; } // null,
|
||||
public object havePurchasePriceRiseSku { get; set; } // null,
|
||||
public object havePurchasePriceReduceSku { get; set; } // null,
|
||||
public object afterSaleRateThirtyDay { get; set; } // null,
|
||||
public string regulatePriceIntercept { get; set; } // "UN_INTERCEPT",
|
||||
public bool? skuHaveRegulatePrice { get; set; } // false,
|
||||
public List<object> limitShelvesPlatformList { get; set; } // [ ],
|
||||
public List<object> limitShelvesPlatformListV2 { get; set; } // [ ],
|
||||
public object supSentGmv7d { get; set; } // null,
|
||||
public object sentCntIncrAvg7dRatio { get; set; } // null,
|
||||
public int? specNum { get; set; } // 2,
|
||||
public object partnerSpuId { get; set; } // null,
|
||||
public object freshmanHaveVideo { get; set; } // null,
|
||||
public int? buyLimitNum { get; set; } // 1,
|
||||
public bool? ifDefaultBuyLimit { get; set; } // true,
|
||||
public List<object> preSalePlatformList { get; set; } // [ ],
|
||||
public string itemCoId { get; set; } // "14202245",
|
||||
public string itemSpuId { get; set; } // "38A11B454F26441AA605E00BF74358A2",
|
||||
public bool? partner { get; set; } // true,
|
||||
public string saleSevenDesensitized { get; set; } // "40+",
|
||||
public string saleThirtyDesensitized { get; set; } // "100+",
|
||||
public string supplierSaleThirtyDesensitized { get; set; } // "17万+",
|
||||
public string supplierSaleSevenDesensitized { get; set; } // "4.2万+",
|
||||
public string saleYesterdayDesensitized { get; set; } // "4",
|
||||
public string supplierSaleYesterdayDesensitized { get; set; } // "6000+"
|
||||
|
||||
public KJDDBProduct dbProduct { get; set; }
|
||||
public string jstProductJson { get; set; }
|
||||
public string getProductMsg { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -13,6 +13,9 @@ namespace AllBase.Model.Result
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string from_shop_id { get; set; }
|
||||
public string from_shop_name { get; set; }
|
||||
public string offline_supplier_id { get; set; }
|
||||
public string offline_supplier_name { get; set; }
|
||||
public string spu_id { get; set; }
|
||||
public string skc_id { get; set; }
|
||||
public string main_cat_id { get; set; }
|
||||
|
||||
Reference in new issue
Block a user