尺码表信息传递到草稿箱 选品相关功能优化

This commit is contained in:
wule committed 2025-07-18 18:18:08 +08:00
1 parent 40bf0623ca
commit 39cfc15188
34 files changed
+5562 -1581

No files matched your search

@@ -406,6 +406,7 @@ namespace TemuKJD.KJDForms.ShopForms
Task.Run(() =>
{
//CheckShopListLogin(new string[] { (obj as DouShopLoginInfo).LoginName });
StartUp.SaveLocalShopLoginInfo();
RefreshDataGridView(false);
});
}
+5 -1
View File
@@ -38,6 +38,7 @@ namespace TemuKJD.KJDForms.ShopForms
public EnumOpenType openType = EnumOpenType.manage;
public bool isMultiLogin = false;
public string MultiLoginCookieName = "";
public string InitUrl = "";
private string shopCookieHead = "kuajingmaihuo.com";
private string shopLoginUrl = "http://seller.kuajingmaihuo.com/login";
private string shopMainUrl = "https://seller.kuajingmaihuo.com";
@@ -263,7 +264,10 @@ namespace TemuKJD.KJDForms.ShopForms
if (cefWebBrowser == null)
{
//cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser("about:blank", false);
cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser(shopMainUrl, false);
if (!string.IsNullOrEmpty(InitUrl))
cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser(InitUrl, false);
else
cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser(shopMainUrl, false);
CustomResourceRequestHandlerLocal resourceRequestHandler = new CustomResourceRequestHandlerLocal();
resourceRequestHandler.ResourceLoadCompleteEvent += RequestHandler_ResourceLoadComplete;
cefWebBrowser.RequestHandler = new CustomRequestHandler(resourceRequestHandler);
@@ -117,7 +117,6 @@ window.location.href = 'https://seller.kuajingmaihuo.com/goods/product/list';
sc.LoginStatus = "登录成功";
}
ShopListForm.UpdateServerShopCookies(shopLoginInfo, shopLoginInfo.Cookies); // 店铺cookie写入服务端,多店共用一个登录账号一组cookie
StartUp.SaveLocalShopLoginInfo();
this.OnSaveComplete(shopLoginInfo);
this.Close();
}