导入外部多多数据 增加新格式
修改文件格式检测函数
This commit is contained in:
1 parent
a568c685ee
commit
7d07c83579
6 files changed
+5090
-4535
No files matched your search
@@ -233,6 +233,7 @@
|
||||
<Compile Include="Model\Result\PDDResult\PddClientInfo.cs" />
|
||||
<Compile Include="Model\Result\PDDResult\PDDFrontProductInfo2.cs" />
|
||||
<Compile Include="Model\Result\PDDResult\PDDFrontProductInfo3.cs" />
|
||||
<Compile Include="Model\Result\PDDResult\PDDFrontProductInfo4.cs" />
|
||||
<Compile Include="Model\Result\VDianShopLoginInfo.cs" />
|
||||
<Compile Include="Model\Result\WXResult\DSRShopScoreInfo.cs" />
|
||||
<Compile Include="Model\Result\WXResult\WxActivityData.cs" />
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user