报名活动相关逻辑修改。待测试

This commit is contained in:
wule committed 2026-04-06 19:36:07 +08:00
1 parent e9cbb1537c
commit f1e2477c34
22 files changed
+8057 -1562

No files matched your search

@@ -415,7 +415,7 @@ namespace TemuKJD.PDDForms.ProductForms
}
private string shop_goods_search(ShopLoginInfo shop, List<string> goods_id_list, string goods_name,
public static string shop_goods_search(ShopLoginInfo shop, List<string> goods_id_list, string goods_name,
List<string> out_goods_sn_list = null, List<string> out_sku_sns = null, int? isOnsale = null, long? minPrice=null, long? maxPrice=null, int page=1, int pageSize = 100)
{
var anti = shop.AntiContents.LastOrDefault().ParseToString();
@@ -795,7 +795,11 @@ namespace TemuKJD.PDDForms.ProductForms
public void GetToken(ShopLoginInfo shop)
{
if (!dicShopGetCount.Keys.Contains(shop))
{
var antiLst = shop.AntiContents.Take(Math.Max(1, shop.AntiContents.Count - 5)).ToList();
shop.AntiContents.RemoveAll(a => antiLst.Contains(a));
dicShopGetCount[shop] = 100;
}
else
dicShopGetCount[shop]++;
if (dicShopGetCount[shop] > 5)