微信商品回采功能

This commit is contained in:
wule committed 2026-03-06 09:54:48 +08:00
1 parent 3db584fe1e
commit d9900452f2
35 files changed
+4850 -696

No files matched your search

@@ -274,7 +274,7 @@ namespace AllBase.Model.Param.WXParam
{
public List<string> headImg { get; set; } = new List<string>(); // [ "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/695c7f5f000d23e709f79176079a1715000000a000004f50" ...],
public List<categoryParam> category { get; set; } = new List<categoryParam>();
public List<propParam> param { get; set; } = new List<propParam>();
public List<wxPropParam> param { get; set; } = new List<wxPropParam>();
public List<productSaleAttrParam> productSaleAttrs { get; set; } = new List<productSaleAttrParam>();
public List<object> shopcatId { get; set; } = new List<object>();
public List<object> qualificationUrl { get; set; } = new List<object>();
@@ -668,7 +668,7 @@ namespace AllBase.Model.Param.WXParam
}
public class propParam
public class wxPropParam
{
public List<categoryPropParam> categorys { get; set; } = new List<categoryPropParam>();
}
+5
View File
@@ -93,5 +93,10 @@ namespace AllBase.Model.Result
public string special_prod_type { get; set; }
public int? distribution_set { get; set; }
public int? send_to_out_server { get; set; }
/// <summary>
/// 是否有完善后的微信回采商品数据(详情存在微信回采数据表内)
/// </summary>
public string has_wx_format { get; set; }
}
}
+4
View File
@@ -248,6 +248,10 @@ namespace AllBase.Model.Result
}
}
/// <summary>
/// 用户的功能操作权限
/// </summary>
public string authority { get; set; }
/// <summary>
/// 用户(JIT推单)授权金额
/// </summary>
public decimal? authorized_amount { get; set; }
@@ -0,0 +1,126 @@
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
}
}