导入外部多多数据 增加新格式

修改文件格式检测函数
This commit is contained in:
chfei committed 2026-08-11 16:32:42 +08:00
1 parent a568c685ee
commit 7d07c83579
6 files changed
+5090 -4535

No files matched your search

@@ -0,0 +1,73 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Result.PDDResult
{
public class PDDFrontProductInfo4
{
[JsonProperty("商品编号")]
public string ProductId { get; set; }
[JsonProperty("商品链接")]
public string ProductUrl { get; set; }
[JsonProperty("标题")]
public string Title { get; set; }
[JsonProperty("描述")]
public string Description { get; set; }
[JsonProperty("视频链接")]
public string VideoUrl { get; set; }
[JsonProperty("类目")]
public string Category { get; set; }
[JsonProperty("链接")]
public string Link { get; set; }
[JsonProperty("评论")]
public string Comments { get; set; }
[JsonProperty("属性")]
public Dictionary<string,string> Attributes { get; set; }
[JsonProperty("主图")]
public List<string> MainImages { get; set; }
[JsonProperty("详情图")]
public List<string> DetailImages { get; set; }
[JsonProperty("规格")]
public Dictionary<string,List<string>> Specifications { get; set; }
[JsonProperty("价格与库存")]
public Dictionary<string, PriceStock> SKU { get; set; }
}
public class PriceStock
{
[JsonProperty("规格值组合")]
public string SpecValue { get; set; }
[JsonProperty("价格")]
public string Price { get; set; }
[JsonProperty("原价")]
public string OriginalPrice { get; set; }
[JsonProperty("库存")]
public int Stock { get; set; }
[JsonProperty("规格图")]
public string SpecImage { get; set; }
}
}