微信小店上传商品完成
This commit is contained in:
1 parent
0c2930bea5
commit
9e1a354ee5
35 files changed
+1965
-579
No files matched your search
@@ -275,7 +275,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
}
|
||||
else
|
||||
{
|
||||
ShopBLL.MdyServerShopSubInfo(shopInfo);
|
||||
ShopBLL.MdyPDDServerShopSubInfo(shopInfo);
|
||||
btnRefreshCookie_Click(null, null);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user