1.界面优化调整 2.618取消活动 3.清理无流量新 4.用户商品库1688及拼多多外部商品入库逻辑优化 5.带百分号的属性微信上货优化 6.数据库产品在不同用户间迁移 7.删除店铺功能开放给充值用户防止店铺导入错误无法删除

This commit is contained in:
wule committed 2026-06-11 11:38:08 +08:00
1 parent 2759ff0f6d
commit 0a9980335f
59 files changed
+3078 -652

No files matched your search

@@ -363,11 +363,12 @@ namespace TemuKJD.BLL.Wx
var prodIdLst = wxProdObjList.Select(p => p["productId"].ParseToString()).ToList();
if (prodIdLst.Count == 0)
{
// 取到商品页,直接跳出
// 取到无商品页,直接跳出
i = 999999;
break;
}
var prodMetricRst = getProductMetricList(shop, prodIdLst, i + 1);
//var prodMetricRst = getProductMetricList(shop, prodIdLst, i + 1);
var prodMetricRst = getProductMetricList(shop, prodIdLst);
if (!prodMetricRst.Contains("\"code\":0"))
{
WXShopListForm.CheckShopLogin(shop);
@@ -392,9 +393,10 @@ namespace TemuKJD.BLL.Wx
List<WXPlatformRecommendProdInfo> recommendProds = new List<WXPlatformRecommendProdInfo>();
foreach (var wxProdObj in wxProdObjList)
{
WXPlatformRecommendProdInfo recommendProd = new WXPlatformRecommendProdInfo();
var prodStr = JsonHelper.SerializeObject(wxProdObj);
var productMetricStr = JsonHelper.SerializeObject(productMetric);
WXPlatformRecommendProdInfo recommendProd = new WXPlatformRecommendProdInfo();
recommendProd.product_id = wxProdObj["productId"].ParseToString();
recommendProd.title = wxProdObj["title"].ParseToString();
var ViewUvCnt = productMetric.rowsMap
@@ -643,11 +645,11 @@ namespace TemuKJD.BLL.Wx
return result;
}
public static string searchProductWithSaleStatus(ShopLoginInfo shop, int pageNum = 1, int pageSize = 50)
public static string searchProductWithSaleStatus(ShopLoginInfo shop, int pageNum = 1, int pageSize = 50, int status = 5)
{
// 在售
string url = "https://store.weixin.qq.com/shop-faas/mmchannelstradeproductcore/cgi/goods/searchProduct?token=&lang=zh_CN&pageSize=" + pageSize +
"&productStatus[]=-1&productSource=[1,16,32]&searchSource=1&useNew=true&fromProductManager=1&pageNum=" + pageNum + "&status[]=5&sortType=6";
"&productStatus[]=-1&productSource=[1,16,32]&searchSource=1&useNew=true&fromProductManager=1&pageNum=" + pageNum + "&status[]=" + status + "&sortType=6";
// 全部商品
//string url = "https://store.weixin.qq.com/shop-faas/mmchannelstradeproductcore/cgi/goods/searchProduct?token=&lang=zh_CN&pageSize=" + pageSize +
// "&productStatus[]=-1&productSource=[1,16,32]&searchSource=1&useNew=true&fromProductManager=1&pageNum=" + pageNum + "&status[]=-1&sortType=6";