diff --git a/TEMUKJD/WXForms/AiTalkForms/WxAiTalkForm.Designer.cs b/TEMUKJD/WXForms/AiTalkForms/WxAiTalkForm.Designer.cs index 81f9b1f..ae1928d 100644 --- a/TEMUKJD/WXForms/AiTalkForms/WxAiTalkForm.Designer.cs +++ b/TEMUKJD/WXForms/AiTalkForms/WxAiTalkForm.Designer.cs @@ -174,7 +174,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.splitContainer1.Panel2.Controls.Add(this.panel4); this.splitContainer1.Panel2MinSize = 0; this.splitContainer1.Size = new System.Drawing.Size(1498, 618); - this.splitContainer1.SplitterDistance = 379; + this.splitContainer1.SplitterDistance = 520; this.splitContainer1.TabIndex = 1; // // splitContainer2 @@ -196,13 +196,12 @@ namespace TemuKJD.WXForms.AiTalkForms // this.splitContainer2.Panel2.Controls.Add(this.splitContainer4); this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(4, 0, 0, 4); - this.splitContainer2.Size = new System.Drawing.Size(379, 618); + this.splitContainer2.Size = new System.Drawing.Size(520, 618); this.splitContainer2.SplitterDistance = 31; this.splitContainer2.TabIndex = 0; // // btnRefreshAiStatus // - this.btnRefreshAiStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnRefreshAiStatus.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.btnRefreshAiStatus.Cursor = System.Windows.Forms.Cursors.Hand; this.btnRefreshAiStatus.DisabledBackColor = System.Drawing.Color.Empty; @@ -234,7 +233,6 @@ namespace TemuKJD.WXForms.AiTalkForms // // btnBatchBindShop // - this.btnBatchBindShop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnBatchBindShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.btnBatchBindShop.Cursor = System.Windows.Forms.Cursors.Hand; this.btnBatchBindShop.DisabledBackColor = System.Drawing.Color.Empty; @@ -262,7 +260,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.btnMultiLogin.Cursor = System.Windows.Forms.Cursors.Hand; this.btnMultiLogin.DisabledBackColor = System.Drawing.Color.Empty; this.btnMultiLogin.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnMultiLogin.Location = new System.Drawing.Point(321, 7); + this.btnMultiLogin.Location = new System.Drawing.Point(462, 7); this.btnMultiLogin.Name = "btnMultiLogin"; this.btnMultiLogin.Size = new System.Drawing.Size(58, 20); this.btnMultiLogin.Style.Alignment = System.Drawing.StringAlignment.Center; @@ -311,7 +309,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.splitContainer4.Panel2.Controls.Add(this.line1); this.splitContainer4.Panel2.Controls.Add(this.label5); this.splitContainer4.Panel2.Controls.Add(this.pbLoading); - this.splitContainer4.Size = new System.Drawing.Size(375, 579); + this.splitContainer4.Size = new System.Drawing.Size(516, 579); this.splitContainer4.SplitterDistance = 481; this.splitContainer4.TabIndex = 7; // @@ -324,7 +322,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.pnlShop.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlShop.Location = new System.Drawing.Point(0, 0); this.pnlShop.Name = "pnlShop"; - this.pnlShop.Size = new System.Drawing.Size(375, 481); + this.pnlShop.Size = new System.Drawing.Size(516, 481); this.pnlShop.TabIndex = 8; // // cmbMessage @@ -360,7 +358,7 @@ namespace TemuKJD.WXForms.AiTalkForms "无"}); this.cmbMessage.Location = new System.Drawing.Point(76, 53); this.cmbMessage.Name = "cmbMessage"; - this.cmbMessage.Size = new System.Drawing.Size(82, 20); + this.cmbMessage.Size = new System.Drawing.Size(223, 20); this.cmbMessage.TabIndex = 193; this.cmbMessage.Visible = false; // @@ -368,7 +366,7 @@ namespace TemuKJD.WXForms.AiTalkForms // this.chkNotShowMessageWindow.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkNotShowMessageWindow.AutoSize = true; - this.chkNotShowMessageWindow.Location = new System.Drawing.Point(6, 31); + this.chkNotShowMessageWindow.Location = new System.Drawing.Point(147, 31); this.chkNotShowMessageWindow.Name = "chkNotShowMessageWindow"; this.chkNotShowMessageWindow.Size = new System.Drawing.Size(123, 21); this.chkNotShowMessageWindow.TabIndex = 201; @@ -431,7 +429,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.dgvShop.ReadOnly = true; this.dgvShop.RowHeadersWidth = 25; this.dgvShop.RowTemplate.Height = 23; - this.dgvShop.Size = new System.Drawing.Size(375, 481); + this.dgvShop.Size = new System.Drawing.Size(516, 481); this.dgvShop.TabIndex = 7; this.dgvShop.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellClick); this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick); @@ -525,7 +523,6 @@ namespace TemuKJD.WXForms.AiTalkForms this.colWaitSend.HeaderText = "待发货"; this.colWaitSend.Name = "colWaitSend"; this.colWaitSend.ReadOnly = true; - this.colWaitSend.Visible = false; this.colWaitSend.Width = 50; // // colWayBillError @@ -533,7 +530,6 @@ namespace TemuKJD.WXForms.AiTalkForms this.colWayBillError.HeaderText = "物流异常"; this.colWayBillError.Name = "colWayBillError"; this.colWayBillError.ReadOnly = true; - this.colWayBillError.Visible = false; this.colWayBillError.Width = 62; // // colAfterSale @@ -541,7 +537,6 @@ namespace TemuKJD.WXForms.AiTalkForms this.colAfterSale.HeaderText = "售后"; this.colAfterSale.Name = "colAfterSale"; this.colAfterSale.ReadOnly = true; - this.colAfterSale.Visible = false; this.colAfterSale.Width = 38; // // colPunishCount @@ -549,7 +544,6 @@ namespace TemuKJD.WXForms.AiTalkForms this.colPunishCount.HeaderText = "店铺违规"; this.colPunishCount.Name = "colPunishCount"; this.colPunishCount.ReadOnly = true; - this.colPunishCount.Visible = false; this.colPunishCount.Width = 62; // // colScore @@ -557,7 +551,6 @@ namespace TemuKJD.WXForms.AiTalkForms this.colScore.HeaderText = "评分"; this.colScore.Name = "colScore"; this.colScore.ReadOnly = true; - this.colScore.Visible = false; this.colScore.Width = 38; // // colCanUse @@ -613,7 +606,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.btnRefreshMsgCount.Cursor = System.Windows.Forms.Cursors.Hand; this.btnRefreshMsgCount.DisabledBackColor = System.Drawing.Color.Empty; this.btnRefreshMsgCount.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnRefreshMsgCount.Location = new System.Drawing.Point(317, 4); + this.btnRefreshMsgCount.Location = new System.Drawing.Point(458, 4); this.btnRefreshMsgCount.Name = "btnRefreshMsgCount"; this.btnRefreshMsgCount.Size = new System.Drawing.Size(59, 22); this.btnRefreshMsgCount.Style.Alignment = System.Drawing.StringAlignment.Center; @@ -685,7 +678,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.btnRefreshAfterSale.Cursor = System.Windows.Forms.Cursors.Hand; this.btnRefreshAfterSale.DisabledBackColor = System.Drawing.Color.Empty; this.btnRefreshAfterSale.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnRefreshAfterSale.Location = new System.Drawing.Point(257, 66); + this.btnRefreshAfterSale.Location = new System.Drawing.Point(398, 66); this.btnRefreshAfterSale.Name = "btnRefreshAfterSale"; this.btnRefreshAfterSale.Size = new System.Drawing.Size(118, 25); this.btnRefreshAfterSale.Style.Alignment = System.Drawing.StringAlignment.Center; @@ -714,7 +707,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.cmbFiltNotes.IntegralHeight = false; this.cmbFiltNotes.Location = new System.Drawing.Point(173, 66); this.cmbFiltNotes.Name = "cmbFiltNotes"; - this.cmbFiltNotes.Size = new System.Drawing.Size(82, 25); + this.cmbFiltNotes.Size = new System.Drawing.Size(223, 25); this.cmbFiltNotes.TabIndex = 0; this.cmbFiltNotes.Text = "全部"; // @@ -725,7 +718,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.btnRestore.Cursor = System.Windows.Forms.Cursors.Hand; this.btnRestore.DisabledBackColor = System.Drawing.Color.Empty; this.btnRestore.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnRestore.Location = new System.Drawing.Point(213, 41); + this.btnRestore.Location = new System.Drawing.Point(354, 41); this.btnRestore.Name = "btnRestore"; this.btnRestore.Size = new System.Drawing.Size(42, 23); this.btnRestore.Style.Alignment = System.Drawing.StringAlignment.Center; @@ -755,7 +748,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.txtFiltShopName.Location = new System.Drawing.Point(57, 41); this.txtFiltShopName.Name = "txtFiltShopName"; this.txtFiltShopName.PreventEnterBeep = true; - this.txtFiltShopName.Size = new System.Drawing.Size(110, 23); + this.txtFiltShopName.Size = new System.Drawing.Size(251, 23); this.txtFiltShopName.TabIndex = 202; // // btnFilterShop @@ -765,7 +758,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.btnFilterShop.Cursor = System.Windows.Forms.Cursors.Hand; this.btnFilterShop.DisabledBackColor = System.Drawing.Color.Empty; this.btnFilterShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnFilterShop.Location = new System.Drawing.Point(169, 41); + this.btnFilterShop.Location = new System.Drawing.Point(310, 41); this.btnFilterShop.Name = "btnFilterShop"; this.btnFilterShop.Size = new System.Drawing.Size(42, 23); this.btnFilterShop.Style.Alignment = System.Drawing.StringAlignment.Center; @@ -790,7 +783,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.btnRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand; this.btnRefreshShop.DisabledBackColor = System.Drawing.Color.Empty; this.btnRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnRefreshShop.Location = new System.Drawing.Point(257, 41); + this.btnRefreshShop.Location = new System.Drawing.Point(398, 41); this.btnRefreshShop.Name = "btnRefreshShop"; this.btnRefreshShop.Size = new System.Drawing.Size(118, 23); this.btnRefreshShop.Style.Alignment = System.Drawing.StringAlignment.Center; @@ -835,7 +828,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.line1.ForeColor = System.Drawing.Color.Silver; this.line1.Location = new System.Drawing.Point(4, 26); this.line1.Name = "line1"; - this.line1.Size = new System.Drawing.Size(366, 10); + this.line1.Size = new System.Drawing.Size(507, 10); this.line1.TabIndex = 242; this.line1.Text = "line1"; // @@ -853,7 +846,7 @@ namespace TemuKJD.WXForms.AiTalkForms // this.pbLoading.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue; - this.pbLoading.Location = new System.Drawing.Point(291, 2); + this.pbLoading.Location = new System.Drawing.Point(432, 2); this.pbLoading.Name = "pbLoading"; this.pbLoading.Size = new System.Drawing.Size(25, 25); this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; @@ -870,7 +863,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; this.panel4.Location = new System.Drawing.Point(0, 0); this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(1115, 618); + this.panel4.Size = new System.Drawing.Size(974, 618); this.panel4.TabIndex = 906; // // btnReload @@ -880,7 +873,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.btnReload.Cursor = System.Windows.Forms.Cursors.Hand; this.btnReload.DisabledBackColor = System.Drawing.Color.Empty; this.btnReload.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnReload.Location = new System.Drawing.Point(929, 12); + this.btnReload.Location = new System.Drawing.Point(788, 12); this.btnReload.Name = "btnReload"; this.btnReload.Size = new System.Drawing.Size(88, 23); this.btnReload.Style.Alignment = System.Drawing.StringAlignment.Center; @@ -932,7 +925,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.btnToKfMainPage.Cursor = System.Windows.Forms.Cursors.Hand; this.btnToKfMainPage.DisabledBackColor = System.Drawing.Color.Empty; this.btnToKfMainPage.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnToKfMainPage.Location = new System.Drawing.Point(1023, 12); + this.btnToKfMainPage.Location = new System.Drawing.Point(882, 12); this.btnToKfMainPage.Name = "btnToKfMainPage"; this.btnToKfMainPage.Size = new System.Drawing.Size(88, 23); this.btnToKfMainPage.Style.Alignment = System.Drawing.StringAlignment.Center; @@ -966,7 +959,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.ucTabControl1.Name = "ucTabControl1"; this.ucTabControl1.SelectedIndex = 0; this.ucTabControl1.ShowCloseButton = false; - this.ucTabControl1.Size = new System.Drawing.Size(1115, 618); + this.ucTabControl1.Size = new System.Drawing.Size(974, 618); this.ucTabControl1.TabIndex = 0; this.ucTabControl1.TabSelectColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); this.ucTabControl1.TabSelectTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); @@ -979,7 +972,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.tabPage1.Location = new System.Drawing.Point(2, 40); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0); - this.tabPage1.Size = new System.Drawing.Size(1109, 574); + this.tabPage1.Size = new System.Drawing.Size(968, 574); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "客服窗口"; this.tabPage1.UseVisualStyleBackColor = true; @@ -1003,7 +996,7 @@ namespace TemuKJD.WXForms.AiTalkForms // this.splitContainer3.Panel2.Controls.Add(this.pnlAiTalk); this.splitContainer3.Panel2MinSize = 0; - this.splitContainer3.Size = new System.Drawing.Size(1109, 571); + this.splitContainer3.Size = new System.Drawing.Size(968, 571); this.splitContainer3.SplitterDistance = 25; this.splitContainer3.TabIndex = 2; // @@ -1068,7 +1061,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.txtAddress.Location = new System.Drawing.Point(66, 1); this.txtAddress.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtAddress.Name = "txtAddress"; - this.txtAddress.Size = new System.Drawing.Size(1040, 23); + this.txtAddress.Size = new System.Drawing.Size(899, 23); this.txtAddress.TabIndex = 12; this.txtAddress.Visible = false; this.txtAddress.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtAddress_KeyDown); @@ -1080,7 +1073,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.pnlAiTalk.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlAiTalk.Location = new System.Drawing.Point(0, 0); this.pnlAiTalk.Name = "pnlAiTalk"; - this.pnlAiTalk.Size = new System.Drawing.Size(1109, 542); + this.pnlAiTalk.Size = new System.Drawing.Size(968, 542); this.pnlAiTalk.TabIndex = 2; // // pnlCover @@ -1140,7 +1133,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.tabPage2.Location = new System.Drawing.Point(2, 40); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0); - this.tabPage2.Size = new System.Drawing.Size(1109, 574); + this.tabPage2.Size = new System.Drawing.Size(978, 574); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "店铺后台"; this.tabPage2.UseVisualStyleBackColor = true; @@ -1150,7 +1143,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.mainPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.mainPanel.Location = new System.Drawing.Point(0, 3); this.mainPanel.Name = "mainPanel"; - this.mainPanel.Size = new System.Drawing.Size(1109, 571); + this.mainPanel.Size = new System.Drawing.Size(978, 571); this.mainPanel.TabIndex = 1; // // tpBuyerOrder @@ -1158,7 +1151,7 @@ namespace TemuKJD.WXForms.AiTalkForms this.tpBuyerOrder.Location = new System.Drawing.Point(2, 40); this.tpBuyerOrder.Name = "tpBuyerOrder"; this.tpBuyerOrder.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0); - this.tpBuyerOrder.Size = new System.Drawing.Size(1109, 574); + this.tpBuyerOrder.Size = new System.Drawing.Size(978, 574); this.tpBuyerOrder.TabIndex = 2; this.tpBuyerOrder.Text = "订单管理"; this.tpBuyerOrder.UseVisualStyleBackColor = true; @@ -1340,27 +1333,27 @@ namespace TemuKJD.WXForms.AiTalkForms private System.Windows.Forms.Panel pnlAiTalk; private System.Windows.Forms.Panel pnlShop; private DevComponents.DotNetBar.PanelEx btnBatchBindShop; - private UserComponent.UcDataGridViewCheckBoxColumn colSelect; - private System.Windows.Forms.DataGridViewTextBoxColumn colShopLoginName; - private System.Windows.Forms.DataGridViewTextBoxColumn colShopId; - private System.Windows.Forms.DataGridViewTextBoxColumn colShopName; - private System.Windows.Forms.DataGridViewTextBoxColumn colGroup; - private System.Windows.Forms.DataGridViewTextBoxColumn colShopNotes; - private System.Windows.Forms.DataGridViewLinkColumn colLoginStatus; - private System.Windows.Forms.DataGridViewTextBoxColumn colAiStatus; - private System.Windows.Forms.DataGridViewTextBoxColumn colMessage; - private System.Windows.Forms.DataGridViewTextBoxColumn colAutoReplyCount; - private System.Windows.Forms.DataGridViewTextBoxColumn colWaitSend; - private System.Windows.Forms.DataGridViewTextBoxColumn colWayBillError; - private System.Windows.Forms.DataGridViewTextBoxColumn colAfterSale; - private System.Windows.Forms.DataGridViewTextBoxColumn colPunishCount; - private System.Windows.Forms.DataGridViewTextBoxColumn colScore; - private System.Windows.Forms.DataGridViewCheckBoxColumn colCanUse; private System.Windows.Forms.Label lblCurrentShop; private System.Windows.Forms.Panel pnlCover; private DevComponents.DotNetBar.PanelEx btnReLogin; private System.Windows.Forms.PictureBox pictureBox1; private DevComponents.DotNetBar.PanelEx btnRefreshAiStatus; private DevComponents.DotNetBar.PanelEx btnReload; - } + private UserComponent.UcDataGridViewCheckBoxColumn colSelect; + private System.Windows.Forms.DataGridViewTextBoxColumn colShopLoginName; + private System.Windows.Forms.DataGridViewTextBoxColumn colShopId; + private System.Windows.Forms.DataGridViewTextBoxColumn colShopName; + private System.Windows.Forms.DataGridViewTextBoxColumn colGroup; + private System.Windows.Forms.DataGridViewTextBoxColumn colShopNotes; + private System.Windows.Forms.DataGridViewLinkColumn colLoginStatus; + private System.Windows.Forms.DataGridViewTextBoxColumn colAiStatus; + private System.Windows.Forms.DataGridViewTextBoxColumn colMessage; + private System.Windows.Forms.DataGridViewTextBoxColumn colAutoReplyCount; + private System.Windows.Forms.DataGridViewTextBoxColumn colWaitSend; + private System.Windows.Forms.DataGridViewTextBoxColumn colWayBillError; + private System.Windows.Forms.DataGridViewTextBoxColumn colAfterSale; + private System.Windows.Forms.DataGridViewTextBoxColumn colPunishCount; + private System.Windows.Forms.DataGridViewTextBoxColumn colScore; + private System.Windows.Forms.DataGridViewCheckBoxColumn colCanUse; + } } \ No newline at end of file diff --git a/TEMUKJD/WXForms/AiTalkForms/WxAiTalkForm.cs b/TEMUKJD/WXForms/AiTalkForms/WxAiTalkForm.cs index baf8a6b..1a9ba1e 100644 --- a/TEMUKJD/WXForms/AiTalkForms/WxAiTalkForm.cs +++ b/TEMUKJD/WXForms/AiTalkForms/WxAiTalkForm.cs @@ -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(); })); + //刷新店铺cookie + //RefreshCookie(true); // 加载店铺确认默认店铺后再初始化订单列表读取 InitOrderForm(); @@ -251,7 +253,7 @@ namespace TemuKJD.WXForms.AiTalkForms } /// - /// 初始化买手订单页面 + /// 初始化买手订单页面,ai客服已移除,迁移到拍单软件 /// 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