127 lines
5.1 KiB
C#
127 lines
5.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AllBase.Model.Result.WXResult
|
|
{
|
|
public class WXGetEditProductInfoLite
|
|
{
|
|
public WXProductInfo product { get; set; }
|
|
}
|
|
|
|
public class WXProductInfo
|
|
{
|
|
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 WXProductKeyInfo
|
|
{
|
|
public string productId { get; set; } // "10000538778988"
|
|
}
|
|
|
|
public class WXProductInfoInfo
|
|
{
|
|
// 主图
|
|
public List<string> headImg { get; set; } = new List<string>();
|
|
public List<WXProductCategoryInfo> category { get; set; } = new List<WXProductCategoryInfo>();
|
|
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 string lastEditDraftTime { get; set; } // "1772532559"
|
|
public string shortTitle { get; set; } // "歪歪马脉冲震动成人情趣棒"
|
|
public string aiGenShortTitle { get; set; } // "歪歪马脉冲震动成人情趣棒"
|
|
public string uniqueId { get; set; } // "4411405439658180613"
|
|
}
|
|
|
|
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 WXProductCategoryInfo
|
|
{
|
|
public string catId { get; set; } // "10000577"
|
|
public string name { get; set; } // "情趣用品" // 可能为空或没有此字段
|
|
public string fCatId { get; set; } // "10000575"
|
|
public WXProductInfoInfo catInfo { get; set; }
|
|
public bool? leaf { get; set; } // false
|
|
}
|
|
|
|
public class WXProductCategoryInfoInfo
|
|
{
|
|
public int? catLevel { get; set; } // 2
|
|
public long? catGroup { get; set; } // 4294967295
|
|
}
|
|
}
|