1微信用户采集店铺商品功能 2查询达人带货商品并联系达人功能
This commit is contained in:
1 parent
e1ee91dd03
commit
2759ff0f6d
33 files changed
+2464
-626
No files matched your search
@@ -310,14 +310,6 @@ namespace TemuKJD.ToolForms
|
||||
var dbId = currentProd.id;
|
||||
var rows = dgvDbProduct.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["col_spu_id"].Value.ParseToString() == prodId).ToList();
|
||||
|
||||
if (chkWithTitle.Checked && !data.Contains(currentProd.product_name))
|
||||
{
|
||||
foreach (var row in rows)
|
||||
Invoke(new Action(() => { row.Cells["colOpResult"].Value = "标题不匹配"; }));
|
||||
currentProd = null;
|
||||
return;
|
||||
}
|
||||
|
||||
var titleStr = "";
|
||||
var stringList = data.Split(new string[] { "data:" }, StringSplitOptions.RemoveEmptyEntries);
|
||||
foreach(var str in stringList)
|
||||
@@ -331,7 +323,7 @@ namespace TemuKJD.ToolForms
|
||||
}
|
||||
|
||||
var titleList = titleStr.Split(new string[] { "\r", "\n", "\\n" }, StringSplitOptions.RemoveEmptyEntries).ToList();
|
||||
for (int i =0; i< titleList.Count; i++)
|
||||
for (int i = 0; i < titleList.Count; i++)
|
||||
{
|
||||
for (int j = 0; j < 500; j++)
|
||||
if (titleList[i].StartsWith("" + j + "."))
|
||||
@@ -341,6 +333,14 @@ namespace TemuKJD.ToolForms
|
||||
|
||||
if (titleList.Count() > 50)
|
||||
{
|
||||
if (chkWithTitle.Checked && !data.Contains(currentProd.product_name))
|
||||
{
|
||||
foreach (var row in rows)
|
||||
Invoke(new Action(() => { row.Cells["colOpResult"].Value = "标题不匹配"; }));
|
||||
currentProd = null;
|
||||
return;
|
||||
}
|
||||
|
||||
if (dbId.IsNullOrZero())
|
||||
dbId = 0;
|
||||
var url = BaseClass.BuildPDDObjString("product/mdy_db_product");
|
||||
|
||||
Reference in new issue
Block a user