微信小店上传商品完成

This commit is contained in:
wule committed 2026-01-14 19:24:22 +08:00
1 parent 0c2930bea5
commit 9e1a354ee5
35 files changed
+1965 -579

No files matched your search

+1 -1
View File
@@ -275,7 +275,7 @@ namespace TemuKJD.WXForms.ShopForms
}
else
{
ShopBLL.MdyServerShopSubInfo(shopInfo);
ShopBLL.MdyPDDServerShopSubInfo(shopInfo);
btnRefreshCookie_Click(null, null);
}
}
+3 -2
View File
@@ -176,9 +176,8 @@ namespace TemuKJD.WXForms.ShopForms
var result = GetHtml.PostUtf8(url, data);
}
}
}
// 店铺cookie写入服务端,多店共用一个登录账号一组cookie
WXShopListForm.UpdateServerShopCookies(shop);
// 手动更新内存中的店铺cookie
var lstShop = GlobalConfig.ShopLoginList.Where(l => l.LoginName == shop?.LoginName).ToList();
foreach (var s in lstShop)
@@ -187,6 +186,8 @@ namespace TemuKJD.WXForms.ShopForms
s.Cookies = cookies;
s.LastRefreshDate = DateTime.Now.ToString("yyyyMMdd");
}
//shop.Cookies = cookies;
WXShopListForm.UpdateServerShopCookies(shop);
OnSaveComplete(shop);
if (this.Created && this.chkCloseAfterLogin.Checked)