厂商采集拼多多采集及入库

This commit is contained in:
wule_5900x committed 2026-01-25 23:31:56 +08:00
1 parent 1b15eda63c
commit 3996dcce09
16 files changed
+1723 -569

No files matched your search

@@ -27,9 +27,9 @@ namespace TemuKJD.PDDForms.ProductSelectForms
{
public partial class PDDDBProdListForm : BaseGeneralForm
{
ShopLoginInfo shop = null;
ShopLoginInfo shop = null;
List<KJDDBProduct> lstTemuDbProduct = new List<KJDDBProduct>();
ConcurrentList<KJDDBProduct> lstTemuDbProduct = new ConcurrentList<KJDDBProduct>();
ConcurrentList<string> lstTitleReplaceText = new ConcurrentList<string>();
public PDDDBProdListForm()
@@ -857,12 +857,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
html = GetHtml.PostUtf8(existUrl, existData);
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
html = GetHtml.PostUtf8(existUrl, existData);
if (!string.IsNullOrEmpty(html) && html.Contains("\"code\":200"))
{
if (html.Contains("\"data\":[") && !html.Contains("\"data\":[]"))
isExist = true;
}
else
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
{
Invoke(new Action(() =>
{
@@ -870,6 +865,11 @@ namespace TemuKJD.PDDForms.ProductSelectForms
}));
continue;
}
else
{
if (html.Contains("\"data\":[") && !html.Contains("\"data\":[]"))
isExist = true;
}
var url = BaseClass.BuildObjString("product/add_product");
if (isExist)