diff --git a/AllBase/BaseClass.cs b/AllBase/BaseClass.cs
index d1e88cd..69d2a02 100644
--- a/AllBase/BaseClass.cs
+++ b/AllBase/BaseClass.cs
@@ -27,7 +27,7 @@ namespace AllBase
///
/// 版本ID
///
- public static int VersionCount = 837;
+ public static int VersionCount = 838;
//public static int VersionCount = 613;
///
diff --git a/TEMUKJD/WXForms/ShopForms/WxShopStatisticsForm.Designer.cs b/TEMUKJD/WXForms/ShopForms/WxShopStatisticsForm.Designer.cs
index c925f51..ffef0d3 100644
--- a/TEMUKJD/WXForms/ShopForms/WxShopStatisticsForm.Designer.cs
+++ b/TEMUKJD/WXForms/ShopForms/WxShopStatisticsForm.Designer.cs
@@ -85,6 +85,7 @@ namespace TemuKJD.WXForms.ShopForms
this.btnClose = new DevComponents.DotNetBar.PanelEx();
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
+ this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colLoginStatus = new System.Windows.Forms.DataGridViewLinkColumn();
this.colDetail = new System.Windows.Forms.DataGridViewLinkColumn();
@@ -112,7 +113,6 @@ namespace TemuKJD.WXForms.ShopForms
this.colAvailableAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colPendingAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colDepositBalance = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
@@ -927,6 +927,17 @@ namespace TemuKJD.WXForms.ShopForms
this.dgvShop.TabIndex = 5;
this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
//
+ // statusBar
+ //
+ this.statusBar.BackColor = System.Drawing.Color.White;
+ this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.statusBar.Location = new System.Drawing.Point(0, 0);
+ this.statusBar.Margin = new System.Windows.Forms.Padding(0);
+ this.statusBar.Name = "statusBar";
+ this.statusBar.Size = new System.Drawing.Size(1446, 26);
+ this.statusBar.TabIndex = 1;
+ //
// colSelect
//
this.colSelect.FillWeight = 22F;
@@ -1132,18 +1143,7 @@ namespace TemuKJD.WXForms.ShopForms
this.colDepositBalance.HeaderText = "保证金";
this.colDepositBalance.Name = "colDepositBalance";
this.colDepositBalance.ReadOnly = true;
- this.colDepositBalance.Width = 54;
- //
- // statusBar
- //
- this.statusBar.BackColor = System.Drawing.Color.White;
- this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
- this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.statusBar.Location = new System.Drawing.Point(0, 0);
- this.statusBar.Margin = new System.Windows.Forms.Padding(0);
- this.statusBar.Name = "statusBar";
- this.statusBar.Size = new System.Drawing.Size(1446, 26);
- this.statusBar.TabIndex = 1;
+ this.colDepositBalance.Width = 60;
//
// WxShopStatisticsForm
//
@@ -1227,6 +1227,10 @@ namespace TemuKJD.WXForms.ShopForms
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label lblWaybillError;
private System.Windows.Forms.Label label3;
+ private UserComponent.UcComboBoxMutiSelect cmbFilterShopNotes;
+ private System.Windows.Forms.Label label18;
+ private System.Windows.Forms.TextBox txtFilterShopName;
+ private System.Windows.Forms.Label label19;
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
private System.Windows.Forms.DataGridViewLinkColumn colLoginStatus;
private System.Windows.Forms.DataGridViewLinkColumn colDetail;
@@ -1254,9 +1258,5 @@ namespace TemuKJD.WXForms.ShopForms
private System.Windows.Forms.DataGridViewTextBoxColumn colAvailableAmount;
private System.Windows.Forms.DataGridViewTextBoxColumn colPendingAmount;
private System.Windows.Forms.DataGridViewTextBoxColumn colDepositBalance;
- private UserComponent.UcComboBoxMutiSelect cmbFilterShopNotes;
- private System.Windows.Forms.Label label18;
- private System.Windows.Forms.TextBox txtFilterShopName;
- private System.Windows.Forms.Label label19;
}
}
\ No newline at end of file
diff --git a/TEMUKJD/WXForms/ShopForms/WxShopStatisticsForm.cs b/TEMUKJD/WXForms/ShopForms/WxShopStatisticsForm.cs
index 1641e9c..03c35bd 100644
--- a/TEMUKJD/WXForms/ShopForms/WxShopStatisticsForm.cs
+++ b/TEMUKJD/WXForms/ShopForms/WxShopStatisticsForm.cs
@@ -410,7 +410,7 @@ namespace TemuKJD.WXForms.ShopForms
{
try
{
- string html = GetShopSaleInfoList(shop,
+ string html = GetShopSaleInfoRealTimeList(shop,
BaseClass.DateTimeToTimestampMilliseconds(DateTime.Now.Date),
BaseClass.DateTimeToTimestampMilliseconds(DateTime.Now));
System.Threading.Thread.Sleep(Randomx.GetId(50, 100));
@@ -595,6 +595,15 @@ namespace TemuKJD.WXForms.ShopForms
var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, data, referer);
return result;
}
+ public static string GetShopSaleInfoRealTimeList(ShopLoginInfo shop, long startTime, long endTime)
+ {
+ string url = "https://store.weixin.qq.com/shop-faas/mmecnodelinercgi/cgi/liner_query/3/home-overview-shop-realtime?token=&lang=zh_CN";
+ string referer = "https://store.weixin.qq.com/shop/home";
+ //string data = @"{""time_query"":{""dateFormat"":1,""dateType"":0,""dateRange"":7,""startMs"":1767974400000,""endMs"":1770566399999}}";
+ string data = @"{""time_query"":{""dateFormat"":1,""dateType"":0,""dateRange"":1,""startMs"":" + startTime + @",""endMs"":" + endTime + "}}";
+ var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, data, referer);
+ return result;
+ }
public static string GetShopScore(ShopLoginInfo shop)
{