调整ai客服显示店铺后台相关信息

This commit is contained in:
wule_5900x committed 2026-11-15 15:15:30 +08:00
1 parent 8e280bcde1
commit bd72ff2766
2 files changed
+52 -57

No files matched your search

+7 -5
View File
@@ -91,7 +91,7 @@ namespace TemuKJD.WXForms.AiTalkForms
public PDDBuyerOrderListForm orderListForm = null;
DateTime nextRefreshTime = DateTime.Now.AddMinutes(30);
DateTime nextRefreshTime = DateTime.Now.AddMinutes(0);
public WxAiTalkForm()
{
@@ -176,6 +176,7 @@ namespace TemuKJD.WXForms.AiTalkForms
LoadAiTalk();
LoadAiTalkAdmin();
// 加载其他店铺后台信息
Task.Run(() =>
{
// 等待店铺初始化
@@ -191,7 +192,6 @@ namespace TemuKJD.WXForms.AiTalkForms
}));
SetMainBrowserUrl(currentShop);
LoadShop();
RefreshCookie(true);
Invoke(new Action(() =>
{
foreach (var shopNote in GlobalConfig.ValidShopLoginList.Select(s => s.Notes).Where(s => !s.IsNullOrEmpty()).Distinct())
@@ -207,6 +207,8 @@ namespace TemuKJD.WXForms.AiTalkForms
if (lstShopAfterSale == null)
lstShopAfterSale = new ConcurrentList<WxTalkFormShopMainInfo>();
}));
//刷新店铺cookie
//RefreshCookie(true);
// 加载店铺确认默认店铺后再初始化订单列表读取
InitOrderForm();
@@ -251,7 +253,7 @@ namespace TemuKJD.WXForms.AiTalkForms
}
/// <summary>
/// 初始化买手订单页面
/// 初始化买手订单页面,ai客服已移除,迁移到拍单软件
/// </summary>
void InitOrderForm()
{
@@ -1008,7 +1010,7 @@ namespace TemuKJD.WXForms.AiTalkForms
Invoke(new Action(() =>
{
if (r != null)
r.Cells["colMessage"].Value = "正在刷新店铺";
r.Cells["colMessage"].Value = "正在刷新店铺Cookie";
}));
WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
Invoke(new Action(() =>
@@ -1294,7 +1296,7 @@ namespace TemuKJD.WXForms.AiTalkForms
{
if (btnClose.Text == ">>")
{
splitContainer1.SplitterDistance = 379;
splitContainer1.SplitterDistance = 520;
btnClose.Text = "<<";
}
else