1.抖音
This commit is contained in:
parent
60e3e84cb3
commit
f40d3a1cfc
|
@ -515,9 +515,9 @@ html = {html}");
|
||||||
if (reg.Success)
|
if (reg.Success)
|
||||||
{
|
{
|
||||||
var kl = reg.Groups[1].Value;
|
var kl = reg.Groups[1].Value;
|
||||||
product_id = KouLingAnalysis(kl);
|
// product_id = KouLingAnalysis(kl);
|
||||||
|
product_id = DouyinApiV2.AnalysisCmdToGoodsUrl(kl, out promotion_id);
|
||||||
promotion_id = GetPromotionId(product_id);
|
promotion_id = GetPromotionId(product_id);
|
||||||
//product_id = DouyinApiV2.AnalysisCmdToGoodsUrl(kl, out promotion_id);
|
|
||||||
|
|
||||||
IsResolved = false;
|
IsResolved = false;
|
||||||
}
|
}
|
||||||
|
@ -2331,24 +2331,24 @@ html = {html}");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
///// <summary>
|
||||||
/// 官方口令解析
|
///// 官方口令解析
|
||||||
/// </summary>
|
///// </summary>
|
||||||
/// <param name="command">口令</param>
|
///// <param name="command">口令</param>
|
||||||
/// <returns></returns>
|
///// <returns></returns>
|
||||||
public string KouLingAnalysis(string command)
|
//public string KouLingAnalysis(string command)
|
||||||
{
|
//{
|
||||||
var jToken = SendData("buyin.commonShareCommandParse", new { command = command });
|
// var jToken = SendData("buyin.commonShareCommandParse", new { command = command });
|
||||||
|
|
||||||
if (jToken == null) return null;
|
// if (jToken == null) return null;
|
||||||
|
|
||||||
var product_id = jToken["data"]?["common_share_command_parse_info"]?["product_info"]?["product_id"]?.ToString();
|
// var product_id = jToken["data"]?["common_share_command_parse_info"]?["product_info"]?["product_id"]?.ToString();
|
||||||
if (product_id != null)
|
// if (product_id != null)
|
||||||
{
|
// {
|
||||||
return Util.ToObj<string>(product_id);
|
// return product_id;
|
||||||
}
|
// }
|
||||||
return string.Empty;
|
// return string.Empty;
|
||||||
}
|
//}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 查询商品信息
|
/// 查询商品信息
|
||||||
|
|
|
@ -34,28 +34,28 @@
|
||||||
this.button1 = new System.Windows.Forms.Button();
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
this.webControl1 = new EO.WinForm.WebControl();
|
this.webControl1 = new EO.WinForm.WebControl();
|
||||||
this.webView1 = new EO.WebBrowser.WebView();
|
this.webView1 = new EO.WebBrowser.WebView();
|
||||||
this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
|
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
|
||||||
this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
|
|
||||||
this.memoEdit1 = new DevExpress.XtraEditors.MemoEdit();
|
|
||||||
this.xtraTabPage3 = new DevExpress.XtraTab.XtraTabPage();
|
this.xtraTabPage3 = new DevExpress.XtraTab.XtraTabPage();
|
||||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
||||||
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
|
||||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
|
||||||
this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton();
|
|
||||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||||
this.simpleButton3 = new DevExpress.XtraEditors.SimpleButton();
|
this.simpleButton3 = new DevExpress.XtraEditors.SimpleButton();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
this.linkLabel2 = new System.Windows.Forms.LinkLabel();
|
this.linkLabel2 = new System.Windows.Forms.LinkLabel();
|
||||||
this.textBox2 = new System.Windows.Forms.TextBox();
|
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||||
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||||
|
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
||||||
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||||
|
this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton();
|
||||||
|
this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
|
||||||
|
this.memoEdit1 = new DevExpress.XtraEditors.MemoEdit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
|
||||||
this.xtraTabControl1.SuspendLayout();
|
this.xtraTabControl1.SuspendLayout();
|
||||||
this.xtraTabPage1.SuspendLayout();
|
this.xtraTabPage1.SuspendLayout();
|
||||||
|
this.xtraTabPage3.SuspendLayout();
|
||||||
|
this.groupBox2.SuspendLayout();
|
||||||
|
this.groupBox1.SuspendLayout();
|
||||||
this.xtraTabPage2.SuspendLayout();
|
this.xtraTabPage2.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.memoEdit1.Properties)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.memoEdit1.Properties)).BeginInit();
|
||||||
this.xtraTabPage3.SuspendLayout();
|
|
||||||
this.groupBox1.SuspendLayout();
|
|
||||||
this.groupBox2.SuspendLayout();
|
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// xtraTabControl1
|
// xtraTabControl1
|
||||||
|
@ -107,42 +107,6 @@
|
||||||
this.webView1.ObjectForScripting = null;
|
this.webView1.ObjectForScripting = null;
|
||||||
this.webView1.Title = null;
|
this.webView1.Title = null;
|
||||||
//
|
//
|
||||||
// xtraTabPage2
|
|
||||||
//
|
|
||||||
this.xtraTabPage2.Controls.Add(this.label1);
|
|
||||||
this.xtraTabPage2.Controls.Add(this.simpleButton1);
|
|
||||||
this.xtraTabPage2.Controls.Add(this.memoEdit1);
|
|
||||||
this.xtraTabPage2.Name = "xtraTabPage2";
|
|
||||||
this.xtraTabPage2.Size = new System.Drawing.Size(909, 466);
|
|
||||||
this.xtraTabPage2.Text = " 同软件登录码 ";
|
|
||||||
//
|
|
||||||
// label1
|
|
||||||
//
|
|
||||||
this.label1.AutoSize = true;
|
|
||||||
this.label1.ForeColor = System.Drawing.Color.Blue;
|
|
||||||
this.label1.Location = new System.Drawing.Point(247, 373);
|
|
||||||
this.label1.Name = "label1";
|
|
||||||
this.label1.Size = new System.Drawing.Size(403, 14);
|
|
||||||
this.label1.TabIndex = 4;
|
|
||||||
this.label1.Text = "注:抖音登录码为相同返利软件联盟列表中选中要复制的抖音右击复制所得";
|
|
||||||
//
|
|
||||||
// simpleButton1
|
|
||||||
//
|
|
||||||
this.simpleButton1.Location = new System.Drawing.Point(351, 402);
|
|
||||||
this.simpleButton1.Name = "simpleButton1";
|
|
||||||
this.simpleButton1.Size = new System.Drawing.Size(194, 41);
|
|
||||||
this.simpleButton1.TabIndex = 3;
|
|
||||||
this.simpleButton1.Text = "验证登录码有效性";
|
|
||||||
this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
|
|
||||||
//
|
|
||||||
// memoEdit1
|
|
||||||
//
|
|
||||||
this.memoEdit1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
||||||
this.memoEdit1.Location = new System.Drawing.Point(0, 0);
|
|
||||||
this.memoEdit1.Name = "memoEdit1";
|
|
||||||
this.memoEdit1.Size = new System.Drawing.Size(909, 355);
|
|
||||||
this.memoEdit1.TabIndex = 0;
|
|
||||||
//
|
|
||||||
// xtraTabPage3
|
// xtraTabPage3
|
||||||
//
|
//
|
||||||
this.xtraTabPage3.Controls.Add(this.groupBox2);
|
this.xtraTabPage3.Controls.Add(this.groupBox2);
|
||||||
|
@ -151,50 +115,6 @@
|
||||||
this.xtraTabPage3.Size = new System.Drawing.Size(909, 466);
|
this.xtraTabPage3.Size = new System.Drawing.Size(909, 466);
|
||||||
this.xtraTabPage3.Text = " Cookie登录 ";
|
this.xtraTabPage3.Text = " Cookie登录 ";
|
||||||
//
|
//
|
||||||
// groupBox1
|
|
||||||
//
|
|
||||||
this.groupBox1.Controls.Add(this.linkLabel1);
|
|
||||||
this.groupBox1.Controls.Add(this.textBox1);
|
|
||||||
this.groupBox1.Controls.Add(this.simpleButton2);
|
|
||||||
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
||||||
this.groupBox1.Location = new System.Drawing.Point(0, 0);
|
|
||||||
this.groupBox1.Name = "groupBox1";
|
|
||||||
this.groupBox1.Size = new System.Drawing.Size(909, 222);
|
|
||||||
this.groupBox1.TabIndex = 1;
|
|
||||||
this.groupBox1.TabStop = false;
|
|
||||||
this.groupBox1.Text = "第一步 请输入抖音Cookies";
|
|
||||||
//
|
|
||||||
// linkLabel1
|
|
||||||
//
|
|
||||||
this.linkLabel1.AutoSize = true;
|
|
||||||
this.linkLabel1.Location = new System.Drawing.Point(215, 0);
|
|
||||||
this.linkLabel1.Name = "linkLabel1";
|
|
||||||
this.linkLabel1.Size = new System.Drawing.Size(79, 14);
|
|
||||||
this.linkLabel1.TabIndex = 1;
|
|
||||||
this.linkLabel1.TabStop = true;
|
|
||||||
this.linkLabel1.Text = "复制登录地址";
|
|
||||||
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
|
|
||||||
//
|
|
||||||
// textBox1
|
|
||||||
//
|
|
||||||
this.textBox1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
||||||
this.textBox1.Location = new System.Drawing.Point(3, 18);
|
|
||||||
this.textBox1.Multiline = true;
|
|
||||||
this.textBox1.Name = "textBox1";
|
|
||||||
this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
|
||||||
this.textBox1.Size = new System.Drawing.Size(903, 152);
|
|
||||||
this.textBox1.TabIndex = 0;
|
|
||||||
//
|
|
||||||
// simpleButton2
|
|
||||||
//
|
|
||||||
this.simpleButton2.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton2.ImageOptions.Image")));
|
|
||||||
this.simpleButton2.Location = new System.Drawing.Point(358, 176);
|
|
||||||
this.simpleButton2.Name = "simpleButton2";
|
|
||||||
this.simpleButton2.Size = new System.Drawing.Size(194, 31);
|
|
||||||
this.simpleButton2.TabIndex = 2;
|
|
||||||
this.simpleButton2.Text = "验证Cookies有效性";
|
|
||||||
this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click_1);
|
|
||||||
//
|
|
||||||
// groupBox2
|
// groupBox2
|
||||||
//
|
//
|
||||||
this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
|
@ -253,6 +173,86 @@
|
||||||
this.textBox2.Size = new System.Drawing.Size(897, 172);
|
this.textBox2.Size = new System.Drawing.Size(897, 172);
|
||||||
this.textBox2.TabIndex = 0;
|
this.textBox2.TabIndex = 0;
|
||||||
//
|
//
|
||||||
|
// groupBox1
|
||||||
|
//
|
||||||
|
this.groupBox1.Controls.Add(this.linkLabel1);
|
||||||
|
this.groupBox1.Controls.Add(this.textBox1);
|
||||||
|
this.groupBox1.Controls.Add(this.simpleButton2);
|
||||||
|
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
|
this.groupBox1.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.groupBox1.Name = "groupBox1";
|
||||||
|
this.groupBox1.Size = new System.Drawing.Size(909, 222);
|
||||||
|
this.groupBox1.TabIndex = 1;
|
||||||
|
this.groupBox1.TabStop = false;
|
||||||
|
this.groupBox1.Text = "第一步 请输入抖音Cookies";
|
||||||
|
//
|
||||||
|
// linkLabel1
|
||||||
|
//
|
||||||
|
this.linkLabel1.AutoSize = true;
|
||||||
|
this.linkLabel1.Location = new System.Drawing.Point(215, 0);
|
||||||
|
this.linkLabel1.Name = "linkLabel1";
|
||||||
|
this.linkLabel1.Size = new System.Drawing.Size(79, 14);
|
||||||
|
this.linkLabel1.TabIndex = 1;
|
||||||
|
this.linkLabel1.TabStop = true;
|
||||||
|
this.linkLabel1.Text = "复制登录地址";
|
||||||
|
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
|
||||||
|
//
|
||||||
|
// textBox1
|
||||||
|
//
|
||||||
|
this.textBox1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
|
this.textBox1.Location = new System.Drawing.Point(3, 18);
|
||||||
|
this.textBox1.Multiline = true;
|
||||||
|
this.textBox1.Name = "textBox1";
|
||||||
|
this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||||
|
this.textBox1.Size = new System.Drawing.Size(903, 152);
|
||||||
|
this.textBox1.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// simpleButton2
|
||||||
|
//
|
||||||
|
this.simpleButton2.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton2.ImageOptions.Image")));
|
||||||
|
this.simpleButton2.Location = new System.Drawing.Point(358, 176);
|
||||||
|
this.simpleButton2.Name = "simpleButton2";
|
||||||
|
this.simpleButton2.Size = new System.Drawing.Size(194, 31);
|
||||||
|
this.simpleButton2.TabIndex = 2;
|
||||||
|
this.simpleButton2.Text = "验证Cookies有效性";
|
||||||
|
this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click_1);
|
||||||
|
//
|
||||||
|
// xtraTabPage2
|
||||||
|
//
|
||||||
|
this.xtraTabPage2.Controls.Add(this.label1);
|
||||||
|
this.xtraTabPage2.Controls.Add(this.simpleButton1);
|
||||||
|
this.xtraTabPage2.Controls.Add(this.memoEdit1);
|
||||||
|
this.xtraTabPage2.Name = "xtraTabPage2";
|
||||||
|
this.xtraTabPage2.Size = new System.Drawing.Size(909, 466);
|
||||||
|
this.xtraTabPage2.Text = " 同软件登录码 ";
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.ForeColor = System.Drawing.Color.Blue;
|
||||||
|
this.label1.Location = new System.Drawing.Point(247, 373);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(403, 14);
|
||||||
|
this.label1.TabIndex = 4;
|
||||||
|
this.label1.Text = "注:抖音登录码为相同返利软件联盟列表中选中要复制的抖音右击复制所得";
|
||||||
|
//
|
||||||
|
// simpleButton1
|
||||||
|
//
|
||||||
|
this.simpleButton1.Location = new System.Drawing.Point(351, 402);
|
||||||
|
this.simpleButton1.Name = "simpleButton1";
|
||||||
|
this.simpleButton1.Size = new System.Drawing.Size(194, 41);
|
||||||
|
this.simpleButton1.TabIndex = 3;
|
||||||
|
this.simpleButton1.Text = "验证登录码有效性";
|
||||||
|
this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
|
||||||
|
//
|
||||||
|
// memoEdit1
|
||||||
|
//
|
||||||
|
this.memoEdit1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
|
this.memoEdit1.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.memoEdit1.Name = "memoEdit1";
|
||||||
|
this.memoEdit1.Size = new System.Drawing.Size(909, 355);
|
||||||
|
this.memoEdit1.TabIndex = 0;
|
||||||
|
//
|
||||||
// douyin_form_login
|
// douyin_form_login
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
||||||
|
@ -266,14 +266,14 @@
|
||||||
((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
|
||||||
this.xtraTabControl1.ResumeLayout(false);
|
this.xtraTabControl1.ResumeLayout(false);
|
||||||
this.xtraTabPage1.ResumeLayout(false);
|
this.xtraTabPage1.ResumeLayout(false);
|
||||||
|
this.xtraTabPage3.ResumeLayout(false);
|
||||||
|
this.groupBox2.ResumeLayout(false);
|
||||||
|
this.groupBox2.PerformLayout();
|
||||||
|
this.groupBox1.ResumeLayout(false);
|
||||||
|
this.groupBox1.PerformLayout();
|
||||||
this.xtraTabPage2.ResumeLayout(false);
|
this.xtraTabPage2.ResumeLayout(false);
|
||||||
this.xtraTabPage2.PerformLayout();
|
this.xtraTabPage2.PerformLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.memoEdit1.Properties)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.memoEdit1.Properties)).EndInit();
|
||||||
this.xtraTabPage3.ResumeLayout(false);
|
|
||||||
this.groupBox1.ResumeLayout(false);
|
|
||||||
this.groupBox1.PerformLayout();
|
|
||||||
this.groupBox2.ResumeLayout(false);
|
|
||||||
this.groupBox2.PerformLayout();
|
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue