调整备货逻辑不允许品质分过低的商品自动备货(完成但尚未测试) 注释无用的相关接口(原小奶狗,小奶兔)

This commit is contained in:
wule committed 2025-08-18 19:19:42 +08:00
1 parent fceead357f
commit 8445ec1828
19 files changed
+865 -540

No files matched your search

+12 -12
View File
@@ -2112,18 +2112,18 @@ namespace Work.CollectClass
public static void GetServerCookies()
{
string url = BaseClass.LoginApiUrl + "?obj=upshopid/user_cookies";
string html = GetHtml.PostUtf8(url, "act=get_rand");
if (string.IsNullOrEmpty(html))
html = GetHtml.PostUtf8(url, "act=get_rand");
var m = BaseRegex.GetMatchRegex(ref html, "<user([^>]+?>)");
for (int i = 0; m != null && i < m.Count; i++)
{
string list = m[i].Groups[0].Value;
string mobile = BaseRegex.GetStringJson(ref list, "mobile");
string cookies = BaseRegex.GetStringJson(ref list, "cookies");
Mobiles.Add(new KeyValueBase(mobile, cookies));
}
//string url = BaseClass.LoginApiUrl + "?obj=upshopid/user_cookies";
//string html = GetHtml.PostUtf8(url, "act=get_rand");
//if (string.IsNullOrEmpty(html))
// html = GetHtml.PostUtf8(url, "act=get_rand");
//var m = BaseRegex.GetMatchRegex(ref html, "<user([^>]+?>)");
//for (int i = 0; m != null && i < m.Count; i++)
//{
// string list = m[i].Groups[0].Value;
// string mobile = BaseRegex.GetStringJson(ref list, "mobile");
// string cookies = BaseRegex.GetStringJson(ref list, "cookies");
// Mobiles.Add(new KeyValueBase(mobile, cookies));
//}
}
public static string GetRandomPDDAccessToken(Func<PinDuoDuoTokenInfo, bool> predicateToken)