微信小店上传商品完成
This commit is contained in:
1 parent
0c2930bea5
commit
9e1a354ee5
35 files changed
+1965
-579
No files matched your search
@@ -10,7 +10,7 @@ namespace AllBase.Model.Param.WXParam
|
||||
{
|
||||
public int? from { get; set; } = 2; // 2,
|
||||
public WXProductParam product { get; set; } = new WXProductParam();
|
||||
public int? type { get; set; } = 0;
|
||||
public int? type { get; set; } = 1; // 1
|
||||
public bool? listingFlag { get; set; } = true;
|
||||
public bool? skipCheckAttr { get; set; } = true;
|
||||
public sessionInfoParam sessionInfo { get; set; } = new sessionInfoParam();
|
||||
@@ -28,7 +28,7 @@ namespace AllBase.Model.Param.WXParam
|
||||
public productKeyParam productKey { get; set; } = new productKeyParam();
|
||||
public int? status { get; set; } // 5,
|
||||
public int? editStatus { get; set; } // 4,
|
||||
public string auditReason { get; set; } = "";
|
||||
public string auditReason { get; set; } // "";
|
||||
public auditResultInfoParam auditResultInfo { get; set; } = new auditResultInfoParam();
|
||||
public productInfoParam info { get; set; } = new productInfoParam();
|
||||
public List<productSkuParam> productSkus { get; set; } = new List<productSkuParam>();
|
||||
@@ -38,13 +38,14 @@ namespace AllBase.Model.Param.WXParam
|
||||
|
||||
public class productSkuParam
|
||||
{
|
||||
public string __skuKey { get; set; } // "尺码.M_颜色.蓝色",
|
||||
public string __skuTitle { get; set; } // "蓝色 M",
|
||||
public string __skuKey { get; set; } = "";// "尺码.M_颜色.蓝色",
|
||||
public string __skuTitle { get; set; } = ""; // "蓝色 M",
|
||||
public bool? __skuSelected { get; set; } = true;
|
||||
public skuKeyParam skuKey { get; set; } = new skuKeyParam();
|
||||
public string skuId { get; set; } // "6134573242",
|
||||
public string skuId { get; set; } = ""; // "6134573242",
|
||||
public productSkuInfoParam productSkuInfo { get; set; } = new productSkuInfoParam();
|
||||
public int? status { get; set; } = 5;
|
||||
public int? index { get; set; } = 0;
|
||||
}
|
||||
|
||||
public class productSkuInfoParam
|
||||
@@ -54,8 +55,15 @@ namespace AllBase.Model.Param.WXParam
|
||||
public string skuCode { get; set; } = "";
|
||||
public string barCode { get; set; } = "";
|
||||
public stockInfoParam stockInfo { get; set; } = new stockInfoParam();
|
||||
public saleParamParam saleParam { get; set; } = new saleParamParam();
|
||||
public List<saleParamParam> saleParam { get; set; } = new List<saleParamParam>();
|
||||
public skuDeliverInfoParam skuDeliverInfo { get; set; } = new skuDeliverInfoParam();
|
||||
public stockDiffParam stockDiff { get; set; } = new stockDiffParam();
|
||||
}
|
||||
public class stockDiffParam
|
||||
{
|
||||
public int? diffType { get; set; } = 2;
|
||||
public object num { get; set; } // null
|
||||
|
||||
}
|
||||
|
||||
public class skuDeliverInfoParam
|
||||
@@ -85,7 +93,7 @@ namespace AllBase.Model.Param.WXParam
|
||||
public bool? isMainSale { get; set; } // true,
|
||||
public string name { get; set; } // "颜色",
|
||||
public int? id { get; set; } // 3,
|
||||
public string catId { get; set; } // "颜色",
|
||||
public long? catId { get; set; } // 2000000000028,
|
||||
public int? value { get; set; } // 0,
|
||||
public string label { get; set; } // "自定义规格",
|
||||
public int? priority { get; set; } // 1,
|
||||
@@ -112,12 +120,13 @@ namespace AllBase.Model.Param.WXParam
|
||||
}
|
||||
public class categoryValueParam
|
||||
{
|
||||
public string catId { get; set; } // "1767670333303",
|
||||
public long? catId { get; set; } // "1767670333303",
|
||||
public string name { get; set; } // "黑色",
|
||||
public string fCatId { get; set; } // "2000000000006",
|
||||
public long? fCatId { get; set; } // "2000000000006",
|
||||
public string catType { get; set; } // 0,
|
||||
public string brandCat { get; set; } // "0",
|
||||
public categoryValueCatInfo catInfo { get; set; }
|
||||
public bool? selected { get; set; }
|
||||
|
||||
public string desc { get; set; } = "";
|
||||
public int? priority { get; set; } = 1;
|
||||
@@ -186,7 +195,7 @@ namespace AllBase.Model.Param.WXParam
|
||||
|
||||
public class skuKeyParam
|
||||
{
|
||||
public string skuId { get; set; } // "6134573242"
|
||||
public string skuId { get; set; } = ""; // "6134573242"
|
||||
public productKeyDetailParam productKey { get; set; }
|
||||
}
|
||||
|
||||
@@ -234,7 +243,7 @@ namespace AllBase.Model.Param.WXParam
|
||||
public recommendCategoryParam recommendCategory { get; set; }
|
||||
public string listingTime { get; set; } // "1767693374",
|
||||
public string totalStockNum { get; set; } // "0",
|
||||
public serviceDescParam serviceDesc { get; set; }
|
||||
public serviceDescParam serviceDesc { get; set; } = new serviceDescParam();
|
||||
/// <summary>
|
||||
/// 运费信息
|
||||
/// </summary>
|
||||
@@ -247,10 +256,11 @@ namespace AllBase.Model.Param.WXParam
|
||||
public string totalOrderNum { get; set; } = "0";
|
||||
public string totalVisitNum { get; set; } = "0";
|
||||
public int? uploadSource { get; set; } = 6;
|
||||
public spuLimitedParam spuLimited { get; set; }
|
||||
public spuLimitedParam spuLimited { get; set; } = new spuLimitedParam();
|
||||
public int? originUploadSource { get; set; } = 6;
|
||||
public int? virtualType { get; set; } = 2;
|
||||
public int? productType { get; set; } = 1;
|
||||
public couponcodeInfoParam couponcodeInfo { get; set; } = new couponcodeInfoParam();
|
||||
/// <summary>
|
||||
/// extCode 货号
|
||||
/// </summary>
|
||||
@@ -264,11 +274,11 @@ namespace AllBase.Model.Param.WXParam
|
||||
public int? presaleTag { get; set; } = 0;
|
||||
public int? presaleTagType { get; set; } = 0;
|
||||
public int? maxPresaleEndTime { get; set; } = 0;
|
||||
public extraServiceParam extraService { get; set; }
|
||||
public extraServiceParam extraService { get; set; } = new extraServiceParam();
|
||||
/// <summary>
|
||||
/// 售后信息
|
||||
/// </summary>
|
||||
public afterSaleInfoParam afterSaleInfo { get; set; }
|
||||
public afterSaleInfoParam afterSaleInfo { get; set; } = new afterSaleInfoParam();
|
||||
public int? lastRefundOrderDays { get; set; } = 0;
|
||||
public string nodeCatId { get; set; } // "547705",
|
||||
public sizeChartInfoParam sizeChartInfo { get; set; } = new sizeChartInfoParam();
|
||||
@@ -309,14 +319,16 @@ namespace AllBase.Model.Param.WXParam
|
||||
public int? auditFromPersonalTrans { get; set; } = 0;
|
||||
public bool? isClipEditGray { get; set; } = false;
|
||||
public List<object> promotingVideoInfos { get; set; } = new List<object>();
|
||||
public timingOnsaleInfoParam timingOnsaleInfo { get; set; }
|
||||
public leagueItemInfoParam leagueItemInfo { get; set; }
|
||||
public timingOnsaleInfoParam timingOnsaleInfo { get; set; } = new timingOnsaleInfoParam();
|
||||
public leagueItemInfoParam leagueItemInfo { get; set; } = new leagueItemInfoParam();
|
||||
}
|
||||
|
||||
public class timingOnsaleInfoParam
|
||||
{
|
||||
public int? status { get; set; } = 0;
|
||||
public int? onsaleTime { get; set; } = 0;
|
||||
public int? isHidePrice { get; set; } = 0;
|
||||
public int? isHideParam { get; set; } = 0;
|
||||
|
||||
}
|
||||
|
||||
@@ -371,10 +383,10 @@ namespace AllBase.Model.Param.WXParam
|
||||
|
||||
public class extraServiceParam
|
||||
{
|
||||
public int? sevenDayReturn { get; set; } = 1;
|
||||
public int? payAfterUse { get; set; } = 1;
|
||||
public int? sevenDayReturn { get; set; } = 1; // 七天无理由
|
||||
public int? payAfterUse { get; set; } = 0; // 1, 先用后付
|
||||
public int? freightInsurance { get; set; } = 1; // 运费险
|
||||
public int? fastRefund { get; set; } = 1; // 快速退款
|
||||
public int? fastRefund { get; set; } = 0; // 1 快速退款
|
||||
public int? damageGuarantee { get; set; } = 0;
|
||||
public int? fakeOnePayFour { get; set; } = 0;
|
||||
public int? refundOrderTime { get; set; } = 0;
|
||||
@@ -401,7 +413,8 @@ namespace AllBase.Model.Param.WXParam
|
||||
public class spuLimitedParam
|
||||
{
|
||||
public int periodType { get; set; } = 0;
|
||||
public int limitedBuyNum { get; set; } = 0;
|
||||
//public int limitedBuyNum { get; set; } = 0;
|
||||
public string limitedBuyNum { get; set; } = "";
|
||||
public int createTime { get; set; } = 0;
|
||||
public int updateTime { get; set; } = 0;
|
||||
}
|
||||
@@ -434,7 +447,7 @@ namespace AllBase.Model.Param.WXParam
|
||||
public class recommendCategoryParam
|
||||
{
|
||||
public bool? isAccepted { get; set; } = false;
|
||||
public List<object> categoryNames { get; set; } = new List<object>();
|
||||
public List<string> categoryNames { get; set; } = new List<string>();
|
||||
public string recommendSource { get; set; } = "none";
|
||||
public string interfaceName { get; set; } = "";
|
||||
public int? useNewInterface { get; set; } = 0;
|
||||
@@ -545,7 +558,7 @@ namespace AllBase.Model.Param.WXParam
|
||||
|
||||
public class productDetailParam
|
||||
{
|
||||
public List<string> detailImg { get; set; } // ["https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/695c863e00022b1f09b35b0e7ad91715000000a000004f50", ...]
|
||||
public List<string> detailImg { get; set; } = new List<string>(); // ["https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/695c863e00022b1f09b35b0e7ad91715000000a000004f50", ...]
|
||||
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>();
|
||||
@@ -590,23 +603,23 @@ namespace AllBase.Model.Param.WXParam
|
||||
|
||||
public class propParam
|
||||
{
|
||||
public List<categoryPropParam> categorys { get; set; }
|
||||
public List<categoryPropParam> categorys { get; set; } = new List<categoryPropParam>();
|
||||
}
|
||||
|
||||
public class categoryPropParam
|
||||
{
|
||||
public string auditId { get; set; } // "0",
|
||||
public string bizuin { get; set; } // "0",
|
||||
public string brandCat { get; set; } // "0",
|
||||
public string catId { get; set; } // "0",
|
||||
public int? catType { get; set; } // 7,
|
||||
public string createTime { get; set; } // "0",
|
||||
public string desc { get; set; } // "",
|
||||
public string fCatId { get; set; } // "0",
|
||||
public string auditId { get; set; } = "0";
|
||||
public string bizuin { get; set; } = "0";
|
||||
public string brandCat { get; set; } = "0";
|
||||
public string catId { get; set; } = "0";
|
||||
public int? catType { get; set; } = 7;
|
||||
public string createTime { get; set; } = "0";
|
||||
public string desc { get; set; } = "";
|
||||
public string fCatId { get; set; } = "0";
|
||||
public string name { get; set; } // "款式",
|
||||
public int? priority { get; set; } // 0,
|
||||
public string updateTime { get; set; } // "0",
|
||||
public int? version { get; set; } // 0,
|
||||
public int? priority { get; set; } = 0;
|
||||
public string updateTime { get; set; } = "0";
|
||||
public int? version { get; set; } = 0;
|
||||
public catInfoParam catInfo { get; set; } // { "inputType": 1, "isRequired": 1, "isCustomize": 0 }
|
||||
}
|
||||
|
||||
|
||||
@@ -68,5 +68,6 @@ namespace AllBase.Model.Result
|
||||
|
||||
public int? sale_count { get; set; }
|
||||
public string sale_count_text { get; set; }
|
||||
public string wx_safe_status { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user