选品数据库列表一次查询200条 优化选品数据库商品图片显示

This commit is contained in:
wule committed 2025-07-25 11:08:02 +08:00
1 parent 9bf9ca768b
commit dfcf5e8a2c
4 files changed
+89 -23

No files matched your search

@@ -321,6 +321,7 @@ namespace TemuKJD.KJDForms.ShopForms
+ "&login_name=" + shop.LoginName
+ "&login_status=" + shop.LoginStatus
+ "&cookie=" + shopCookies.Replace("&", "&").Replace("%", "%").Replace("+", "+")
+ "&cookie2=" + shop.Cookies2.Replace("&", "&").Replace("%", "%").Replace("+", "+")
+ fTool;
var result = GetHtml.PostUtf8(url, data);
if (!result.Contains("\"code\":200"))
@@ -874,6 +875,15 @@ namespace TemuKJD.KJDForms.ShopForms
else
cookJs += "\r\ndocument.cookie='" + cookie + "; domain=seller.kuajingmaihuo.com;';";
}
// 全球站cookie
foreach (var shopCook in shop?.Cookies2?.Split(';'))
{
var cookie = shopCook.Trim();
if (!cookie.StartsWith("SUB_PASS_ID") && !cookie.StartsWith("mallid") && !cookie.StartsWith("_nano_fp"))
cookJs += "\r\ndocument.cookie='" + cookie + "; domain=.kuajingmaihuo.com;';";
else
cookJs += "\r\ndocument.cookie='" + cookie + "; domain=seller.kuajingmaihuo.com;';";
}
cookJs += "\r\nwindow.localStorage.setItem('" + "mall-info-id" + "', '" + shop.ShopId + "');";
cookJs += "\r\nsetTimeout(() => { window.location.href='https://seller.kuajingmaihuo.com'; }, 200)";
Clipboard.SetDataObject(cookJs);