1微信用户采集店铺商品功能 2查询达人带货商品并联系达人功能

This commit is contained in:
wule committed 2026-06-09 18:11:32 +08:00
1 parent e1ee91dd03
commit 2759ff0f6d
33 files changed
+2464 -626

No files matched your search

@@ -259,7 +259,7 @@ namespace TemuKJD.BLL.Wx
// string wx_safe_status = !dbProdNormalLst.Any(p => p.wx_safe_status == "违规商品") ? "安全商品" : "违规商品";
// int? view_uv = recommendProd.product_view_uv.IsNullOrEmpty() ? (int?)null : recommendProd.product_view_uv.ParseToInt();
// var rst2 = new WXShopBrowserObject()
// .SaveWxProd(shop, prodId, wxProdInfoLite, "爆款数据", coid, real_coid, view_uv, wx_safe_status);
// .SaveWxProd(shop, prodId, wxProdInfoLite, false, "爆款数据", coid, real_coid, view_uv, wx_safe_status);
// if (!rst2.Contains("微信商品采集入库成功"))
// {
@@ -481,6 +481,7 @@ namespace TemuKJD.BLL.Wx
#region 查询原始数据
dbProdLst.Clear();
// 先查询聚水潭商品
if (spuCode.Length == 19)
{
url = BaseClass.BuildPDDObjString("product/get_product_list");
@@ -577,13 +578,14 @@ namespace TemuKJD.BLL.Wx
var normalJstProd = dbProdNormalLst
.FirstOrDefault(p => p.product_get_type_text == "厂商直采" && p.secret_spu_id == wxProdInfoLite.product.info.spuCode);
// 查询店铺商品,违规商品依然以违规商品入库,防止重复违规。
string prodId = recommendProd.product_id;
string coid = normalJstProd?.skc_id;
string real_coid = string.IsNullOrEmpty(normalJstProd?.real_coid) ? coid : normalJstProd?.real_coid;
string wx_safe_status = !dbProdNormalLst.Any(p => p.wx_safe_status == "违规商品") ? "安全商品" : "违规商品";
int? view_uv = recommendProd.product_view_uv.IsNullOrEmpty() ? (int?)null : recommendProd.product_view_uv.ParseToInt();
var rst2 = new WXShopBrowserObject()
.SaveWxProd(shop, prodId, wxProdInfoLite, "爆款数据", coid, real_coid, view_uv, wx_safe_status);
.SaveWxProd(shop, prodId, wxProdInfoLite, false, "爆款数据", coid, real_coid, view_uv, wx_safe_status);
if (!rst2.Contains("微信商品采集入库成功"))
{