拼多多商品获取逻辑

This commit is contained in:
wule committed 2025-09-11 19:06:16 +08:00
1 parent 840636d5c9
commit 6639224771
68 files changed
+7132 -692

No files matched your search

@@ -17,6 +17,7 @@ using TemuKJD.Extension;
using TemuKJD.BaseForms;
using TemuKJD.UserComponent;
using Work;
using TemuKJD.BLL;
namespace TemuKJD.KJDForms.ShopForms.Statistics
{
@@ -677,7 +678,7 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
string body = @"{}";
string refere = "https://agentseller.temu.com/";
return KJDHttpResponse.PostResponse2(shop, url, body, refere);
return HttpResponseBLL.PostResponse2(shop, url, body, refere);
}
private string GetFundDaily(ShopLoginInfo shop, DateTime date)
@@ -686,7 +687,7 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
string body = @"{""month"":""" + date.ToString("yyyy-MM") + @"""}";
string refere = "https://seller.kuajingmaihuo.com/labor/bill";
return KJDHttpResponse.PostResponse(shop, url, body, refere);
return HttpResponseBLL.PostResponse(shop, url, body, refere);
}
private string GetFundMonthly(ShopLoginInfo shop, DateTime date)
@@ -695,7 +696,7 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
string body = @"{""year"":""" + date.ToString("yyyy") + @"""}";
string refere = "https://seller.kuajingmaihuo.com/labor/bill";
return KJDHttpResponse.PostResponse(shop, url, body, refere);
return HttpResponseBLL.PostResponse(shop, url, body, refere);
}
/// <summary>
@@ -709,7 +710,7 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
string body = @"{}";
string refere = "https://seller.kuajingmaihuo.com/labor/account";
return KJDHttpResponse.PostResponse(shop, url, body, refere);
return HttpResponseBLL.PostResponse(shop, url, body, refere);
}
/// <summary>
/// 提现记录
@@ -722,7 +723,7 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
string body = @"{""page"":" + page + @",""pageSize"":100}";
string refere = "https://seller.kuajingmaihuo.com/labor/account";
return KJDHttpResponse.PostResponse(shop, url, body, refere);
return HttpResponseBLL.PostResponse(shop, url, body, refere);
}
private string GetWarehouseList2(ShopLoginInfo shop, int page = 1, int pageSize=40)
@@ -732,7 +733,7 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
string body = @"{""pageNo"":" + page + @",""pageSize"":" + pageSize + @",""isLack"":0,""selectStatusList"":[12],""priceAdjustRecentDays"":7}";
string refere = "https://agentseller.temu.com/stock/fully-mgt/sale-manage/main";
return KJDHttpResponse.PostResponse2(shop, url, body, refere);
return HttpResponseBLL.PostResponse2(shop, url, body, refere);
}
/// <summary>
@@ -746,7 +747,7 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
string url = "https://agentseller.temu.com/bg-luna-agent-seller/goods/quality/supplyChain/qualityMetrics/pageQuery";
string body = @"{""page"":1,""pageSize"":40,""qualityScoreEnum"":" + qualityScoreEnum + @",""productIds"":[" + productIds + "]}";
string refere = "https://agentseller.temu.com/main/quality/dashboard";
return KJDHttpResponse.PostResponse2(shop, url, body, refere);
return HttpResponseBLL.PostResponse2(shop, url, body, refere);
}
private void dgvShop_CellContentClick(object sender, DataGridViewCellEventArgs e)
@@ -12,6 +12,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using TemuKJD.BLL;
using TemuKJD.Extension;
namespace TemuKJD.KJDForms.ShopForms.Statistics
@@ -287,7 +288,7 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
string body = @"{""pageNo"":" + page + @",""pageSize"":10,""isLack"":0,""selectStatusList"":[12],""priceAdjustRecentDays"":7}";
string refere = "https://agentseller.temu.com/stock/fully-mgt/sale-manage/main";
return KJDHttpResponse.PostResponse2(shop, url, body, refere);
return HttpResponseBLL.PostResponse2(shop, url, body, refere);
}
private string GetShopStockList(ShopLoginInfo shop, int page = 1)
@@ -299,7 +300,7 @@ namespace TemuKJD.KJDForms.ShopForms.Statistics
string refere = "https://agentseller.temu.com/stock/fully-mgt/order-manage";
return KJDHttpResponse.PostResponse2(shop, url, body, refere);
return HttpResponseBLL.PostResponse2(shop, url, body, refere);
}
private void dgvShop_CellContentClick(object sender, DataGridViewCellEventArgs e)