From b1f76eb13cc186e9794acb08fa57cc9d5c53dde3 Mon Sep 17 00:00:00 2001 From: wule Date: Mon, 3 Aug 2026 21:21:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E6=B4=BB=E5=8A=A8=E6=8A=A5=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AllBase/BaseClass.cs | 2 +- .../WXActivity618Form.Designer.cs | 100 ++++++++++-------- .../ActivityForms/WXActivity618Form.cs | 36 ++++--- 3 files changed, 81 insertions(+), 57 deletions(-) diff --git a/AllBase/BaseClass.cs b/AllBase/BaseClass.cs index 6150369..a5a16e4 100644 --- a/AllBase/BaseClass.cs +++ b/AllBase/BaseClass.cs @@ -31,7 +31,7 @@ namespace AllBase /// /// 版本ID /// - public static int VersionCount = 1262; + public static int VersionCount = 1263; public static string MainPath = "29wx"; //public static string MainPath = "29wx"; //public static string MainPath = "29pdd"; diff --git a/TEMUKJD/WXForms/ProductForms/ActivityForms/WXActivity618Form.Designer.cs b/TEMUKJD/WXForms/ProductForms/ActivityForms/WXActivity618Form.Designer.cs index 19b2c78..ea0b297 100644 --- a/TEMUKJD/WXForms/ProductForms/ActivityForms/WXActivity618Form.Designer.cs +++ b/TEMUKJD/WXForms/ProductForms/ActivityForms/WXActivity618Form.Designer.cs @@ -32,13 +32,13 @@ namespace TemuKJD.WXForms.ProductForms private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.ucGroupBoxEx3 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components); this.btnCancelActivity = new DevComponents.DotNetBar.PanelEx(); @@ -116,6 +116,7 @@ namespace TemuKJD.WXForms.ProductForms this.statusBar = new TemuKJD.UserControls.StatusBarUserControl(); this.btnClear = new DevComponents.DotNetBar.PanelEx(); this.panelEx1 = new DevComponents.DotNetBar.PanelEx(); + this.label6 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); @@ -171,6 +172,7 @@ namespace TemuKJD.WXForms.ProductForms this.ucGroupBoxEx3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.ucGroupBoxEx3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); this.ucGroupBoxEx3.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND; + this.ucGroupBoxEx3.Controls.Add(this.label6); this.ucGroupBoxEx3.Controls.Add(this.btnCancelActivity); this.ucGroupBoxEx3.Controls.Add(this.label2); this.ucGroupBoxEx3.Controls.Add(this.txtSkipPriceEnd); @@ -215,7 +217,7 @@ namespace TemuKJD.WXForms.ProductForms // label2 // this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(177, 75); + this.label2.Location = new System.Drawing.Point(177, 110); this.label2.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(32, 17); @@ -226,7 +228,7 @@ namespace TemuKJD.WXForms.ProductForms // this.txtSkipPriceEnd.Anchor = System.Windows.Forms.AnchorStyles.Left; this.txtSkipPriceEnd.Font = new System.Drawing.Font("微软雅黑", 10F); - this.txtSkipPriceEnd.Location = new System.Drawing.Point(128, 71); + this.txtSkipPriceEnd.Location = new System.Drawing.Point(128, 106); this.txtSkipPriceEnd.Margin = new System.Windows.Forms.Padding(0); this.txtSkipPriceEnd.Name = "txtSkipPriceEnd"; this.txtSkipPriceEnd.Size = new System.Drawing.Size(47, 25); @@ -236,7 +238,7 @@ namespace TemuKJD.WXForms.ProductForms // chkSkipPriceEnd // this.chkSkipPriceEnd.AutoSize = true; - this.chkSkipPriceEnd.Location = new System.Drawing.Point(25, 73); + this.chkSkipPriceEnd.Location = new System.Drawing.Point(25, 108); this.chkSkipPriceEnd.Name = "chkSkipPriceEnd"; this.chkSkipPriceEnd.Size = new System.Drawing.Size(111, 21); this.chkSkipPriceEnd.TabIndex = 853; @@ -246,7 +248,7 @@ namespace TemuKJD.WXForms.ProductForms // label1 // this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(22, 35); + this.label1.Location = new System.Drawing.Point(22, 70); this.label1.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(56, 17); @@ -260,7 +262,7 @@ namespace TemuKJD.WXForms.ProductForms this.flowLayoutPanel1.Controls.Add(this.lblPrice); this.flowLayoutPanel1.Controls.Add(this.txtPercent); this.flowLayoutPanel1.Controls.Add(this.lblPercent); - this.flowLayoutPanel1.Location = new System.Drawing.Point(180, 31); + this.flowLayoutPanel1.Location = new System.Drawing.Point(180, 66); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(333, 25); this.flowLayoutPanel1.TabIndex = 845; @@ -330,7 +332,7 @@ namespace TemuKJD.WXForms.ProductForms this.cmbType.Items.AddRange(new object[] { "固定金额", "价格比例"}); - this.cmbType.Location = new System.Drawing.Point(81, 31); + this.cmbType.Location = new System.Drawing.Point(81, 66); this.cmbType.Name = "cmbType"; this.cmbType.Size = new System.Drawing.Size(94, 25); this.cmbType.TabIndex = 834; @@ -412,11 +414,10 @@ namespace TemuKJD.WXForms.ProductForms this.chkProdInActivity.AutoSize = true; this.chkProdInActivity.Location = new System.Drawing.Point(17, 75); this.chkProdInActivity.Name = "chkProdInActivity"; - this.chkProdInActivity.Size = new System.Drawing.Size(123, 21); + this.chkProdInActivity.Size = new System.Drawing.Size(171, 21); this.chkProdInActivity.TabIndex = 854; - this.chkProdInActivity.Text = "查询成功报名商品"; + this.chkProdInActivity.Text = "查询所有商品(含已报名)"; this.chkProdInActivity.UseVisualStyleBackColor = true; - this.chkProdInActivity.Visible = false; // // btnEmpty // @@ -465,7 +466,7 @@ namespace TemuKJD.WXForms.ProductForms this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(56, 17); this.label5.TabIndex = 813; - this.label5.Text = "报名页数"; + this.label5.Text = "查询页数"; // // btnStopSearch // @@ -860,19 +861,19 @@ namespace TemuKJD.WXForms.ProductForms // this.dgvShop.AllowUserToAddRows = false; this.dgvShop.AllowUserToDeleteRows = false; - dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke; - this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; + dataGridViewCellStyle8.BackColor = System.Drawing.Color.WhiteSmoke; + this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle8; this.dgvShop.AutoRowNumber = true; this.dgvShop.BackgroundColor = System.Drawing.Color.White; this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; + dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle9; this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colSelect, @@ -1034,19 +1035,19 @@ namespace TemuKJD.WXForms.ProductForms // this.dgvSelectProduct.AllowUserToAddRows = false; this.dgvSelectProduct.AllowUserToDeleteRows = false; - dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke; - this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3; + dataGridViewCellStyle10.BackColor = System.Drawing.Color.WhiteSmoke; + this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle10; this.dgvSelectProduct.AutoRowNumber = true; this.dgvSelectProduct.BackgroundColor = System.Drawing.Color.White; this.dgvSelectProduct.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4; + dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle11.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11; this.dgvSelectProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvSelectProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colCheck, @@ -1094,8 +1095,8 @@ namespace TemuKJD.WXForms.ProductForms // // colSupplierName // - dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle5; + dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle12; this.colSupplierName.HeaderText = "店铺名称"; this.colSupplierName.Name = "colSupplierName"; this.colSupplierName.ReadOnly = true; @@ -1152,8 +1153,8 @@ namespace TemuKJD.WXForms.ProductForms // // colProductName // - dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.colProductName.DefaultCellStyle = dataGridViewCellStyle6; + dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colProductName.DefaultCellStyle = dataGridViewCellStyle13; this.colProductName.HeaderText = "商品名称"; this.colProductName.Name = "colProductName"; this.colProductName.ReadOnly = true; @@ -1180,8 +1181,8 @@ namespace TemuKJD.WXForms.ProductForms // // colStock // - dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.colStock.DefaultCellStyle = dataGridViewCellStyle7; + dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colStock.DefaultCellStyle = dataGridViewCellStyle14; this.colStock.HeaderText = "库存"; this.colStock.Name = "colStock"; this.colStock.ReadOnly = true; @@ -1274,6 +1275,16 @@ namespace TemuKJD.WXForms.ProductForms this.panelEx1.Text = "停止当前操作"; this.panelEx1.Visible = false; // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(14, 31); + this.label6.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(161, 17); + this.label6.TabIndex = 875; + this.label6.Text = "“清凉季”+“开学季”活动"; + // // WXActivity618Form // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; @@ -1283,7 +1294,7 @@ namespace TemuKJD.WXForms.ProductForms this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.KeyPreview = true; this.Name = "WXActivity618Form"; - this.Text = "微信小店 - 代发管理"; + this.Text = "微信小店 - 活动报名"; this.Load += new System.EventHandler(this.UserSelectDbProductForm_Load); this.VisibleChanged += new System.EventHandler(this.UserSelectDbProductForm_VisibleChanged); this.splitContainer1.Panel1.ResumeLayout(false); @@ -1397,5 +1408,6 @@ namespace TemuKJD.WXForms.ProductForms private System.Windows.Forms.Label label2; private DevComponents.DotNetBar.PanelEx btnCancelActivity; private UserComponent.UcCheckBox chkProdInActivity; + private System.Windows.Forms.Label label6; } } \ No newline at end of file diff --git a/TEMUKJD/WXForms/ProductForms/ActivityForms/WXActivity618Form.cs b/TEMUKJD/WXForms/ProductForms/ActivityForms/WXActivity618Form.cs index f0e12b0..8e76b8b 100644 --- a/TEMUKJD/WXForms/ProductForms/ActivityForms/WXActivity618Form.cs +++ b/TEMUKJD/WXForms/ProductForms/ActivityForms/WXActivity618Form.cs @@ -483,8 +483,9 @@ namespace TemuKJD.WXForms.ProductForms var getActivityProdRst = ""; if (chkProdInActivity.Checked) { - getActivityProdRst = WXActivity.getProdInActivityList(shop, page, pageSize); - //getActivityProdRst = WXActivity.getActivityProdList(shop, page, pageSize); + //getActivityProdRst = WXActivity.getProdInActivityList(shop, page, pageSize); + getActivityProdRst = WXActivity.getActivityProdList(shop, page, pageSize); + Thread.Sleep(Randomx.GetId(150, 300)); if (!getActivityProdRst.Contains("\"code\":0")) { @@ -566,7 +567,8 @@ namespace TemuKJD.WXForms.ProductForms else { - getActivityProdRst = WXActivity.getActivityProdList(shop, page, pageSize); + //getActivityProdRst = WXActivity.getActivityProdList(shop, page, pageSize); + getActivityProdRst = WXActivity.getShopActivityCanApplyProduct(shop, page, pageSize); Thread.Sleep(Randomx.GetId(150, 300)); if (!getActivityProdRst.Contains("\"code\":0")) { @@ -904,7 +906,7 @@ namespace TemuKJD.WXForms.ProductForms //{"cosignmentOrderId":"4436464658179189760","cosignmentProductList":[{"spuId":"10000826730228","skuId":"14511204738","cancelScene":2}],"orderId":"3736464645960385280"} JObject signActivityObj = new JObject(); - signActivityObj["platformActivityId"] = "1163"; + signActivityObj["platformActivityId"] = "1269"; var jArr = new JArray(); bool hasProdForActivity = false; foreach (var row in rowLstTmp) @@ -939,7 +941,7 @@ namespace TemuKJD.WXForms.ProductForms Invoke(new Action(() => { if (cmbType.Text == "价格比例") - prodObj["activityPrice"] = (sku.salePrice.ParseToInt() * (100 - discountPercent) * 0.01m).ParseToInt(); + prodObj["activityPrice"] = Math.Floor(sku.salePrice.ParseToInt() * (100 - discountPercent) * 0.01m).ParseToInt(); else prodObj["activityPrice"] = sku.salePrice.ParseToInt() - discountPrice; })); @@ -1078,7 +1080,7 @@ namespace TemuKJD.WXForms.ProductForms //{"cosignmentOrderId":"4436464658179189760","cosignmentProductList":[{"spuId":"10000826730228","skuId":"14511204738","cancelScene":2}],"orderId":"3736464645960385280"} JObject signActivityObj = new JObject(); - signActivityObj["platformActivityId"] = "1163"; + signActivityObj["platformActivityId"] = "1269"; var jArr = new JArray(); bool hasProdForCancelActivity = false; foreach (var row in rowLstTmp) @@ -1318,8 +1320,9 @@ namespace TemuKJD.WXForms.ProductForms public class WXActivity { - //1016 618活动 1163入夏好物 - public static string getShopCanActivity(ShopLoginInfo shop, string activityId = "1163") + // https://store.weixin.qq.com/shop/marketingkol/activity/detail?id=1269&curTab=2 + //1016 618活动 1163 入夏好物 1269 “清凉季”+“开学季”活动 + public static string getShopCanActivity(ShopLoginInfo shop, string activityId = "1269") { string url = "https://store.weixin.qq.com/shop-faas/mmeckolmarketingnode/activity/cgi/queryShopPlatformActivity?token=&lang=zh_CN&platformActivityId=" + activityId; string refere = "https://store.weixin.qq.com/shop/marketingkol/activity/detail?id=" + activityId + "&curTab=2"; @@ -1328,7 +1331,7 @@ namespace TemuKJD.WXForms.ProductForms return result; } - public static string applyShopActivity(ShopLoginInfo shop, string activityId = "1163") + public static string applyShopActivity(ShopLoginInfo shop, string activityId = "1269") { string url = "https://store.weixin.qq.com/shop-faas/mmeckolmarketingnode/activity/cgi/applyShopPlatformActivity?token=&lang=zh_CN"; string refere = "https://store.weixin.qq.com/shop/marketingkol/activity/detail?id=" + activityId + "&curTab=2"; @@ -1337,7 +1340,7 @@ namespace TemuKJD.WXForms.ProductForms return result; } - public static string getActivityProdList(ShopLoginInfo shop, int page, int pageSize = 10, string activityId = "1163") + public static string getActivityProdList(ShopLoginInfo shop, int page, int pageSize = 10, string activityId = "1269") { //{"keyword":"","pageNum":1,"pageSize":10,"platformActivityId":"1016"} @@ -1348,7 +1351,7 @@ namespace TemuKJD.WXForms.ProductForms return result; } - public static string signWxActivity(ShopLoginInfo shop, JObject prodData, string activityId = "1163") + public static string signWxActivity(ShopLoginInfo shop, JObject prodData, string activityId = "1269") { //{"keyword":"","pageNum":1,"pageSize":10,"platformActivityId":"1016"} @@ -1359,7 +1362,7 @@ namespace TemuKJD.WXForms.ProductForms return result; } - public static string getProdInActivityList(ShopLoginInfo shop, int page, int pageSize = 10, string activityId = "1163") + public static string getProdInActivityList(ShopLoginInfo shop, int page, int pageSize = 10, string activityId = "1269") { //{"keyword":"","pageNum":1,"pageSize":10,"platformActivityId":"1016"} @@ -1370,6 +1373,15 @@ namespace TemuKJD.WXForms.ProductForms var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, data, refere); return result; } + + public static string getShopActivityCanApplyProduct(ShopLoginInfo shop, int page, int pageSize = 10, string activityId = "1269") + { + string url = "https://store.weixin.qq.com/shop-faas/mmeckolmarketingnode/activity/cgi/getShopActivityCanApplyProduct?token=&lang=zh_CN"; + string refere = "https://store.weixin.qq.com/shop/marketingkol/activity/detail?id=" + activityId + "&curTab=2"; + string data = @"{""platformActivityId"":""" + activityId + @""",""page"":" + page + @",""pageSize"":" + pageSize + @",""queryWord"":""""}"; + var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, data, refere); + return result; + } } public class ActivityProd