1成人用品上传到草稿箱 2随机商品跳过资质商品 3ai短标题 4记住类目保证金筛选功能
This commit is contained in:
1 parent
cce4c9da2d
commit
ce42448b29
15 files changed
+851
-389
No files matched your search
@@ -1039,7 +1039,18 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
WXShopListForm.UpdateShop();
|
||||
foreach (var shop in GlobalConfig.ShopLoginList)
|
||||
{
|
||||
var r = dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(x => x.Cells["colShopId"].Value.ToString() == shop.ShopId);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (r != null)
|
||||
r.Cells["colMessage"].Value = "正在刷新";
|
||||
}));
|
||||
WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (r != null)
|
||||
r.Cells["colMessage"].Value = "";
|
||||
}));
|
||||
}
|
||||
LoadShop();
|
||||
}
|
||||
@@ -1117,6 +1128,8 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
{
|
||||
lstShopAfterSale.RemoveAll(sa => sa.ShopId == shop.ShopId);
|
||||
var rst = WxShopStatisticsForm.GetShopMainInfoList(shop);
|
||||
if (!rst.Contains("\"code\":0"))
|
||||
rst = WxShopStatisticsForm.GetShopMainInfoList(shop);
|
||||
if (!rst.Contains("\"code\":0"))
|
||||
{
|
||||
WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
|
||||
@@ -1126,9 +1139,15 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
return;
|
||||
}
|
||||
|
||||
string errMsg = BaseRegex.GetStringJson(ref rst, "msg");
|
||||
if (string.IsNullOrEmpty(errMsg)) errMsg = BaseRegex.GetStringJson(ref rst, "message");
|
||||
if (string.IsNullOrEmpty(errMsg)) errMsg = BaseRegex.GetStringJson(ref rst, "errMsg");
|
||||
if (string.IsNullOrEmpty(errMsg)) errMsg = BaseRegex.GetStringJson(ref rst, "errmsg");
|
||||
if (string.IsNullOrEmpty(errMsg)) errMsg = rst;
|
||||
|
||||
afterInfo = new WxShopAfterSaleInfo() { ShopId = shop.ShopId, RefreshTime = DateTime.Now };
|
||||
lstShopAfterSale.Add(afterInfo);
|
||||
Invoke(new Action(() => { LoadShopAfterSale(afterInfo, "查询失败"); }));
|
||||
Invoke(new Action(() => { LoadShopAfterSale(afterInfo, "查询失败 " + errMsg); }));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1144,7 +1163,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
}
|
||||
});
|
||||
tList.Add(t);
|
||||
while (tList.Where(ta => !ta.IsFaulted && !ta.IsCompleted).Count() >= 20) { Thread.Sleep(100); }
|
||||
while (tList.Where(ta => !ta.IsFaulted && !ta.IsCompleted).Count() >= 10) { Thread.Sleep(100); }
|
||||
}
|
||||
while (tList.Where(ta => !ta.IsFaulted && !ta.IsCompleted).Count() >= 1) { Thread.Sleep(100); }
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_shop_after_sale_list", lstShopAfterSale);
|
||||
|
||||
Reference in new issue
Block a user