增加老版本 KJDWebService
This commit is contained in:
1 parent
58abbb5b4f
commit
f84c4c1949
115 files changed
+36598
-18
No files matched your search
@@ -0,0 +1,192 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StoreHub.KJDWebService.Models.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