上货优化,数据筛查优化

This commit is contained in:
wule committed 2026-09-03 21:02:18 +08:00
1 parent e05e49a71a
commit 0e75af40aa
6 files changed
+325 -175

No files matched your search

@@ -1304,7 +1304,7 @@ namespace TemuKJD.WXForms.ProductForms
result.Contains("提审次数已达上限") || result.Contains("拥金上货失败:需要开通优选联盟") || result.Contains("本店铺近期提审失败比例较高,已被限"))
{
shop.upLimitRetryCount++;
if (shop.upLimitRetryCount >= 3)
if (shop.upLimitRetryCount >= globalShopUploadCntLimitRetryTimes)
{
shop.upLimitRetryCount = 0;
@@ -7196,9 +7196,15 @@ namespace TemuKJD.WXForms.ProductForms
wxUploadRule.IsUseShanghaiReturnOrderAddress = chkUseShanghaiReturnOrderAddress.Checked;
NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_upload_rule", wxUploadRule);
}
}
public class WXUpload
int globalShopUploadCntLimitRetryTimes = 5;
private void numJumpCnt_ValueChanged(object sender, EventArgs e)
{
globalShopUploadCntLimitRetryTimes = numJumpCnt.Value.ParseToInt();
}
}
public class WXUpload
{
public static string searchProduct(ShopLoginInfo shop, string extCode, string extCode2 = "")
{