修复售后单数量不足10条时漏单问题

This commit is contained in:
wule committed 2026-10-30 17:33:02 +08:00
1 parent 671ca453e0
commit f167c2585d
1 file changed
+9 -3
@@ -1095,8 +1095,7 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
var nextQueryCreatedAt = BaseRegex.GetStringJson(ref data, "nextQueryCreatedAt"); var nextQueryCreatedAt = BaseRegex.GetStringJson(ref data, "nextQueryCreatedAt");
dicPddAftersaleNextQueryCreatedAt[buyer] = nextQueryCreatedAt; dicPddAftersaleNextQueryCreatedAt[buyer] = nextQueryCreatedAt;
if (data.Contains("\"listItemVOList\":[]") || data.Contains("\"hasNextQuery\":false")) if (data.Contains("\"listItemVOList\":[]"))
//if (!data.Contains("/complaints_new_detail.html?after_sales_id="))
{ {
ShowBuyerOrderReadInfo(buyer, " 获取到空售后列表,退出自动滑动 "); ShowBuyerOrderReadInfo(buyer, " 获取到空售后列表,退出自动滑动 ");
currentReadBuyer = ""; currentReadBuyer = "";
@@ -1463,7 +1462,14 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
html3 = GetHtml.PostUtf8(url3, data3); html3 = GetHtml.PostUtf8(url3, data3);
} }
} }
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_after_sale_list", lstPddBuyerAfterSaleInfoLite); NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_after_sale_list", lstPddBuyerAfterSaleInfoLite);
if (data.Contains("\"hasNextQuery\":false"))
{
ShowBuyerOrderReadInfo(buyer, " 获取到空售后列表,退出自动滑动 ");
currentReadBuyer = "";
return;
}
} }