1添加随机上传商品 2优化pdd api授权逻辑

This commit is contained in:
wule committed 2026-04-02 19:48:38 +08:00
1 parent 07b912e9eb
commit c0b7c2d986
34 files changed
+1651 -603

No files matched your search

+84 -56
View File
@@ -36,6 +36,10 @@
this.btnMultiLogin = new DevComponents.DotNetBar.PanelEx();
this.btnDel = new DevComponents.DotNetBar.PanelEx();
this.pnlUploadOpBtns = new System.Windows.Forms.Panel();
this.pictureBox9 = new System.Windows.Forms.PictureBox();
this.label6 = new System.Windows.Forms.Label();
this.txtSendPrice = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.txtSendCount = new System.Windows.Forms.TextBox();
this.btnSendToUpload = new DevComponents.DotNetBar.PanelEx();
this.numMinPrice = new System.Windows.Forms.NumericUpDown();
@@ -64,16 +68,14 @@
this.chkCloseAfterLogin = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.txtAddress = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.txtSendPrice = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.pictureBox9 = new System.Windows.Forms.PictureBox();
this.btnSaveUserInfo = new DevComponents.DotNetBar.PanelEx();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.pnlMultiLogin.SuspendLayout();
this.pnlUploadOpBtns.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numMinPrice)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit();
@@ -87,7 +89,6 @@
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
this.splitContainer2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).BeginInit();
this.SuspendLayout();
//
// splitContainer1
@@ -108,6 +109,7 @@
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.BackColor = System.Drawing.Color.White;
this.splitContainer1.Panel2.Controls.Add(this.btnSaveUserInfo);
this.splitContainer1.Panel2.Controls.Add(this.pnlUploadOpBtns);
this.splitContainer1.Panel2.Controls.Add(this.btnLoginAgain);
this.splitContainer1.Panel2.Controls.Add(this.label2);
@@ -120,7 +122,7 @@
this.splitContainer1.Panel2.Controls.Add(this.btnReload);
this.splitContainer1.Panel2.Controls.Add(this.chkCloseAfterLogin);
this.splitContainer1.Size = new System.Drawing.Size(1438, 736);
this.splitContainer1.SplitterDistance = 668;
this.splitContainer1.SplitterDistance = 669;
this.splitContainer1.SplitterWidth = 3;
this.splitContainer1.TabIndex = 4;
//
@@ -244,6 +246,47 @@
this.pnlUploadOpBtns.Size = new System.Drawing.Size(812, 53);
this.pnlUploadOpBtns.TabIndex = 463;
//
// pictureBox9
//
this.pictureBox9.Location = new System.Drawing.Point(586, 27);
this.pictureBox9.Name = "pictureBox9";
this.pictureBox9.Size = new System.Drawing.Size(24, 24);
this.pictureBox9.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox9.TabIndex = 494;
this.pictureBox9.TabStop = false;
this.pictureBox9.Tag = "11";
//
// label6
//
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(699, 6);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(20, 17);
this.label6.TabIndex = 493;
this.label6.Text = "元";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtSendPrice
//
this.txtSendPrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.txtSendPrice.Location = new System.Drawing.Point(668, 3);
this.txtSendPrice.Name = "txtSendPrice";
this.txtSendPrice.Size = new System.Drawing.Size(31, 23);
this.txtSendPrice.TabIndex = 492;
this.txtSendPrice.Text = "20";
//
// label5
//
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(613, 6);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(56, 17);
this.label5.TabIndex = 491;
this.label5.Text = "提交价格";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtSendCount
//
this.txtSendCount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
@@ -518,7 +561,7 @@
this.btnCopyPassword.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnCopyPassword.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnCopyPassword.ForeColor = System.Drawing.Color.White;
this.btnCopyPassword.Location = new System.Drawing.Point(276, 31);
this.btnCopyPassword.Location = new System.Drawing.Point(191, 31);
this.btnCopyPassword.Margin = new System.Windows.Forms.Padding(2);
this.btnCopyPassword.Name = "btnCopyPassword";
this.btnCopyPassword.Size = new System.Drawing.Size(57, 25);
@@ -534,7 +577,7 @@
this.btnCopyUserName.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnCopyUserName.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnCopyUserName.ForeColor = System.Drawing.Color.White;
this.btnCopyUserName.Location = new System.Drawing.Point(276, 4);
this.btnCopyUserName.Location = new System.Drawing.Point(191, 4);
this.btnCopyUserName.Margin = new System.Windows.Forms.Padding(2);
this.btnCopyUserName.Name = "btnCopyUserName";
this.btnCopyUserName.Size = new System.Drawing.Size(57, 25);
@@ -550,7 +593,7 @@
this.txtPassWord.Name = "txtPassWord";
this.txtPassWord.PasswordChar = '●';
this.txtPassWord.ReadOnly = true;
this.txtPassWord.Size = new System.Drawing.Size(221, 23);
this.txtPassWord.Size = new System.Drawing.Size(135, 23);
this.txtPassWord.TabIndex = 374;
//
// txtUserName
@@ -559,7 +602,7 @@
this.txtUserName.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.txtUserName.Name = "txtUserName";
this.txtUserName.ReadOnly = true;
this.txtUserName.Size = new System.Drawing.Size(221, 23);
this.txtUserName.Size = new System.Drawing.Size(135, 23);
this.txtUserName.TabIndex = 373;
//
// btnStop
@@ -644,46 +687,30 @@
this.txtAddress.TabIndex = 7;
this.txtAddress.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtAddress_KeyDown);
//
// label5
// btnSaveUserInfo
//
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(613, 6);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(56, 17);
this.label5.TabIndex = 491;
this.label5.Text = "提交价格";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtSendPrice
//
this.txtSendPrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.txtSendPrice.Location = new System.Drawing.Point(668, 3);
this.txtSendPrice.Name = "txtSendPrice";
this.txtSendPrice.Size = new System.Drawing.Size(31, 23);
this.txtSendPrice.TabIndex = 492;
this.txtSendPrice.Text = "20";
//
// label6
//
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(699, 6);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(20, 17);
this.label6.TabIndex = 493;
this.label6.Text = "元";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// pictureBox9
//
this.pictureBox9.Location = new System.Drawing.Point(586, 27);
this.pictureBox9.Name = "pictureBox9";
this.pictureBox9.Size = new System.Drawing.Size(24, 24);
this.pictureBox9.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox9.TabIndex = 494;
this.pictureBox9.TabStop = false;
this.pictureBox9.Tag = "11";
this.btnSaveUserInfo.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnSaveUserInfo.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSaveUserInfo.DisabledBackColor = System.Drawing.Color.Empty;
this.btnSaveUserInfo.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSaveUserInfo.Location = new System.Drawing.Point(251, 4);
this.btnSaveUserInfo.Name = "btnSaveUserInfo";
this.btnSaveUserInfo.Size = new System.Drawing.Size(88, 25);
this.btnSaveUserInfo.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnSaveUserInfo.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSaveUserInfo.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSaveUserInfo.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnSaveUserInfo.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnSaveUserInfo.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnSaveUserInfo.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnSaveUserInfo.Style.GradientAngle = 90;
this.btnSaveUserInfo.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnSaveUserInfo.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSaveUserInfo.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSaveUserInfo.TabIndex = 470;
this.btnSaveUserInfo.Text = "保存登录信息";
this.btnSaveUserInfo.Visible = false;
this.btnSaveUserInfo.Click += new System.EventHandler(this.btnSaveUserInfo_Click);
//
// PDDShopLoginForm
//
@@ -707,6 +734,7 @@
this.pnlMultiLogin.ResumeLayout(false);
this.pnlUploadOpBtns.ResumeLayout(false);
this.pnlUploadOpBtns.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numMinPrice)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).EndInit();
@@ -721,7 +749,6 @@
this.splitContainer2.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
this.splitContainer2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).EndInit();
this.ResumeLayout(false);
}
@@ -731,12 +758,6 @@
private System.Windows.Forms.SplitContainer splitContainer1;
private UserControls.ButtonEx btnStop;
private UserControls.ButtonEx btnReload;
private System.Windows.Forms.TextBox txtPassWord;
private System.Windows.Forms.TextBox txtUserName;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private UserControls.ButtonEx btnCopyPassword;
private UserControls.ButtonEx btnCopyUserName;
private System.Windows.Forms.SplitContainer splitContainer2;
private System.Windows.Forms.TextBox txtAddress;
private UserControls.ButtonEx btnLoginAgain;
@@ -767,5 +788,12 @@
private System.Windows.Forms.TextBox txtSendPrice;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.PictureBox pictureBox9;
public System.Windows.Forms.TextBox txtPassWord;
public System.Windows.Forms.TextBox txtUserName;
public System.Windows.Forms.Label label2;
public System.Windows.Forms.Label label1;
public UserControls.ButtonEx btnCopyPassword;
public UserControls.ButtonEx btnCopyUserName;
public DevComponents.DotNetBar.PanelEx btnSaveUserInfo;
}
}