项目初始化后续改动
This commit is contained in:
1 parent
40c702883c
commit
42acf1b1cb
67 files changed
+5794
-1762
No files matched your search
@@ -26,7 +26,7 @@
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<OutputPath>..\..\KJD Cef138\Bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
@@ -62,7 +62,7 @@
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<OutputPath>..\..\KJD Cef138\Bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
@@ -71,7 +71,7 @@
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<OutputPath>..\..\KJD Cef138\Bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
@@ -236,6 +236,12 @@
|
||||
<DependentUpon>MyProSkuItemsControl.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="MyControl\TextAndImageColumn.cs" />
|
||||
<Compile Include="MyControl\UcCheckBox.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MyControl\UcCheckBox.Designer.cs">
|
||||
<DependentUpon>UcCheckBox.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="MyControl\UcPager.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
@@ -538,6 +544,8 @@
|
||||
<None Include="Resources\default_pic.png" />
|
||||
<Content Include="Resources\jzz.png" />
|
||||
<Content Include="Resources\qrcode.png" />
|
||||
<Content Include="Resources\weixin_bg.jpg" />
|
||||
<Content Include="Resources\weixin_icon.png" />
|
||||
<Content Include="Resources\yiwancheng1.png" />
|
||||
<None Include="Resources\yiwancheng.png" />
|
||||
<None Include="Resources\x-2.0.png" />
|
||||
|
||||
@@ -20,7 +20,7 @@ using Work.BuyUsers;
|
||||
|
||||
namespace _29WxOrder.BuyForms
|
||||
{
|
||||
public partial class BuyBrower : BaseForm
|
||||
public partial class BuyBrower : BaseGeneralForm
|
||||
{
|
||||
public BuyBrower()
|
||||
{
|
||||
@@ -28,7 +28,7 @@ namespace _29WxOrder.BuyForms
|
||||
}
|
||||
|
||||
public MainForm mainForm;
|
||||
public string userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36";
|
||||
public string userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36";
|
||||
public ChromiumWebBrowser cefWebBrowser1 = null;
|
||||
private NaiBa.CefHelper.Handler.CustomResourceRequestHandler resourceRequestHandler = null;
|
||||
public string webUrl = "";
|
||||
@@ -387,7 +387,7 @@ namespace _29WxOrder.BuyForms
|
||||
cookies += item.Name + "=" + item.Value + ";";
|
||||
}
|
||||
|
||||
string url = BaseClass.DouYinBuildObjString("user_login_cookies&act=douyin_buy_in_add");
|
||||
string url = BaseClass.Build29WxObjString("user_login_cookies&act=douyin_buy_in_add");
|
||||
StringBuilder data = new StringBuilder();
|
||||
data.Append("&user_name=" + name);
|
||||
data.Append("&user_id=1");
|
||||
|
||||
@@ -16,7 +16,7 @@ using Work.BuyUsers;
|
||||
|
||||
namespace _29WxOrder.BuyForms
|
||||
{
|
||||
public partial class BuyProductBrower : BaseForm
|
||||
public partial class BuyProductBrower : BaseGeneralForm
|
||||
{
|
||||
public ChromiumWebBrowser cefWebBrowser = null;
|
||||
public string WebUrl = "";
|
||||
@@ -25,7 +25,7 @@ namespace _29WxOrder.BuyForms
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
public string userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36";
|
||||
public string userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36";
|
||||
public string buyermobile = "";
|
||||
|
||||
private void BuyProductBrower_Load(object sender, EventArgs e)
|
||||
|
||||
@@ -20,7 +20,7 @@ using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.FactoryExportForms
|
||||
{
|
||||
public partial class FactoryExportForm : BaseForm
|
||||
public partial class FactoryExportForm : BaseGeneralForm
|
||||
{
|
||||
public List<string> productIdList = new List<string>();
|
||||
List<DouYinOrderModel> lstDouYinOrder = new List<DouYinOrderModel>();
|
||||
@@ -46,7 +46,7 @@ namespace _29WxOrder.FactoryExportForms
|
||||
reads:
|
||||
List<DouYinOrderModel> lstDouYinOrderTemp = new List<DouYinOrderModel>();
|
||||
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=get");
|
||||
string url = BaseClass.Build29WxObjString("order&act=get");
|
||||
string data = "&order_status_buy=1&page=" + (page - 1) + "&pageSize=" + pageSize;
|
||||
// 按时间升序排列
|
||||
data += "&order_by=create_time";
|
||||
@@ -235,7 +235,7 @@ namespace _29WxOrder.FactoryExportForms
|
||||
sb.Append("&order_status_buy=0");
|
||||
sb.Append("&is_update_order=1"); // 1修改状态0不修改状态
|
||||
sb.Append("&remark=" + douYinOrderModel.remark);
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string url = BaseClass.Build29WxObjString("order&act=update");
|
||||
GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
CollectionClass.orderDataList.Remove(douYinOrderModel);
|
||||
this.lstDouYinOrder.Remove(douYinOrderModel);
|
||||
@@ -314,7 +314,7 @@ namespace _29WxOrder.FactoryExportForms
|
||||
douYinOrderModel.remark = JObject.Parse(htmljm)["data"]["shop_order_detail"]["seller_words"].ToString();
|
||||
sb.Append("&order_id=" + douYinOrderModel.order_id);
|
||||
sb.Append("&is_update_order=0");//1修改状态0不修改状态
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string url = BaseClass.Build29WxObjString("order&act=update");
|
||||
string htmjg = GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
douYinOrderModel.remark = JObject.Parse(htmljm)["data"]["shop_order_detail"]["seller_words"].ToString();
|
||||
SetOrderEditShowInDgvRows(douYinOrderModel, 1);
|
||||
@@ -460,7 +460,7 @@ namespace _29WxOrder.FactoryExportForms
|
||||
sb.Append("&order_id=" + order_id);
|
||||
sb.Append("&order_status_buy=" + status);
|
||||
sb.Append("&is_update_order=1"); // 1修改状态0不修改状态
|
||||
string upjmurl = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string upjmurl = BaseClass.Build29WxObjString("order&act=update");
|
||||
string html = GetHtml.PostUtf8(upjmurl, UserLogin.GetSignaturex() + sb.ToString());
|
||||
string code = JObject.Parse(html)["code"].ToString();
|
||||
|
||||
|
||||
Generated
+42
-40
@@ -31,6 +31,7 @@ namespace _29WxOrder
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LoginForm));
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.lblContactSupport = new System.Windows.Forms.LinkLabel();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.pnlShowRemember = new DevComponents.DotNetBar.PanelEx();
|
||||
this.linkLabel2 = new System.Windows.Forms.LinkLabel();
|
||||
@@ -42,7 +43,6 @@ namespace _29WxOrder
|
||||
this.checkBoxAutoLogin = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.remember = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.loginPanel = new DevComponents.DotNetBar.PanelEx();
|
||||
this.lblContactSupport = new System.Windows.Forms.LinkLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
@@ -51,7 +51,7 @@ namespace _29WxOrder
|
||||
//
|
||||
// pbCloseBase
|
||||
//
|
||||
this.pbCloseBase.Location = new System.Drawing.Point(321, 0);
|
||||
this.pbCloseBase.Location = new System.Drawing.Point(322, 0);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
@@ -70,15 +70,28 @@ namespace _29WxOrder
|
||||
this.panel1.Controls.Add(this.checkBoxAutoLogin);
|
||||
this.panel1.Controls.Add(this.remember);
|
||||
this.panel1.Controls.Add(this.loginPanel);
|
||||
this.panel1.Location = new System.Drawing.Point(3, 32);
|
||||
this.panel1.Location = new System.Drawing.Point(2, 32);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(347, 227);
|
||||
this.panel1.Size = new System.Drawing.Size(352, 228);
|
||||
this.panel1.TabIndex = 3;
|
||||
//
|
||||
// lblContactSupport
|
||||
//
|
||||
this.lblContactSupport.AutoSize = true;
|
||||
this.lblContactSupport.Location = new System.Drawing.Point(269, 159);
|
||||
this.lblContactSupport.Name = "lblContactSupport";
|
||||
this.lblContactSupport.Size = new System.Drawing.Size(56, 17);
|
||||
this.lblContactSupport.TabIndex = 100;
|
||||
this.lblContactSupport.TabStop = true;
|
||||
this.lblContactSupport.Text = "联系客服";
|
||||
this.lblContactSupport.Visible = false;
|
||||
this.lblContactSupport.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lblContactSupport_LinkClicked);
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.Image = global::_29WxOrder.Properties.Resources.icon;
|
||||
this.pictureBox1.Location = new System.Drawing.Point(25, 87);
|
||||
this.pictureBox1.ErrorImage = null;
|
||||
this.pictureBox1.InitialImage = ((System.Drawing.Image)(resources.GetObject("pictureBox1.InitialImage")));
|
||||
this.pictureBox1.Location = new System.Drawing.Point(26, 87);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(66, 64);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
@@ -92,7 +105,7 @@ namespace _29WxOrder
|
||||
this.pnlShowRemember.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.pnlShowRemember.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlShowRemember.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.pnlShowRemember.Location = new System.Drawing.Point(246, 97);
|
||||
this.pnlShowRemember.Location = new System.Drawing.Point(247, 94);
|
||||
this.pnlShowRemember.Name = "pnlShowRemember";
|
||||
this.pnlShowRemember.Size = new System.Drawing.Size(16, 16);
|
||||
this.pnlShowRemember.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -109,9 +122,9 @@ namespace _29WxOrder
|
||||
// linkLabel2
|
||||
//
|
||||
this.linkLabel2.AutoSize = true;
|
||||
this.linkLabel2.Location = new System.Drawing.Point(268, 132);
|
||||
this.linkLabel2.Location = new System.Drawing.Point(269, 127);
|
||||
this.linkLabel2.Name = "linkLabel2";
|
||||
this.linkLabel2.Size = new System.Drawing.Size(53, 12);
|
||||
this.linkLabel2.Size = new System.Drawing.Size(56, 17);
|
||||
this.linkLabel2.TabIndex = 77;
|
||||
this.linkLabel2.TabStop = true;
|
||||
this.linkLabel2.Text = "找回密码";
|
||||
@@ -120,9 +133,9 @@ namespace _29WxOrder
|
||||
// linkLabel1
|
||||
//
|
||||
this.linkLabel1.AutoSize = true;
|
||||
this.linkLabel1.Location = new System.Drawing.Point(268, 98);
|
||||
this.linkLabel1.Location = new System.Drawing.Point(269, 93);
|
||||
this.linkLabel1.Name = "linkLabel1";
|
||||
this.linkLabel1.Size = new System.Drawing.Size(53, 12);
|
||||
this.linkLabel1.Size = new System.Drawing.Size(56, 17);
|
||||
this.linkLabel1.TabIndex = 76;
|
||||
this.linkLabel1.TabStop = true;
|
||||
this.linkLabel1.Text = "注册用户";
|
||||
@@ -139,7 +152,7 @@ namespace _29WxOrder
|
||||
this.panelEx1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panelEx1.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.panelEx1.Name = "panelEx1";
|
||||
this.panelEx1.Size = new System.Drawing.Size(350, 70);
|
||||
this.panelEx1.Size = new System.Drawing.Size(355, 70);
|
||||
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
@@ -153,13 +166,13 @@ namespace _29WxOrder
|
||||
// label3
|
||||
//
|
||||
this.label3.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.label3.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Bold);
|
||||
this.label3.Font = new System.Drawing.Font("微软雅黑", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label3.ForeColor = System.Drawing.Color.White;
|
||||
this.label3.Location = new System.Drawing.Point(19, 13);
|
||||
this.label3.Location = new System.Drawing.Point(21, 13);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(313, 47);
|
||||
this.label3.TabIndex = 44;
|
||||
this.label3.Text = "小奶兔";
|
||||
this.label3.Text = "29供应链-微信小店订单";
|
||||
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// txtmobile
|
||||
@@ -180,9 +193,9 @@ namespace _29WxOrder
|
||||
this.txtmobile.Border.Class = "TextBoxBorder";
|
||||
this.txtmobile.Border.CornerDiameter = 3;
|
||||
this.txtmobile.Border.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.txtmobile.Location = new System.Drawing.Point(97, 93);
|
||||
this.txtmobile.Location = new System.Drawing.Point(98, 90);
|
||||
this.txtmobile.Name = "txtmobile";
|
||||
this.txtmobile.Size = new System.Drawing.Size(168, 23);
|
||||
this.txtmobile.Size = new System.Drawing.Size(168, 25);
|
||||
this.txtmobile.TabIndex = 51;
|
||||
this.txtmobile.WatermarkFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.txtmobile.WatermarkText = "请输入手机号";
|
||||
@@ -200,10 +213,10 @@ namespace _29WxOrder
|
||||
this.txtpassword.Border.Class = "TextBoxBorder";
|
||||
this.txtpassword.Border.CornerDiameter = 3;
|
||||
this.txtpassword.Border.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.txtpassword.Location = new System.Drawing.Point(97, 126);
|
||||
this.txtpassword.Location = new System.Drawing.Point(98, 124);
|
||||
this.txtpassword.Name = "txtpassword";
|
||||
this.txtpassword.PasswordChar = '*';
|
||||
this.txtpassword.Size = new System.Drawing.Size(168, 23);
|
||||
this.txtpassword.PasswordChar = '●';
|
||||
this.txtpassword.Size = new System.Drawing.Size(168, 25);
|
||||
this.txtpassword.TabIndex = 52;
|
||||
this.txtpassword.WatermarkFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.txtpassword.WatermarkText = "请输入密码";
|
||||
@@ -215,9 +228,9 @@ namespace _29WxOrder
|
||||
//
|
||||
this.checkBoxAutoLogin.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.checkBoxAutoLogin.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.checkBoxAutoLogin.Location = new System.Drawing.Point(191, 157);
|
||||
this.checkBoxAutoLogin.Location = new System.Drawing.Point(192, 156);
|
||||
this.checkBoxAutoLogin.Name = "checkBoxAutoLogin";
|
||||
this.checkBoxAutoLogin.Size = new System.Drawing.Size(80, 22);
|
||||
this.checkBoxAutoLogin.Size = new System.Drawing.Size(74, 22);
|
||||
this.checkBoxAutoLogin.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.checkBoxAutoLogin.TabIndex = 58;
|
||||
this.checkBoxAutoLogin.Text = "自动登录";
|
||||
@@ -230,7 +243,7 @@ namespace _29WxOrder
|
||||
//
|
||||
this.remember.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.remember.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.remember.Location = new System.Drawing.Point(104, 157);
|
||||
this.remember.Location = new System.Drawing.Point(105, 156);
|
||||
this.remember.Name = "remember";
|
||||
this.remember.Size = new System.Drawing.Size(80, 22);
|
||||
this.remember.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
@@ -245,9 +258,9 @@ namespace _29WxOrder
|
||||
this.loginPanel.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.loginPanel.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.loginPanel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.loginPanel.Location = new System.Drawing.Point(104, 189);
|
||||
this.loginPanel.Location = new System.Drawing.Point(98, 187);
|
||||
this.loginPanel.Name = "loginPanel";
|
||||
this.loginPanel.Size = new System.Drawing.Size(151, 24);
|
||||
this.loginPanel.Size = new System.Drawing.Size(168, 24);
|
||||
this.loginPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.loginPanel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.loginPanel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
@@ -260,26 +273,15 @@ namespace _29WxOrder
|
||||
this.loginPanel.Text = "安 全 登 录";
|
||||
this.loginPanel.Click += new System.EventHandler(this.loginPanel_Click);
|
||||
//
|
||||
// lblContactSupport
|
||||
//
|
||||
this.lblContactSupport.AutoSize = true;
|
||||
this.lblContactSupport.Location = new System.Drawing.Point(268, 162);
|
||||
this.lblContactSupport.Name = "lblContactSupport";
|
||||
this.lblContactSupport.Size = new System.Drawing.Size(53, 12);
|
||||
this.lblContactSupport.TabIndex = 100;
|
||||
this.lblContactSupport.TabStop = true;
|
||||
this.lblContactSupport.Text = "联系客服";
|
||||
this.lblContactSupport.Visible = false;
|
||||
this.lblContactSupport.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lblContactSupport_LinkClicked);
|
||||
//
|
||||
// LoginForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(353, 262);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(356, 262);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "LoginForm";
|
||||
this.Padding = new System.Windows.Forms.Padding(1);
|
||||
this.Text = "LoginForm";
|
||||
this.TitleText = "LoginForm";
|
||||
this.Load += new System.EventHandler(this.LoginForm_Load);
|
||||
|
||||
@@ -19,7 +19,7 @@ using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder
|
||||
{
|
||||
public partial class LoginForm : BaseForm
|
||||
public partial class LoginForm : BaseGeneralForm
|
||||
{
|
||||
string[] argsuser;
|
||||
public LoginForm(string[] args)
|
||||
@@ -48,6 +48,8 @@ namespace _29WxOrder
|
||||
|
||||
private void LoginForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
Work.Helper.WindowStyle.SetFormRoundRectRgn(this, 6);
|
||||
|
||||
this.TitleText = "登录";
|
||||
//15222912892
|
||||
if (BaseClass.Remember)
|
||||
@@ -71,10 +73,10 @@ namespace _29WxOrder
|
||||
}
|
||||
|
||||
// 是否显示联系客服按钮
|
||||
if (FileBase.Exists("locales/ig.pak") || FileBase.Exists("locales/wl.pak"))
|
||||
lblContactSupport.Visible = false;
|
||||
else
|
||||
lblContactSupport.Visible = true;
|
||||
//if (FileBase.Exists("locales/ig.pak") || FileBase.Exists("locales/wl.pak"))
|
||||
// lblContactSupport.Visible = false;
|
||||
//else
|
||||
// lblContactSupport.Visible = true;
|
||||
|
||||
#region 初始化cef
|
||||
CefSharpSettings.WcfEnabled = false;
|
||||
@@ -115,7 +117,7 @@ namespace _29WxOrder
|
||||
|
||||
private void loginPanel_Click(object sender, EventArgs e)
|
||||
{
|
||||
BaseClass.LoginApiUrl = "http://new.qixiaoke.com/";
|
||||
//BaseClass.LoginApiUrl = "http://new.qixiaoke.com/";
|
||||
UserLogin ul = new UserLogin();
|
||||
//if (BaseClass.Remember&& BaseClass.UserName!="")
|
||||
//{
|
||||
@@ -171,7 +173,7 @@ namespace _29WxOrder
|
||||
}
|
||||
else
|
||||
{
|
||||
BaseClass.ChromeUserAgent = "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36";
|
||||
BaseClass.ChromeUserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36";
|
||||
}
|
||||
var xx = FileBase.ReadTxt("\\temp\\userAgent", "useragent.txt");
|
||||
if (!string.IsNullOrEmpty(xx))
|
||||
|
||||
@@ -118,6 +118,23 @@
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="pictureBox1.InitialImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAp9JREFUOE9Fk1lTGkEUhed/RiZFLGOqTEyiiVslJjGLJTA9w77DMAgOjGwCgyhL
|
||||
ZFHE8EJV8shPmZPqi+DDqZ6umnP6u7dvC5Io2V02NnPamOWyyXCusCfxvU2GY4UtRXtRthzcs6LYBW7m
|
||||
Rpcow73mg/4zj4q7iuSeRj/7N0IoSGWUlQtE3seXoU6RgmaCU2SWJMqQniu48FRxW7xDT+9jWLhF9khH
|
||||
W+vSd98YopcfPIXwABuzBDI/BsQ/JknR7QQGxhA3eg935RHRxD4kcX8xJrpFKVwC4dsY5vVL8K4HcBlp
|
||||
4uash9yxQUSNSBO1gLmkWgaIMpYEPCC0GUE71aESEjsqUWW+nRHF4HxIpzO7h8y8Z0QwNzN41/1oax1M
|
||||
Lie4Ld3hKnFNIcE3YfzO3qAZu4Ky6n0yLwKUFx541nxU+4P5B9POFKPKCP38AFVfndZxdYzsUQ7hdzGi
|
||||
4le8KEOIbcWRPzZQcBbRUtt0mvbpFOG3UVrPjnSkDzNI7KZQcJWg/8gjvqMi8Dr8GLAdhxk0YYYaSH/O
|
||||
oOAo0nful0E6PymgHjCJUD1I4zLaRDN2jZJcoRChpbYwro0x7U7J2M/10dN7VDMnGlXu8XfwD0VXCcl9
|
||||
jSh4cPowS00VjGMDg/wA7VQbjVADnXSXArqnXZSVCh7qD5g0JiixMtR9Dcm9FKJbcZx+yaIZv4YQ3Agh
|
||||
uatC3U3BDDaoFzVfnbCNkwJNZz3YIIJzZxFVX43GmpfEaYTQZtjSv+dgBkxkvmYJu+afB3Dx/vAQbuIl
|
||||
Lq60lWqjyMqW4F71zvyv/NAONJSkElIHGrwv/fCt+x/XAMKbEboVPmh8EstyBbHtBJjdPRP4c5ZENpNE
|
||||
Zil2NyQbe9LindCoz8X3zK5Yjmf8OUv2/8eNw9Tqh83kAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAgIAAAAEAIAAoCAEAFgAAACgAAACAAAAAAAEAAAEAIAAAAAAAAAgBAMQOAADEDgAAAAAAAAAA
|
||||
|
||||
Generated
+304
-307
@@ -29,6 +29,7 @@ namespace _29WxOrder
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
@@ -53,26 +54,32 @@ namespace _29WxOrder
|
||||
this.pnlAfterSale = new DevComponents.DotNetBar.PanelEx();
|
||||
this.pnlOrderManage = new DevComponents.DotNetBar.PanelEx();
|
||||
this.splitMain = new System.Windows.Forms.SplitContainer();
|
||||
this.chkHasLogisticsThenSend = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.btn电子面单测试 = new System.Windows.Forms.Button();
|
||||
this.pnlSetMutliBuyer = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnExportExcel = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnSetMutliBuyer = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnFactoryOrder = new DevComponents.DotNetBar.PanelEx();
|
||||
this.chkUseMultiBuyer = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.dgvShop = new System.Windows.Forms.DataGridView();
|
||||
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colShopAccount = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.pnlSetReceiveAddress = new DevComponents.DotNetBar.PanelEx();
|
||||
this.colShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colAuthStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colLoginStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.btnSetReceiveAddress = new DevComponents.DotNetBar.PanelEx();
|
||||
this.pnlLogin1688 = new System.Windows.Forms.Panel();
|
||||
this.lb1688 = new DevComponents.DotNetBar.LabelX();
|
||||
this.panelEx8 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.cb1688BuyUser = new System.Windows.Forms.ComboBox();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.pnlEditTableHeaders = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnEditTableHeaders = new DevComponents.DotNetBar.PanelEx();
|
||||
this.pnlSetSendOrder = new DevComponents.DotNetBar.PanelEx();
|
||||
this.chkHasLogisticsThenSend = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.pnlLoginBuyin = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnLoginBuyin = new DevComponents.DotNetBar.PanelEx();
|
||||
this.txtFactoryExportProductId = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.txtSearch = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.lblSearch = new System.Windows.Forms.Label();
|
||||
this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnOrderSearch = new DevComponents.DotNetBar.PanelEx();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.lb = new DevComponents.DotNetBar.LabelX();
|
||||
this.cbpddBuyUser = new System.Windows.Forms.ComboBox();
|
||||
@@ -105,8 +112,6 @@ namespace _29WxOrder
|
||||
this.chkUsePddPifa = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.pnsku = new System.Windows.Forms.Panel();
|
||||
this.pcskuimg = new System.Windows.Forms.PictureBox();
|
||||
this.pnlExportExcel = new DevComponents.DotNetBar.PanelEx();
|
||||
this.pnlFactoryOrder = new DevComponents.DotNetBar.PanelEx();
|
||||
this.pntimebuyorder = new System.Windows.Forms.Panel();
|
||||
this.dtimestartbuyorder = new System.Windows.Forms.DateTimePicker();
|
||||
this.dtimeendbuyorder = new System.Windows.Forms.DateTimePicker();
|
||||
@@ -122,10 +127,6 @@ namespace _29WxOrder
|
||||
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colAuthStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colLoginStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbseting)).BeginInit();
|
||||
this.panel3.SuspendLayout();
|
||||
@@ -176,9 +177,9 @@ namespace _29WxOrder
|
||||
//
|
||||
this.lblContactSupport.AutoSize = true;
|
||||
this.lblContactSupport.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.lblContactSupport.Location = new System.Drawing.Point(1088, 5);
|
||||
this.lblContactSupport.Location = new System.Drawing.Point(1087, 2);
|
||||
this.lblContactSupport.Name = "lblContactSupport";
|
||||
this.lblContactSupport.Size = new System.Drawing.Size(53, 12);
|
||||
this.lblContactSupport.Size = new System.Drawing.Size(56, 17);
|
||||
this.lblContactSupport.TabIndex = 151;
|
||||
this.lblContactSupport.TabStop = true;
|
||||
this.lblContactSupport.Text = "联系客服";
|
||||
@@ -216,9 +217,9 @@ namespace _29WxOrder
|
||||
//
|
||||
this.lbname.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lbname.ForeColor = System.Drawing.Color.White;
|
||||
this.lbname.Location = new System.Drawing.Point(1096, 23);
|
||||
this.lbname.Location = new System.Drawing.Point(991, 21);
|
||||
this.lbname.Name = "lbname";
|
||||
this.lbname.Size = new System.Drawing.Size(115, 12);
|
||||
this.lbname.Size = new System.Drawing.Size(220, 18);
|
||||
this.lbname.TabIndex = 140;
|
||||
this.lbname.Text = "用户:";
|
||||
this.lbname.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
||||
@@ -231,26 +232,26 @@ namespace _29WxOrder
|
||||
this.panel3.Controls.Add(this.pictureBox1);
|
||||
this.panel3.Location = new System.Drawing.Point(2, 2);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(173, 37);
|
||||
this.panel3.Size = new System.Drawing.Size(318, 37);
|
||||
this.panel3.TabIndex = 130;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Font = new System.Drawing.Font("宋体", 14F, System.Drawing.FontStyle.Bold);
|
||||
this.label3.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label3.ForeColor = System.Drawing.Color.White;
|
||||
this.label3.Location = new System.Drawing.Point(44, 9);
|
||||
this.label3.Location = new System.Drawing.Point(36, 5);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(69, 19);
|
||||
this.label3.Size = new System.Drawing.Size(253, 26);
|
||||
this.label3.TabIndex = 1;
|
||||
this.label3.Text = "小奶兔";
|
||||
this.label3.Text = "29供应链-微信小店订单管理";
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.Image = global::_29WxOrder.Properties.Resources.icon;
|
||||
this.pictureBox1.Location = new System.Drawing.Point(3, 1);
|
||||
this.pictureBox1.Image = global::_29WxOrder.Properties.Resources.weixin_icon;
|
||||
this.pictureBox1.Location = new System.Drawing.Point(-1, 0);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(39, 33);
|
||||
this.pictureBox1.Size = new System.Drawing.Size(36, 36);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.pictureBox1.TabIndex = 0;
|
||||
this.pictureBox1.TabStop = false;
|
||||
@@ -428,23 +429,23 @@ namespace _29WxOrder
|
||||
// splitMain.Panel1
|
||||
//
|
||||
this.splitMain.Panel1.BackColor = System.Drawing.Color.White;
|
||||
this.splitMain.Panel1.Controls.Add(this.chkHasLogisticsThenSend);
|
||||
this.splitMain.Panel1.Controls.Add(this.btn电子面单测试);
|
||||
this.splitMain.Panel1.Controls.Add(this.pnlExportExcel);
|
||||
this.splitMain.Panel1.Controls.Add(this.pnlSetMutliBuyer);
|
||||
this.splitMain.Panel1.Controls.Add(this.pnlFactoryOrder);
|
||||
this.splitMain.Panel1.Controls.Add(this.btnExportExcel);
|
||||
this.splitMain.Panel1.Controls.Add(this.btnSetMutliBuyer);
|
||||
this.splitMain.Panel1.Controls.Add(this.btnFactoryOrder);
|
||||
this.splitMain.Panel1.Controls.Add(this.chkUseMultiBuyer);
|
||||
this.splitMain.Panel1.Controls.Add(this.dgvShop);
|
||||
this.splitMain.Panel1.Controls.Add(this.pnlSetReceiveAddress);
|
||||
this.splitMain.Panel1.Controls.Add(this.btnSetReceiveAddress);
|
||||
this.splitMain.Panel1.Controls.Add(this.pnlLogin1688);
|
||||
this.splitMain.Panel1.Controls.Add(this.button1);
|
||||
this.splitMain.Panel1.Controls.Add(this.pnlEditTableHeaders);
|
||||
this.splitMain.Panel1.Controls.Add(this.btnEditTableHeaders);
|
||||
this.splitMain.Panel1.Controls.Add(this.pnlSetSendOrder);
|
||||
this.splitMain.Panel1.Controls.Add(this.chkHasLogisticsThenSend);
|
||||
this.splitMain.Panel1.Controls.Add(this.pnlLoginBuyin);
|
||||
this.splitMain.Panel1.Controls.Add(this.btnLoginBuyin);
|
||||
this.splitMain.Panel1.Controls.Add(this.txtFactoryExportProductId);
|
||||
this.splitMain.Panel1.Controls.Add(this.txtSearch);
|
||||
this.splitMain.Panel1.Controls.Add(this.lblSearch);
|
||||
this.splitMain.Panel1.Controls.Add(this.panelEx3);
|
||||
this.splitMain.Panel1.Controls.Add(this.btnOrderSearch);
|
||||
this.splitMain.Panel1.Controls.Add(this.label5);
|
||||
this.splitMain.Panel1.Controls.Add(this.lb);
|
||||
this.splitMain.Panel1.Controls.Add(this.cbpddBuyUser);
|
||||
@@ -474,9 +475,20 @@ namespace _29WxOrder
|
||||
this.splitMain.SplitterWidth = 2;
|
||||
this.splitMain.TabIndex = 5;
|
||||
//
|
||||
// chkHasLogisticsThenSend
|
||||
//
|
||||
this.chkHasLogisticsThenSend.AutoSize = true;
|
||||
this.chkHasLogisticsThenSend.Location = new System.Drawing.Point(822, 5);
|
||||
this.chkHasLogisticsThenSend.Name = "chkHasLogisticsThenSend";
|
||||
this.chkHasLogisticsThenSend.Size = new System.Drawing.Size(135, 21);
|
||||
this.chkHasLogisticsThenSend.TabIndex = 856;
|
||||
this.chkHasLogisticsThenSend.Text = "有物流信息后再发货";
|
||||
this.chkHasLogisticsThenSend.UseVisualStyleBackColor = true;
|
||||
this.chkHasLogisticsThenSend.CheckedChanged += new System.EventHandler(this.chkHasLogisticsThenSend_CheckedChanged);
|
||||
//
|
||||
// btn电子面单测试
|
||||
//
|
||||
this.btn电子面单测试.Location = new System.Drawing.Point(218, 74);
|
||||
this.btn电子面单测试.Location = new System.Drawing.Point(218, 76);
|
||||
this.btn电子面单测试.Name = "btn电子面单测试";
|
||||
this.btn电子面单测试.Size = new System.Drawing.Size(98, 23);
|
||||
this.btn电子面单测试.TabIndex = 892;
|
||||
@@ -485,36 +497,95 @@ namespace _29WxOrder
|
||||
this.btn电子面单测试.Visible = false;
|
||||
this.btn电子面单测试.Click += new System.EventHandler(this.btn电子面单测试_Click);
|
||||
//
|
||||
// pnlSetMutliBuyer
|
||||
// btnExportExcel
|
||||
//
|
||||
this.pnlSetMutliBuyer.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pnlSetMutliBuyer.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlSetMutliBuyer.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlSetMutliBuyer.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.pnlSetMutliBuyer.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlSetMutliBuyer.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.pnlSetMutliBuyer.Location = new System.Drawing.Point(1073, 82);
|
||||
this.pnlSetMutliBuyer.Name = "pnlSetMutliBuyer";
|
||||
this.pnlSetMutliBuyer.Size = new System.Drawing.Size(45, 20);
|
||||
this.pnlSetMutliBuyer.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlSetMutliBuyer.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlSetMutliBuyer.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlSetMutliBuyer.Style.BorderWidth = 0;
|
||||
this.pnlSetMutliBuyer.Style.CornerDiameter = 1;
|
||||
this.pnlSetMutliBuyer.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.pnlSetMutliBuyer.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.pnlSetMutliBuyer.Style.GradientAngle = 90;
|
||||
this.pnlSetMutliBuyer.Style.LineAlignment = System.Drawing.StringAlignment.Near;
|
||||
this.pnlSetMutliBuyer.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlSetMutliBuyer.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlSetMutliBuyer.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlSetMutliBuyer.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlSetMutliBuyer.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlSetMutliBuyer.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlSetMutliBuyer.TabIndex = 1138;
|
||||
this.pnlSetMutliBuyer.Text = "设置";
|
||||
this.pnlSetMutliBuyer.Visible = false;
|
||||
this.pnlSetMutliBuyer.Click += new System.EventHandler(this.pnlSetMutliBuyer_Click);
|
||||
this.btnExportExcel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnExportExcel.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnExportExcel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnExportExcel.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnExportExcel.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnExportExcel.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.btnExportExcel.Location = new System.Drawing.Point(841, 51);
|
||||
this.btnExportExcel.Name = "btnExportExcel";
|
||||
this.btnExportExcel.Size = new System.Drawing.Size(95, 21);
|
||||
this.btnExportExcel.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnExportExcel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnExportExcel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnExportExcel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnExportExcel.Style.CornerDiameter = 3;
|
||||
this.btnExportExcel.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.btnExportExcel.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnExportExcel.Style.GradientAngle = 90;
|
||||
this.btnExportExcel.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnExportExcel.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnExportExcel.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnExportExcel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnExportExcel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnExportExcel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnExportExcel.TabIndex = 711;
|
||||
this.btnExportExcel.Text = "导出excel";
|
||||
this.btnExportExcel.Visible = false;
|
||||
this.btnExportExcel.Click += new System.EventHandler(this.pnlExportExcel_Click);
|
||||
//
|
||||
// btnSetMutliBuyer
|
||||
//
|
||||
this.btnSetMutliBuyer.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnSetMutliBuyer.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnSetMutliBuyer.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnSetMutliBuyer.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSetMutliBuyer.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSetMutliBuyer.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.btnSetMutliBuyer.Location = new System.Drawing.Point(1073, 82);
|
||||
this.btnSetMutliBuyer.Name = "btnSetMutliBuyer";
|
||||
this.btnSetMutliBuyer.Size = new System.Drawing.Size(45, 20);
|
||||
this.btnSetMutliBuyer.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSetMutliBuyer.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnSetMutliBuyer.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnSetMutliBuyer.Style.CornerDiameter = 3;
|
||||
this.btnSetMutliBuyer.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.btnSetMutliBuyer.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnSetMutliBuyer.Style.GradientAngle = 90;
|
||||
this.btnSetMutliBuyer.Style.LineAlignment = System.Drawing.StringAlignment.Near;
|
||||
this.btnSetMutliBuyer.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSetMutliBuyer.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnSetMutliBuyer.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnSetMutliBuyer.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSetMutliBuyer.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnSetMutliBuyer.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnSetMutliBuyer.TabIndex = 1138;
|
||||
this.btnSetMutliBuyer.Text = "设置";
|
||||
this.btnSetMutliBuyer.Visible = false;
|
||||
this.btnSetMutliBuyer.Click += new System.EventHandler(this.pnlSetMutliBuyer_Click);
|
||||
//
|
||||
// btnFactoryOrder
|
||||
//
|
||||
this.btnFactoryOrder.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnFactoryOrder.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnFactoryOrder.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnFactoryOrder.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnFactoryOrder.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnFactoryOrder.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.btnFactoryOrder.Location = new System.Drawing.Point(1224, 31);
|
||||
this.btnFactoryOrder.Name = "btnFactoryOrder";
|
||||
this.btnFactoryOrder.Size = new System.Drawing.Size(95, 21);
|
||||
this.btnFactoryOrder.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnFactoryOrder.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnFactoryOrder.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnFactoryOrder.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnFactoryOrder.Style.CornerDiameter = 3;
|
||||
this.btnFactoryOrder.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.btnFactoryOrder.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnFactoryOrder.Style.GradientAngle = 90;
|
||||
this.btnFactoryOrder.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnFactoryOrder.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnFactoryOrder.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnFactoryOrder.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnFactoryOrder.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnFactoryOrder.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnFactoryOrder.TabIndex = 888;
|
||||
this.btnFactoryOrder.Text = "工厂订单";
|
||||
this.btnFactoryOrder.Visible = false;
|
||||
this.btnFactoryOrder.Click += new System.EventHandler(this.pnlFactoryOrder_Click);
|
||||
//
|
||||
// chkUseMultiBuyer
|
||||
//
|
||||
@@ -527,7 +598,7 @@ namespace _29WxOrder
|
||||
this.chkUseMultiBuyer.FocusCuesEnabled = false;
|
||||
this.chkUseMultiBuyer.Location = new System.Drawing.Point(993, 83);
|
||||
this.chkUseMultiBuyer.Name = "chkUseMultiBuyer";
|
||||
this.chkUseMultiBuyer.Size = new System.Drawing.Size(88, 18);
|
||||
this.chkUseMultiBuyer.Size = new System.Drawing.Size(88, 20);
|
||||
this.chkUseMultiBuyer.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.chkUseMultiBuyer.TabIndex = 1134;
|
||||
this.chkUseMultiBuyer.Text = "多买手拍单";
|
||||
@@ -544,7 +615,7 @@ namespace _29WxOrder
|
||||
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvShop.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black;
|
||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
@@ -560,7 +631,7 @@ namespace _29WxOrder
|
||||
this.colLoginStatus});
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.DeepSkyBlue;
|
||||
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
@@ -573,7 +644,7 @@ namespace _29WxOrder
|
||||
this.dgvShop.ReadOnly = true;
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Black;
|
||||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.CornflowerBlue;
|
||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
@@ -598,6 +669,13 @@ namespace _29WxOrder
|
||||
this.colSelect.ReadOnly = true;
|
||||
this.colSelect.Width = 18;
|
||||
//
|
||||
// colShopId
|
||||
//
|
||||
this.colShopId.HeaderText = "店铺Id";
|
||||
this.colShopId.Name = "colShopId";
|
||||
this.colShopId.ReadOnly = true;
|
||||
this.colShopId.Visible = false;
|
||||
//
|
||||
// colShopAccount
|
||||
//
|
||||
this.colShopAccount.HeaderText = "店铺账号";
|
||||
@@ -607,34 +685,55 @@ namespace _29WxOrder
|
||||
this.colShopAccount.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.colShopAccount.Width = 90;
|
||||
//
|
||||
// pnlSetReceiveAddress
|
||||
// colShopName
|
||||
//
|
||||
this.pnlSetReceiveAddress.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pnlSetReceiveAddress.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlSetReceiveAddress.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlSetReceiveAddress.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.pnlSetReceiveAddress.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlSetReceiveAddress.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.pnlSetReceiveAddress.Location = new System.Drawing.Point(1224, 56);
|
||||
this.pnlSetReceiveAddress.Name = "pnlSetReceiveAddress";
|
||||
this.pnlSetReceiveAddress.Size = new System.Drawing.Size(95, 21);
|
||||
this.pnlSetReceiveAddress.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlSetReceiveAddress.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlSetReceiveAddress.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlSetReceiveAddress.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.pnlSetReceiveAddress.Style.CornerDiameter = 1;
|
||||
this.pnlSetReceiveAddress.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.pnlSetReceiveAddress.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.pnlSetReceiveAddress.Style.GradientAngle = 90;
|
||||
this.pnlSetReceiveAddress.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlSetReceiveAddress.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlSetReceiveAddress.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlSetReceiveAddress.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlSetReceiveAddress.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlSetReceiveAddress.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlSetReceiveAddress.TabIndex = 1062;
|
||||
this.pnlSetReceiveAddress.Text = "指定收货地址";
|
||||
this.pnlSetReceiveAddress.Click += new System.EventHandler(this.pnlSetReceiveAddress_Click);
|
||||
this.colShopName.HeaderText = "店铺名称";
|
||||
this.colShopName.Name = "colShopName";
|
||||
this.colShopName.ReadOnly = true;
|
||||
this.colShopName.Width = 68;
|
||||
//
|
||||
// colAuthStatus
|
||||
//
|
||||
this.colAuthStatus.HeaderText = "授权状态";
|
||||
this.colAuthStatus.Name = "colAuthStatus";
|
||||
this.colAuthStatus.ReadOnly = true;
|
||||
this.colAuthStatus.Width = 58;
|
||||
//
|
||||
// colLoginStatus
|
||||
//
|
||||
this.colLoginStatus.HeaderText = "登录状态";
|
||||
this.colLoginStatus.Name = "colLoginStatus";
|
||||
this.colLoginStatus.ReadOnly = true;
|
||||
this.colLoginStatus.Width = 58;
|
||||
//
|
||||
// btnSetReceiveAddress
|
||||
//
|
||||
this.btnSetReceiveAddress.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnSetReceiveAddress.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnSetReceiveAddress.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnSetReceiveAddress.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSetReceiveAddress.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSetReceiveAddress.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.btnSetReceiveAddress.Location = new System.Drawing.Point(1224, 56);
|
||||
this.btnSetReceiveAddress.Name = "btnSetReceiveAddress";
|
||||
this.btnSetReceiveAddress.Size = new System.Drawing.Size(95, 21);
|
||||
this.btnSetReceiveAddress.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSetReceiveAddress.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnSetReceiveAddress.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnSetReceiveAddress.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnSetReceiveAddress.Style.CornerDiameter = 3;
|
||||
this.btnSetReceiveAddress.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.btnSetReceiveAddress.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnSetReceiveAddress.Style.GradientAngle = 90;
|
||||
this.btnSetReceiveAddress.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSetReceiveAddress.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnSetReceiveAddress.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnSetReceiveAddress.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSetReceiveAddress.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnSetReceiveAddress.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnSetReceiveAddress.TabIndex = 1062;
|
||||
this.btnSetReceiveAddress.Text = "指定收货地址";
|
||||
this.btnSetReceiveAddress.Click += new System.EventHandler(this.pnlSetReceiveAddress_Click);
|
||||
//
|
||||
// pnlLogin1688
|
||||
//
|
||||
@@ -678,7 +777,7 @@ namespace _29WxOrder
|
||||
this.panelEx8.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx8.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx8.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.panelEx8.Style.CornerDiameter = 1;
|
||||
this.panelEx8.Style.CornerDiameter = 3;
|
||||
this.panelEx8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.panelEx8.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.panelEx8.Style.GradientAngle = 90;
|
||||
@@ -716,34 +815,34 @@ namespace _29WxOrder
|
||||
this.button1.Visible = false;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// pnlEditTableHeaders
|
||||
// btnEditTableHeaders
|
||||
//
|
||||
this.pnlEditTableHeaders.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pnlEditTableHeaders.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlEditTableHeaders.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlEditTableHeaders.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.pnlEditTableHeaders.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlEditTableHeaders.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.pnlEditTableHeaders.Location = new System.Drawing.Point(841, 81);
|
||||
this.pnlEditTableHeaders.Name = "pnlEditTableHeaders";
|
||||
this.pnlEditTableHeaders.Size = new System.Drawing.Size(95, 21);
|
||||
this.pnlEditTableHeaders.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlEditTableHeaders.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlEditTableHeaders.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlEditTableHeaders.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.pnlEditTableHeaders.Style.CornerDiameter = 1;
|
||||
this.pnlEditTableHeaders.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.pnlEditTableHeaders.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.pnlEditTableHeaders.Style.GradientAngle = 90;
|
||||
this.pnlEditTableHeaders.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlEditTableHeaders.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlEditTableHeaders.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlEditTableHeaders.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlEditTableHeaders.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlEditTableHeaders.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlEditTableHeaders.TabIndex = 1022;
|
||||
this.pnlEditTableHeaders.Text = "表头编辑";
|
||||
this.pnlEditTableHeaders.Click += new System.EventHandler(this.pnlEditTableHeaders_Click);
|
||||
this.btnEditTableHeaders.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnEditTableHeaders.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnEditTableHeaders.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnEditTableHeaders.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnEditTableHeaders.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnEditTableHeaders.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.btnEditTableHeaders.Location = new System.Drawing.Point(841, 81);
|
||||
this.btnEditTableHeaders.Name = "btnEditTableHeaders";
|
||||
this.btnEditTableHeaders.Size = new System.Drawing.Size(95, 21);
|
||||
this.btnEditTableHeaders.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnEditTableHeaders.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnEditTableHeaders.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnEditTableHeaders.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnEditTableHeaders.Style.CornerDiameter = 3;
|
||||
this.btnEditTableHeaders.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.btnEditTableHeaders.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnEditTableHeaders.Style.GradientAngle = 90;
|
||||
this.btnEditTableHeaders.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnEditTableHeaders.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnEditTableHeaders.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnEditTableHeaders.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnEditTableHeaders.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnEditTableHeaders.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnEditTableHeaders.TabIndex = 1022;
|
||||
this.btnEditTableHeaders.Text = "表头编辑";
|
||||
this.btnEditTableHeaders.Click += new System.EventHandler(this.pnlEditTableHeaders_Click);
|
||||
//
|
||||
// pnlSetSendOrder
|
||||
//
|
||||
@@ -759,7 +858,7 @@ namespace _29WxOrder
|
||||
this.pnlSetSendOrder.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlSetSendOrder.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlSetSendOrder.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.pnlSetSendOrder.Style.CornerDiameter = 1;
|
||||
this.pnlSetSendOrder.Style.CornerDiameter = 3;
|
||||
this.pnlSetSendOrder.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.pnlSetSendOrder.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.pnlSetSendOrder.Style.GradientAngle = 90;
|
||||
@@ -773,49 +872,35 @@ namespace _29WxOrder
|
||||
this.pnlSetSendOrder.Text = "批量设置\r\n订单完成";
|
||||
this.pnlSetSendOrder.Click += new System.EventHandler(this.pnlSetSendOrder_Click);
|
||||
//
|
||||
// chkHasLogisticsThenSend
|
||||
// btnLoginBuyin
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.chkHasLogisticsThenSend.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.chkHasLogisticsThenSend.FocusCuesEnabled = false;
|
||||
this.chkHasLogisticsThenSend.Location = new System.Drawing.Point(821, 5);
|
||||
this.chkHasLogisticsThenSend.Name = "chkHasLogisticsThenSend";
|
||||
this.chkHasLogisticsThenSend.Size = new System.Drawing.Size(134, 23);
|
||||
this.chkHasLogisticsThenSend.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.chkHasLogisticsThenSend.TabIndex = 951;
|
||||
this.chkHasLogisticsThenSend.Text = "有物流信息后再发货";
|
||||
this.chkHasLogisticsThenSend.CheckedChanged += new System.EventHandler(this.chkHasLogisticsThenSend_CheckedChanged);
|
||||
//
|
||||
// pnlLoginBuyin
|
||||
//
|
||||
this.pnlLoginBuyin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pnlLoginBuyin.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlLoginBuyin.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlLoginBuyin.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.pnlLoginBuyin.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlLoginBuyin.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.pnlLoginBuyin.Location = new System.Drawing.Point(1224, 81);
|
||||
this.pnlLoginBuyin.Name = "pnlLoginBuyin";
|
||||
this.pnlLoginBuyin.Size = new System.Drawing.Size(95, 21);
|
||||
this.pnlLoginBuyin.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlLoginBuyin.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlLoginBuyin.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlLoginBuyin.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.pnlLoginBuyin.Style.CornerDiameter = 1;
|
||||
this.pnlLoginBuyin.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.pnlLoginBuyin.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.pnlLoginBuyin.Style.GradientAngle = 90;
|
||||
this.pnlLoginBuyin.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlLoginBuyin.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlLoginBuyin.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlLoginBuyin.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlLoginBuyin.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlLoginBuyin.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlLoginBuyin.TabIndex = 919;
|
||||
this.pnlLoginBuyin.Text = "登录巨量百应";
|
||||
this.pnlLoginBuyin.Click += new System.EventHandler(this.pnlLoginBuyin_Click);
|
||||
this.btnLoginBuyin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnLoginBuyin.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnLoginBuyin.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnLoginBuyin.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnLoginBuyin.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnLoginBuyin.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.btnLoginBuyin.Location = new System.Drawing.Point(1224, 81);
|
||||
this.btnLoginBuyin.Name = "btnLoginBuyin";
|
||||
this.btnLoginBuyin.Size = new System.Drawing.Size(95, 21);
|
||||
this.btnLoginBuyin.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnLoginBuyin.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnLoginBuyin.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnLoginBuyin.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnLoginBuyin.Style.CornerDiameter = 3;
|
||||
this.btnLoginBuyin.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.btnLoginBuyin.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnLoginBuyin.Style.GradientAngle = 90;
|
||||
this.btnLoginBuyin.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnLoginBuyin.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnLoginBuyin.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnLoginBuyin.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnLoginBuyin.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnLoginBuyin.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnLoginBuyin.TabIndex = 919;
|
||||
this.btnLoginBuyin.Text = "登录巨量百应";
|
||||
this.btnLoginBuyin.Visible = false;
|
||||
this.btnLoginBuyin.Click += new System.EventHandler(this.pnlLoginBuyin_Click);
|
||||
//
|
||||
// txtFactoryExportProductId
|
||||
//
|
||||
@@ -828,7 +913,7 @@ namespace _29WxOrder
|
||||
this.txtFactoryExportProductId.Location = new System.Drawing.Point(994, 31);
|
||||
this.txtFactoryExportProductId.Name = "txtFactoryExportProductId";
|
||||
this.txtFactoryExportProductId.PreventEnterBeep = true;
|
||||
this.txtFactoryExportProductId.Size = new System.Drawing.Size(224, 21);
|
||||
this.txtFactoryExportProductId.Size = new System.Drawing.Size(224, 23);
|
||||
this.txtFactoryExportProductId.TabIndex = 884;
|
||||
this.txtFactoryExportProductId.Visible = false;
|
||||
this.txtFactoryExportProductId.WatermarkText = "工厂商品Id列表,多个以\",\"隔开";
|
||||
@@ -844,7 +929,7 @@ namespace _29WxOrder
|
||||
this.txtSearch.Location = new System.Drawing.Point(994, 6);
|
||||
this.txtSearch.Name = "txtSearch";
|
||||
this.txtSearch.PreventEnterBeep = true;
|
||||
this.txtSearch.Size = new System.Drawing.Size(224, 21);
|
||||
this.txtSearch.Size = new System.Drawing.Size(224, 23);
|
||||
this.txtSearch.TabIndex = 753;
|
||||
this.txtSearch.WatermarkText = "店铺名/订单号/商品编号/姓名/手机号";
|
||||
this.txtSearch.Click += new System.EventHandler(this.tborder_Click);
|
||||
@@ -862,34 +947,34 @@ namespace _29WxOrder
|
||||
this.lblSearch.Text = "搜索:";
|
||||
this.lblSearch.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// panelEx3
|
||||
// btnOrderSearch
|
||||
//
|
||||
this.panelEx3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panelEx3.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.panelEx3.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.panelEx3.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.panelEx3.Location = new System.Drawing.Point(1224, 6);
|
||||
this.panelEx3.Name = "panelEx3";
|
||||
this.panelEx3.Size = new System.Drawing.Size(94, 21);
|
||||
this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx3.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.panelEx3.Style.CornerDiameter = 1;
|
||||
this.panelEx3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.panelEx3.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.panelEx3.Style.GradientAngle = 90;
|
||||
this.panelEx3.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx3.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.panelEx3.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.panelEx3.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx3.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.panelEx3.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.panelEx3.TabIndex = 672;
|
||||
this.panelEx3.Text = "订单查询";
|
||||
this.panelEx3.Click += new System.EventHandler(this.btn_Click);
|
||||
this.btnOrderSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnOrderSearch.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnOrderSearch.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnOrderSearch.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnOrderSearch.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnOrderSearch.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.btnOrderSearch.Location = new System.Drawing.Point(1224, 6);
|
||||
this.btnOrderSearch.Name = "btnOrderSearch";
|
||||
this.btnOrderSearch.Size = new System.Drawing.Size(94, 21);
|
||||
this.btnOrderSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnOrderSearch.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnOrderSearch.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnOrderSearch.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnOrderSearch.Style.CornerDiameter = 3;
|
||||
this.btnOrderSearch.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.btnOrderSearch.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnOrderSearch.Style.GradientAngle = 90;
|
||||
this.btnOrderSearch.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnOrderSearch.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnOrderSearch.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnOrderSearch.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnOrderSearch.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnOrderSearch.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnOrderSearch.TabIndex = 672;
|
||||
this.btnOrderSearch.Text = "订单查询";
|
||||
this.btnOrderSearch.Click += new System.EventHandler(this.btn_Click);
|
||||
//
|
||||
// label5
|
||||
//
|
||||
@@ -946,7 +1031,7 @@ namespace _29WxOrder
|
||||
this.panelEx7.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx7.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx7.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.panelEx7.Style.CornerDiameter = 1;
|
||||
this.panelEx7.Style.CornerDiameter = 3;
|
||||
this.panelEx7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.panelEx7.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.panelEx7.Style.GradientAngle = 90;
|
||||
@@ -974,7 +1059,7 @@ namespace _29WxOrder
|
||||
this.pnlReadOrder.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlReadOrder.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlReadOrder.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.pnlReadOrder.Style.CornerDiameter = 1;
|
||||
this.pnlReadOrder.Style.CornerDiameter = 3;
|
||||
this.pnlReadOrder.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.pnlReadOrder.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.pnlReadOrder.Style.GradientAngle = 90;
|
||||
@@ -1002,7 +1087,7 @@ namespace _29WxOrder
|
||||
this.panelEx5.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx5.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx5.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.panelEx5.Style.CornerDiameter = 1;
|
||||
this.panelEx5.Style.CornerDiameter = 3;
|
||||
this.panelEx5.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.panelEx5.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.panelEx5.Style.GradientAngle = 90;
|
||||
@@ -1053,7 +1138,7 @@ namespace _29WxOrder
|
||||
this.btn.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btn.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btn.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btn.Style.CornerDiameter = 1;
|
||||
this.btn.Style.CornerDiameter = 3;
|
||||
this.btn.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.btn.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btn.Style.GradientAngle = 90;
|
||||
@@ -1278,7 +1363,7 @@ namespace _29WxOrder
|
||||
this.btnLoginPddPifa.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnLoginPddPifa.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnLoginPddPifa.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnLoginPddPifa.Style.CornerDiameter = 1;
|
||||
this.btnLoginPddPifa.Style.CornerDiameter = 3;
|
||||
this.btnLoginPddPifa.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.btnLoginPddPifa.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnLoginPddPifa.Style.GradientAngle = 90;
|
||||
@@ -1328,7 +1413,7 @@ namespace _29WxOrder
|
||||
this.panelEx2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.panelEx2.Style.CornerDiameter = 1;
|
||||
this.panelEx2.Style.CornerDiameter = 3;
|
||||
this.panelEx2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.panelEx2.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.panelEx2.Style.GradientAngle = 90;
|
||||
@@ -1382,7 +1467,7 @@ namespace _29WxOrder
|
||||
this.chkUsePddPifa.FocusCuesEnabled = false;
|
||||
this.chkUsePddPifa.Location = new System.Drawing.Point(1127, 83);
|
||||
this.chkUsePddPifa.Name = "chkUsePddPifa";
|
||||
this.chkUsePddPifa.Size = new System.Drawing.Size(101, 18);
|
||||
this.chkUsePddPifa.Size = new System.Drawing.Size(101, 20);
|
||||
this.chkUsePddPifa.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.chkUsePddPifa.TabIndex = 1106;
|
||||
this.chkUsePddPifa.Text = "多多批发拍单";
|
||||
@@ -1394,7 +1479,7 @@ namespace _29WxOrder
|
||||
this.pnsku.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.pnsku.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.pnsku.Controls.Add(this.pcskuimg);
|
||||
this.pnsku.Location = new System.Drawing.Point(48, 259);
|
||||
this.pnsku.Location = new System.Drawing.Point(10, 253);
|
||||
this.pnsku.Name = "pnsku";
|
||||
this.pnsku.Size = new System.Drawing.Size(220, 220);
|
||||
this.pnsku.TabIndex = 7;
|
||||
@@ -1408,66 +1493,6 @@ namespace _29WxOrder
|
||||
this.pcskuimg.TabIndex = 0;
|
||||
this.pcskuimg.TabStop = false;
|
||||
//
|
||||
// pnlExportExcel
|
||||
//
|
||||
this.pnlExportExcel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pnlExportExcel.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlExportExcel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlExportExcel.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.pnlExportExcel.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlExportExcel.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.pnlExportExcel.Location = new System.Drawing.Point(841, 51);
|
||||
this.pnlExportExcel.Name = "pnlExportExcel";
|
||||
this.pnlExportExcel.Size = new System.Drawing.Size(95, 21);
|
||||
this.pnlExportExcel.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlExportExcel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlExportExcel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlExportExcel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.pnlExportExcel.Style.CornerDiameter = 1;
|
||||
this.pnlExportExcel.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.pnlExportExcel.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.pnlExportExcel.Style.GradientAngle = 90;
|
||||
this.pnlExportExcel.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlExportExcel.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlExportExcel.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlExportExcel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlExportExcel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlExportExcel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlExportExcel.TabIndex = 711;
|
||||
this.pnlExportExcel.Text = "导出excel";
|
||||
this.pnlExportExcel.Visible = false;
|
||||
this.pnlExportExcel.Click += new System.EventHandler(this.pnlExportExcel_Click);
|
||||
//
|
||||
// pnlFactoryOrder
|
||||
//
|
||||
this.pnlFactoryOrder.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pnlFactoryOrder.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlFactoryOrder.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlFactoryOrder.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.pnlFactoryOrder.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlFactoryOrder.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.pnlFactoryOrder.Location = new System.Drawing.Point(1224, 31);
|
||||
this.pnlFactoryOrder.Name = "pnlFactoryOrder";
|
||||
this.pnlFactoryOrder.Size = new System.Drawing.Size(95, 21);
|
||||
this.pnlFactoryOrder.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlFactoryOrder.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlFactoryOrder.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlFactoryOrder.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.pnlFactoryOrder.Style.CornerDiameter = 1;
|
||||
this.pnlFactoryOrder.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.pnlFactoryOrder.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.pnlFactoryOrder.Style.GradientAngle = 90;
|
||||
this.pnlFactoryOrder.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlFactoryOrder.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlFactoryOrder.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlFactoryOrder.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlFactoryOrder.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlFactoryOrder.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlFactoryOrder.TabIndex = 888;
|
||||
this.pnlFactoryOrder.Text = "工厂订单";
|
||||
this.pnlFactoryOrder.Visible = false;
|
||||
this.pnlFactoryOrder.Click += new System.EventHandler(this.pnlFactoryOrder_Click);
|
||||
//
|
||||
// pntimebuyorder
|
||||
//
|
||||
this.pntimebuyorder.Controls.Add(this.dtimestartbuyorder);
|
||||
@@ -1476,30 +1501,30 @@ namespace _29WxOrder
|
||||
this.pntimebuyorder.Controls.Add(this.label2);
|
||||
this.pntimebuyorder.Location = new System.Drawing.Point(18, 67);
|
||||
this.pntimebuyorder.Name = "pntimebuyorder";
|
||||
this.pntimebuyorder.Size = new System.Drawing.Size(283, 24);
|
||||
this.pntimebuyorder.Size = new System.Drawing.Size(288, 29);
|
||||
this.pntimebuyorder.TabIndex = 855;
|
||||
this.pntimebuyorder.Visible = false;
|
||||
//
|
||||
// dtimestartbuyorder
|
||||
//
|
||||
this.dtimestartbuyorder.Location = new System.Drawing.Point(46, 3);
|
||||
this.dtimestartbuyorder.Location = new System.Drawing.Point(51, 3);
|
||||
this.dtimestartbuyorder.Name = "dtimestartbuyorder";
|
||||
this.dtimestartbuyorder.Size = new System.Drawing.Size(105, 21);
|
||||
this.dtimestartbuyorder.Size = new System.Drawing.Size(105, 23);
|
||||
this.dtimestartbuyorder.TabIndex = 0;
|
||||
//
|
||||
// dtimeendbuyorder
|
||||
//
|
||||
this.dtimeendbuyorder.Location = new System.Drawing.Point(169, 3);
|
||||
this.dtimeendbuyorder.Location = new System.Drawing.Point(174, 3);
|
||||
this.dtimeendbuyorder.Name = "dtimeendbuyorder";
|
||||
this.dtimeendbuyorder.Size = new System.Drawing.Size(106, 21);
|
||||
this.dtimeendbuyorder.Size = new System.Drawing.Size(106, 23);
|
||||
this.dtimeendbuyorder.TabIndex = 1;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(154, 7);
|
||||
this.label7.Location = new System.Drawing.Point(159, 7);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(11, 12);
|
||||
this.label7.Size = new System.Drawing.Size(13, 17);
|
||||
this.label7.TabIndex = 3;
|
||||
this.label7.Text = "-";
|
||||
//
|
||||
@@ -1508,7 +1533,7 @@ namespace _29WxOrder
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(8, 7);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(41, 12);
|
||||
this.label2.Size = new System.Drawing.Size(44, 17);
|
||||
this.label2.TabIndex = 2;
|
||||
this.label2.Text = "暂不用";
|
||||
//
|
||||
@@ -1618,44 +1643,16 @@ namespace _29WxOrder
|
||||
this.dataGridViewTextBoxColumn4.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn4.Width = 48;
|
||||
//
|
||||
// colShopId
|
||||
//
|
||||
this.colShopId.HeaderText = "店铺Id";
|
||||
this.colShopId.Name = "colShopId";
|
||||
this.colShopId.ReadOnly = true;
|
||||
this.colShopId.Visible = false;
|
||||
//
|
||||
// colShopName
|
||||
//
|
||||
this.colShopName.HeaderText = "店铺名称";
|
||||
this.colShopName.Name = "colShopName";
|
||||
this.colShopName.ReadOnly = true;
|
||||
this.colShopName.Width = 68;
|
||||
//
|
||||
// colAuthStatus
|
||||
//
|
||||
this.colAuthStatus.HeaderText = "授权状态";
|
||||
this.colAuthStatus.Name = "colAuthStatus";
|
||||
this.colAuthStatus.ReadOnly = true;
|
||||
this.colAuthStatus.Width = 58;
|
||||
//
|
||||
// colLoginStatus
|
||||
//
|
||||
this.colLoginStatus.HeaderText = "登录状态";
|
||||
this.colLoginStatus.Name = "colLoginStatus";
|
||||
this.colLoginStatus.ReadOnly = true;
|
||||
this.colLoginStatus.Width = 58;
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.ClientSize = new System.Drawing.Size(1330, 668);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.splitMain);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.pnorderadmin);
|
||||
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MinimumSize = new System.Drawing.Size(1330, 668);
|
||||
@@ -1724,14 +1721,14 @@ namespace _29WxOrder
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
||||
private DevComponents.DotNetBar.PanelEx pnlExportExcel;
|
||||
private DevComponents.DotNetBar.PanelEx btnExportExcel;
|
||||
private DevComponents.DotNetBar.PanelEx panelEx2;
|
||||
public System.Windows.Forms.ComboBox cbtbBuyUser;
|
||||
private DevComponents.DotNetBar.LabelX lbtaobao;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private DevComponents.DotNetBar.PanelEx panelEx3;
|
||||
private DevComponents.DotNetBar.PanelEx btnOrderSearch;
|
||||
private System.Windows.Forms.Label lblSearch;
|
||||
private System.Windows.Forms.Label lbv;
|
||||
private DevComponents.DotNetBar.PanelEx pnlSuccess;
|
||||
@@ -1760,12 +1757,11 @@ namespace _29WxOrder
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
||||
public DevComponents.DotNetBar.Controls.TextBoxX txtSearch;
|
||||
public DevComponents.DotNetBar.Controls.TextBoxX txtFactoryExportProductId;
|
||||
private DevComponents.DotNetBar.PanelEx pnlFactoryOrder;
|
||||
private DevComponents.DotNetBar.PanelEx pnlLoginBuyin;
|
||||
private DevComponents.DotNetBar.PanelEx btnFactoryOrder;
|
||||
private DevComponents.DotNetBar.PanelEx btnLoginBuyin;
|
||||
private System.Windows.Forms.Label lblFactoryOrder;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX chkHasLogisticsThenSend;
|
||||
private DevComponents.DotNetBar.PanelEx pnlSetSendOrder;
|
||||
private DevComponents.DotNetBar.PanelEx pnlEditTableHeaders;
|
||||
private DevComponents.DotNetBar.PanelEx btnEditTableHeaders;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colShopId;
|
||||
@@ -1776,7 +1772,7 @@ namespace _29WxOrder
|
||||
private System.Windows.Forms.LinkLabel lblContactSupport;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX chkReadFinishedRefund;
|
||||
public System.Windows.Forms.Label lblMsg;
|
||||
private DevComponents.DotNetBar.PanelEx pnlSetReceiveAddress;
|
||||
private DevComponents.DotNetBar.PanelEx btnSetReceiveAddress;
|
||||
private System.Windows.Forms.Panel pnlLoginPddPifa;
|
||||
private DevComponents.DotNetBar.LabelX lbDelPddPifa;
|
||||
private DevComponents.DotNetBar.PanelEx btnLoginPddPifa;
|
||||
@@ -1785,8 +1781,9 @@ namespace _29WxOrder
|
||||
private System.Windows.Forms.Panel pnlLoginTaobao;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX chkUsePddPifa;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX chkUseMultiBuyer;
|
||||
private DevComponents.DotNetBar.PanelEx pnlSetMutliBuyer;
|
||||
private DevComponents.DotNetBar.PanelEx btnSetMutliBuyer;
|
||||
private System.Windows.Forms.Button btn电子面单测试;
|
||||
private TemuKJD.UserComponent.UcCheckBox chkHasLogisticsThenSend;
|
||||
}
|
||||
}
|
||||
|
||||
+44
-84
@@ -65,7 +65,7 @@ namespace _29WxOrder
|
||||
instance = this;
|
||||
SetWindowRegion();
|
||||
|
||||
this.Text = "小奶兔";
|
||||
this.Text = label3.Text; // "小奶兔";
|
||||
if (FileBase.Exists(BaseClass.ProgromLogoIco))
|
||||
{
|
||||
Image img = Image.FromFile(BaseClass.ProgromLogoIco);
|
||||
@@ -251,13 +251,13 @@ namespace _29WxOrder
|
||||
{
|
||||
//this.pnlLogin1688.Location = new Point() { X = this.pnlLogin1688.Location.X, Y = this.pnlLogin1688.Location.Y - 12 };
|
||||
//this.pnlLoginTaobao.Location = new Point() { X = this.pnlLoginTaobao.Location.X, Y = this.pnlLoginTaobao.Location.Y - 6 };
|
||||
this.pnlLoginPddPifa.Visible = true;
|
||||
//this.pnlLoginPddPifa.Visible = true;
|
||||
chkUsePddPifa.Visible = true;
|
||||
chkUseMultiBuyer.Visible = true;
|
||||
pnlSetMutliBuyer.Visible = true;
|
||||
btnSetMutliBuyer.Visible = true;
|
||||
|
||||
pnlLoginTaobao.Visible = true;
|
||||
pnlLogin1688.Visible = true;
|
||||
//pnlLoginTaobao.Visible = true;
|
||||
//pnlLogin1688.Visible = true;
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
@@ -276,7 +276,7 @@ namespace _29WxOrder
|
||||
|
||||
if (BaseClass.IsFactory)
|
||||
{
|
||||
pnlExportExcel.Visible = lblFactoryOrder.Visible = txtFactoryExportProductId.Visible = pnlFactoryOrder.Visible = true;
|
||||
btnExportExcel.Visible = lblFactoryOrder.Visible = txtFactoryExportProductId.Visible = btnFactoryOrder.Visible = true;
|
||||
}
|
||||
|
||||
dgvShop.AddSelectorColumn("colSelect");
|
||||
@@ -298,7 +298,6 @@ namespace _29WxOrder
|
||||
|
||||
SetForm.ChangeCustomJinBaoLianMengLink();
|
||||
|
||||
new Thread(getAddress1688).Start();
|
||||
new Thread(ReflashCookies).Start();
|
||||
new Thread(readerShop).Start();
|
||||
RefreshTabaoAliCookies();
|
||||
@@ -329,11 +328,11 @@ namespace _29WxOrder
|
||||
new Thread(ReadJuLiangCef).Start();
|
||||
|
||||
|
||||
// 是否显示联系客服按钮
|
||||
if (FileBase.Exists("locales/ig.pak") || FileBase.Exists("locales/wl.pak"))
|
||||
lblContactSupport.Visible = false;
|
||||
else
|
||||
lblContactSupport.Visible = true;
|
||||
//// 是否显示联系客服按钮
|
||||
//if (FileBase.Exists("locales/ig.pak") || FileBase.Exists("locales/wl.pak"))
|
||||
// lblContactSupport.Visible = false;
|
||||
//else
|
||||
// lblContactSupport.Visible = true;
|
||||
|
||||
this.chkReadFinishedRefund.CheckedChanged -= chkReadFinish_CheckedChanged;
|
||||
this.chkReadFinishedRefund.Checked = ConfigHelper.LoadConfig<bool>("read_finished_refund");
|
||||
@@ -343,47 +342,7 @@ namespace _29WxOrder
|
||||
|
||||
|
||||
|
||||
#region 获取阿里巴巴省市县区的地址
|
||||
public Dictionary<int, List<AddressBase>> Addressdic = new Dictionary<int, List<AddressBase>>();
|
||||
public List<AddressBase> AddressAllList = new List<AddressBase>();
|
||||
public void getAddress1688()
|
||||
{
|
||||
Thread.Sleep(2000);
|
||||
string strContent = FileBase.ReadAllText("1688_address.tjm");
|
||||
strContent = GetHtml.UrlDecode(strContent);
|
||||
var m = BaseRegex.GetMatchRegex(ref strContent, @"{[^}]+?}");
|
||||
for (int i = 0; m != null && i < m.Count; i++)
|
||||
{
|
||||
string addressContent = m[i].Groups[0].Value;
|
||||
AddressBase a = new AddressBase();
|
||||
string[] addressArray = addressContent.Split(',');
|
||||
for (int j = 0; j < addressArray.Length; j++)
|
||||
{
|
||||
var itemMatch = BaseRegex.GetMatchRegex(ref addressArray[j], @"([\w\W]+?):([\w\W]+)");
|
||||
string itemname = itemMatch[0].Groups[1].Value.Replace("{", "");
|
||||
string itemvalue = itemMatch[0].Groups[2].Value.Replace("\"", "").Replace("}", "");
|
||||
if (itemname == "a")
|
||||
{
|
||||
a.Id = int.Parse(itemvalue);
|
||||
}
|
||||
if (itemname == "n")
|
||||
{
|
||||
a.Name = itemvalue;
|
||||
}
|
||||
if (itemname == "p")
|
||||
{
|
||||
a.UpId = int.Parse(itemvalue);
|
||||
}
|
||||
}
|
||||
AddressAllList.Add(a);
|
||||
if (!Addressdic.ContainsKey(a.Id))
|
||||
Addressdic.Add(a.Id, new List<AddressBase>());
|
||||
if (!Addressdic.ContainsKey(a.UpId))
|
||||
Addressdic.Add(a.UpId, new List<AddressBase>());
|
||||
Addressdic[a.UpId].Add(a);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
void readerShop()
|
||||
@@ -529,7 +488,7 @@ namespace _29WxOrder
|
||||
sb.Append("&send_order_error_msg=买手号掉线无法自动发货");
|
||||
sb.Append("&order_status_buy=5");
|
||||
sb.Append("&is_update_order=1"); // 1修改状态0不修改状态
|
||||
string urls = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string urls = BaseClass.Build29WxObjString("order&act=update");
|
||||
string htmlssss = GetHtml.PostUtf8(urls, UserLogin.GetSignaturex() + sb.ToString());
|
||||
item.send_order_error_msg = "买手号掉线无法自动发货";
|
||||
item.order_status_buy = 5;
|
||||
@@ -546,7 +505,7 @@ namespace _29WxOrder
|
||||
sb.Append("&order_status_buy=5");
|
||||
sb.Append("&is_update_order=1"); // 1修改状态0不修改状态
|
||||
sb.Append("&send_order_error_msg=" + newErrorText);
|
||||
string urls = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string urls = BaseClass.Build29WxObjString("order&act=update");
|
||||
string htmlssss = GetHtml.PostUtf8(urls, UserLogin.GetSignaturex() + sb.ToString());
|
||||
item.send_order_error_msg = newErrorText;
|
||||
sendOrderForms.SetOrderEditShowInDgvRows(item, 1);
|
||||
@@ -566,7 +525,7 @@ namespace _29WxOrder
|
||||
sb.Append("&express_no=" + trackingNumber);
|
||||
item.express_name = shippingName;
|
||||
item.express_no = trackingNumber;
|
||||
string urls = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string urls = BaseClass.Build29WxObjString("order&act=update");
|
||||
string param = UserLogin.GetSignaturex() + sb.ToString();
|
||||
string htmlssss = GetHtml.PostUtf8(urls, param);
|
||||
}
|
||||
@@ -607,7 +566,7 @@ namespace _29WxOrder
|
||||
sb.Append("&order_status_buy=5");
|
||||
sb.Append("&is_update_order=1"); // 1修改状态0不修改状态
|
||||
item.order_status_buy = 0;
|
||||
string urls = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string urls = BaseClass.Build29WxObjString("order&act=update");
|
||||
string htmlssss = GetHtml.PostUtf8(urls, UserLogin.GetSignaturex() + sb.ToString());
|
||||
item.send_order_error_msg = "买手号掉线无法自动发货";
|
||||
item.order_status_buy = 5;
|
||||
@@ -663,7 +622,7 @@ namespace _29WxOrder
|
||||
sb.Append("&order_status_buy=5");
|
||||
sb.Append("&is_update_order=1"); // 1修改状态0不修改状态
|
||||
item.order_status_buy = 0;
|
||||
string urls = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string urls = BaseClass.Build29WxObjString("order&act=update");
|
||||
string htmlssss = GetHtml.PostUtf8(urls, UserLogin.GetSignaturex() + sb.ToString());
|
||||
item.send_order_error_msg = "买手号掉线无法自动发货";
|
||||
item.order_status_buy = 5;
|
||||
@@ -744,7 +703,7 @@ namespace _29WxOrder
|
||||
item.express_name = expressbase.name;
|
||||
item.express_no = trackingNumber;
|
||||
//CollectionClass.orderSenderDataList.RemoveAll(x => x.order_id == item.order_id);
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string url = BaseClass.Build29WxObjString("order&act=update");
|
||||
string param = UserLogin.GetSignaturex() + sb.ToString();
|
||||
string htmlsss = GetHtml.PostUtf8(url, param);
|
||||
CollectionClass.orderSenderDataList.Remove(item);
|
||||
@@ -767,7 +726,7 @@ namespace _29WxOrder
|
||||
item.express_no = trackingNumber;
|
||||
item.send_order_error_msg = JObject.Parse(html)["sub_msg"].ToString();
|
||||
item.order_status_buy = 0;
|
||||
string urls = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string urls = BaseClass.Build29WxObjString("order&act=update");
|
||||
string param = UserLogin.GetSignaturex() + sb.ToString();
|
||||
string htmlssss = GetHtml.PostUtf8(urls, param);
|
||||
sendOrderForms.SetOrderEditShowInDgvRows(item, 2);
|
||||
@@ -786,7 +745,7 @@ namespace _29WxOrder
|
||||
item.express_no = trackingNumber;
|
||||
item.send_order_error_msg = JObject.Parse(html)["sub_msg"].ToString();
|
||||
item.order_status_buy = 5;
|
||||
string urls = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string urls = BaseClass.Build29WxObjString("order&act=update");
|
||||
string param = UserLogin.GetSignaturex() + sb.ToString();
|
||||
string htmlssss = GetHtml.PostUtf8(urls, param);
|
||||
sendOrderForms.SetOrderEditShowInDgvRows(item, 1);
|
||||
@@ -804,7 +763,7 @@ namespace _29WxOrder
|
||||
sb.Append("&order_status_buy=0");
|
||||
sb.Append("&is_update_order=1");//1修改状态0不修改状态
|
||||
item.order_status_buy = 0;
|
||||
string urls = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string urls = BaseClass.Build29WxObjString("order&act=update");
|
||||
string htmlssss = GetHtml.PostUtf8(urls, UserLogin.GetSignaturex() + sb.ToString());
|
||||
sendOrderForms.SetOrderEditShowInDgvRows(item, 2);
|
||||
}
|
||||
@@ -887,7 +846,7 @@ namespace _29WxOrder
|
||||
ordermodel.express_name = expname;
|
||||
ordermodel.express_no = expno;
|
||||
//CollectionClass.orderSenderDataList.RemoveAll(x => x.order_id == item.order_id);
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string url = BaseClass.Build29WxObjString("order&act=update");
|
||||
string htmlsss = GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
if (type == 1)
|
||||
{
|
||||
@@ -920,7 +879,7 @@ namespace _29WxOrder
|
||||
ordermodel.order_status_buy = 0;
|
||||
ordermodel.express_name = expname;
|
||||
ordermodel.express_no = expno;
|
||||
string urls = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string urls = BaseClass.Build29WxObjString("order&act=update");
|
||||
string htmlssss = GetHtml.PostUtf8(urls, UserLogin.GetSignaturex() + sb.ToString());
|
||||
|
||||
if (type == 1)
|
||||
@@ -949,7 +908,7 @@ namespace _29WxOrder
|
||||
ordermodel.order_status_buy = 5;
|
||||
ordermodel.express_name = expname;
|
||||
ordermodel.express_no = expno;
|
||||
string urls = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string urls = BaseClass.Build29WxObjString("order&act=update");
|
||||
string htmlssss = GetHtml.PostUtf8(urls, UserLogin.GetSignaturex() + sb.ToString());
|
||||
if (type == 1)
|
||||
{
|
||||
@@ -1639,7 +1598,7 @@ namespace _29WxOrder
|
||||
sb.Append("&decrypt_status=1");
|
||||
}
|
||||
sb.Append("&is_update_order=0");//1修改状态0不修改状态
|
||||
string updateUrl = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string updateUrl = BaseClass.Build29WxObjString("order&act=update");
|
||||
string htmjg = GetHtml.PostUtf8(updateUrl, UserLogin.GetSignaturex() + sb.ToString());
|
||||
|
||||
if (orderFrom == "sendOrder")
|
||||
@@ -1784,7 +1743,7 @@ namespace _29WxOrder
|
||||
{
|
||||
Task.Run(() =>
|
||||
{
|
||||
//string url = BaseClass.DouYinBuildObjString("user_login_cookies&act=douyin_buy_in_get");
|
||||
//string url = BaseClass.Build29WxObjString("user_login_cookies&act=douyin_buy_in_get");
|
||||
//string htmlsss = GetHtml.PostUtf8(url, UserLogin.GetSignaturex());
|
||||
//if (htmlsss != "")
|
||||
//{
|
||||
@@ -2010,7 +1969,7 @@ namespace _29WxOrder
|
||||
sb.Append("&order_id=" + orderModel.order_id);
|
||||
sb.Append("&commission=" + orderModel.commission);//佣金
|
||||
sb.Append("&commission_scale=" + orderModel.commission_scale);//佣金比例
|
||||
var urlx = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
var urlx = BaseClass.Build29WxObjString("order&act=update");
|
||||
GetHtml.PostUtf8(urlx, UserLogin.GetSignaturex() + sb.ToString());
|
||||
Thread.Sleep(500);
|
||||
|
||||
@@ -2069,7 +2028,8 @@ namespace _29WxOrder
|
||||
isJuLiangLoadEnd = false;
|
||||
Task.Run(() =>
|
||||
{
|
||||
BaseMsgForm.ShowError("未登录");
|
||||
//BaseMsgForm.ShowError("巨量百应未登录");
|
||||
//BaseMsgForm.ShowError("未登录");
|
||||
});
|
||||
}
|
||||
|
||||
@@ -2114,7 +2074,7 @@ namespace _29WxOrder
|
||||
sb.Append("&order_id=" + cos_ratio_order_Model.order_id);
|
||||
sb.Append("&commission=" + cos_ratio_order_Model.commission);
|
||||
sb.Append("&commission_scale=" + cos_ratio_order_Model.commission_scale);
|
||||
string urlcom = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string urlcom = BaseClass.Build29WxObjString("order&act=update");
|
||||
GetHtml.PostUtf8(urlcom, UserLogin.GetSignaturex() + sb.ToString());
|
||||
}
|
||||
}
|
||||
@@ -2200,7 +2160,7 @@ namespace _29WxOrder
|
||||
int page = 0;
|
||||
|
||||
#region 获取上次读取订单截止时间作为本次读取开始时间
|
||||
url = BaseClass.DouYinBuildObjString("shop&act=get_shop_pull_time");
|
||||
url = BaseClass.Build29WxObjString("shop&act=get_shop_pull_time");
|
||||
string data = UserLogin.GetSignaturex() + "&shop_id=" + shop.ShopId;
|
||||
string shopReadtimejson = GetHtml.PostUtf8(url, data);
|
||||
if (shopReadtimejson != "" && JObject.Parse(shopReadtimejson)["code"].ToString() == "200")
|
||||
@@ -2387,7 +2347,7 @@ namespace _29WxOrder
|
||||
//sb.Append("&buyer_mobile=");
|
||||
//sb.Append("&remark=" + item.seller_words);
|
||||
//sb.Append("&is_update_order=0");//1修改状态0不修改状态
|
||||
url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
url = BaseClass.Build29WxObjString("order&act=update");
|
||||
System.Diagnostics.Stopwatch watch = new System.Diagnostics.Stopwatch();
|
||||
watch.Start(); //开始监视代码运行时间
|
||||
GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
@@ -2421,7 +2381,7 @@ namespace _29WxOrder
|
||||
}
|
||||
|
||||
// 读取完当前店铺更新最后读取时间以供下次读取开始
|
||||
url = BaseClass.DouYinBuildObjString("shop&act=update_shop_pull_time");
|
||||
url = BaseClass.Build29WxObjString("shop&act=update_shop_pull_time");
|
||||
shopReadtimejson = GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + "&shop_id=" + shop.ShopId +
|
||||
"&pull_time=" + BaseClass.DateTimeToTimestampSeconds(nextReadOrderDateTime));
|
||||
}
|
||||
@@ -2468,7 +2428,7 @@ namespace _29WxOrder
|
||||
while (true)
|
||||
{
|
||||
page++;
|
||||
var url = BaseClass.DouYinBuildObjString("shop&act=get_shop_list");
|
||||
var url = BaseClass.Build29WxObjString("shop&act=get_shop_list");
|
||||
var data = UserLogin.GetSignaturex() + "&page=" + page;
|
||||
var html = GetHtml.PostUtf8(url, data);
|
||||
while (string.IsNullOrEmpty(html))
|
||||
@@ -2499,7 +2459,7 @@ namespace _29WxOrder
|
||||
shop.Password = BaseRegex.GetStringJson(ref shopStr, "password");
|
||||
shop.ShopId = BaseRegex.GetStringJson(ref shopStr, "shop_id");
|
||||
|
||||
url = BaseClass.DouYinBuildObjString("shop&act=get_shop_token");
|
||||
url = BaseClass.Build29WxObjString("shop&act=get_shop_token");
|
||||
data = UserLogin.GetSignaturex() + "&shop_id=" + shop.ShopId;
|
||||
|
||||
string htmltoken = GetHtml.PostUtf8(url, data, "", 5);
|
||||
@@ -2599,7 +2559,7 @@ namespace _29WxOrder
|
||||
|
||||
#region 读取服务端子账号列表用于订单分配
|
||||
//------------------------------------
|
||||
string url = BaseClass.DouYinBuildObjString("shop&act=get_shop_user_sub_group");
|
||||
string url = BaseClass.Build29WxObjString("shop&act=get_shop_user_sub_group");
|
||||
var param = UserLogin.GetSignaturex() + "&group_id=9";
|
||||
string subUserIdResult = GetHtml.PostUtf8(url, param);
|
||||
for (int i = 0; i < 10 && !subUserIdResult.Contains("\"code\":200"); i++)
|
||||
@@ -2650,14 +2610,14 @@ namespace _29WxOrder
|
||||
/// <param name="shopNames">店铺名称,逗号隔开</param>
|
||||
public static string GetServerShopCookies(string shopNames)
|
||||
{
|
||||
var url = BaseClass.DouYinBuildObjString("shop&act=get_shop_cookie");
|
||||
var url = BaseClass.Build29WxObjString("shop&act=get_shop_cookie");
|
||||
var data = UserLogin.GetSignaturex() + "&shop_name=" + shopNames.Trim(',');
|
||||
var result = GetHtml.PostUtf8(url, data);
|
||||
return result;
|
||||
}
|
||||
public static string GetServerShopTokens(string shopIds)
|
||||
{
|
||||
var url = BaseClass.DouYinBuildObjString("shop&act=get_shop_token");
|
||||
var url = BaseClass.Build29WxObjString("shop&act=get_shop_token");
|
||||
var data = UserLogin.GetSignaturex() + "&shop_id=" + shopIds.Trim(',');
|
||||
var result = GetHtml.PostUtf8(url, data);
|
||||
return result;
|
||||
@@ -2669,7 +2629,7 @@ namespace _29WxOrder
|
||||
for (int i = 0; i < shoplists.Count; i++)
|
||||
{
|
||||
DouShopLoginInfo doushop = shoplists[i];
|
||||
var url = BaseClass.DouYinBuildObjString("authorization&act=order_author");
|
||||
var url = BaseClass.Build29WxObjString("authorization&act=order_author");
|
||||
var data = UserLogin.GetSignaturex() + "×tamp=" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "&shop_id=" + doushop.ShopId;
|
||||
var result = GetHtml.PostUtf8(url, data);
|
||||
|
||||
@@ -2783,7 +2743,7 @@ namespace _29WxOrder
|
||||
request.KeepAlive = true;
|
||||
request.Headers.Add("sec-ch-ua", @""" Not;A Brand"";v=""99"", ""Google Chrome"";v=""91"", ""Chromium"";v=""91""");
|
||||
request.Headers.Add("sec-ch-ua-mobile", @"?0");
|
||||
request.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36";
|
||||
request.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36";
|
||||
request.Accept = "*/*";
|
||||
request.Headers.Add("Sec-Fetch-Site", @"same-origin");
|
||||
request.Headers.Add("Sec-Fetch-Mode", @"cors");
|
||||
@@ -2821,7 +2781,7 @@ namespace _29WxOrder
|
||||
#region 买手号
|
||||
public void GetServiceBuyUsers()
|
||||
{
|
||||
string url = BaseClass.DouYinBuildObjString("user_login_cookies");
|
||||
string url = BaseClass.Build29WxObjString("user_login_cookies");
|
||||
string data = "&act=get&site_id=99";
|
||||
string html = GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + data);
|
||||
if (html == "")
|
||||
@@ -3065,7 +3025,7 @@ namespace _29WxOrder
|
||||
// 拼多多批发店铺买手保存在本地,无需服务端记录
|
||||
if (site_id != 7)
|
||||
{
|
||||
string url = BaseClass.DouYinBuildObjString("user_login_cookies&act=delete");
|
||||
string url = BaseClass.Build29WxObjString("user_login_cookies&act=delete");
|
||||
string data = UserLogin.GetSignaturex() + "&site_id=" + site_id + "&user_name=" + name;
|
||||
string html = GetHtml.PostUtf8(url, data);
|
||||
code = JObject.Parse(html)["code"].ToString();
|
||||
@@ -3150,7 +3110,7 @@ namespace _29WxOrder
|
||||
sb.Append("&remark=" + remark);
|
||||
sb.Append("&seller_star=" + color);
|
||||
sb.Append("&is_update_order=0");//1修改状态0不修改状态
|
||||
string upjmurl = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string upjmurl = BaseClass.Build29WxObjString("order&act=update");
|
||||
string param = UserLogin.GetSignaturex() + sb.ToString();
|
||||
string html = GetHtml.PostUtf8(upjmurl, param);
|
||||
if (html == null || !html.Contains("\"code\":200"))
|
||||
@@ -3706,7 +3666,7 @@ namespace _29WxOrder
|
||||
sb.Append("&order_id=" + arrTmp[i]);
|
||||
sb.Append("&order_status_buy=" + 0);
|
||||
sb.Append("&is_update_order=1"); // 1修改状态0不修改状态
|
||||
string upjmurl = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string upjmurl = BaseClass.Build29WxObjString("order&act=update");
|
||||
string html = GetHtml.PostUtf8(upjmurl, UserLogin.GetSignaturex() + sb.ToString());
|
||||
string code = JObject.Parse(html)["code"].ToString();
|
||||
|
||||
|
||||
+3837
-1138
File diff suppressed because it is too large.
Load diff
@@ -92,13 +92,13 @@ namespace _29WxOrder.MyControl
|
||||
lblSort = new Label() { ForeColor = Color.White, BackColor = Color.Transparent, AutoSize = true, };
|
||||
this.Controls.Add(lblSort);
|
||||
|
||||
this.ColumnWidthChanged += (s, e) => onColResize();
|
||||
this.ColumnHeadersHeightChanged += (s, e) => onColResize();
|
||||
this.Scroll += (s, e) => onColResize();
|
||||
this.Resize += (s, e) => onColResize();
|
||||
this.Sorted += (s, e) => onColResize();
|
||||
this.RowHeadersWidthChanged += (s, e) => onColResize();
|
||||
this.ColumnStateChanged += (s, e) => onColResize();
|
||||
this.ColumnWidthChanged += (s, e1) => onColResize();
|
||||
this.ColumnHeadersHeightChanged += (s, e1) => onColResize();
|
||||
this.Scroll += (s, e1) => onColResize();
|
||||
this.Resize += (s, e1) => onColResize();
|
||||
this.Sorted += (s, e1) => onColResize();
|
||||
this.RowHeadersWidthChanged += (s, e1) => onColResize();
|
||||
this.ColumnStateChanged += (s, e1) => onColResize();
|
||||
}
|
||||
|
||||
if (colSort != null && colSort != this.Columns[e.ColumnIndex])
|
||||
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
|
||||
namespace TemuKJD.UserComponent
|
||||
{
|
||||
partial class UcCheckBox
|
||||
{
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 清理所有正在使用的资源。
|
||||
/// </summary>
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region 组件设计器生成的代码
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要修改
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
components = new System.ComponentModel.Container();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,165 @@
|
||||
using AllBase.Helper;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Drawing2D;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace TemuKJD.UserComponent
|
||||
{
|
||||
public partial class UcCheckBox : CheckBox
|
||||
{
|
||||
public UcCheckBox()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.CheckBoxCheckColor = GlobalConfig.MainColor;
|
||||
this.CheckBoxBorderColor = GlobalConfig.BorderColor;
|
||||
}
|
||||
|
||||
public UcCheckBox(IContainer container)
|
||||
{
|
||||
container.Add(this);
|
||||
this.CheckBoxCheckColor = GlobalConfig.MainColor;
|
||||
this.CheckBoxBorderColor = GlobalConfig.BorderColor;
|
||||
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private int checkBoxSize = 12;
|
||||
public Color CheckBoxColor = Color.White;
|
||||
public Color CheckBoxCheckColor = GlobalConfig.DefaultMainColor;
|
||||
public Color CheckBoxBorderColor = GlobalConfig.DefaultBorderColor;
|
||||
|
||||
protected override void OnPaint(PaintEventArgs e)
|
||||
{
|
||||
//base.OnPaint(e); // 禁用系统绘制全部
|
||||
base.OnPaintBackground(e); // 使用系统绘制背景
|
||||
|
||||
//if (e.ClipRectangle.X != 0 || e.ClipRectangle.Y != 0)
|
||||
// return;
|
||||
|
||||
Graphics g = e.Graphics;
|
||||
//g.Clear(this.CheckBoxColor);
|
||||
|
||||
//填充背景色
|
||||
//g.FillRectangle(new SolidBrush(this.BackColor), e.ClipRectangle);
|
||||
g.FillRectangle(new SolidBrush(this.BackColor), this.ClientRectangle);
|
||||
|
||||
Size size = TextRenderer.MeasureText(this.Text, Font);
|
||||
e.Graphics.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; // 或者 AntiAliasGridFit // 平滑字体
|
||||
//e.Graphics.DrawString(this.Text, Font, new SolidBrush(this.ForeColor),
|
||||
// new PointF(e.ClipRectangle.X + checkBoxSize + 2 + Padding.Left, e.ClipRectangle.Y + (Height - size.Height) / 2));
|
||||
e.Graphics.DrawString(this.Text, Font, new SolidBrush(this.ForeColor),
|
||||
new PointF(this.ClientRectangle.X + checkBoxSize + 2 + Padding.Left, this.ClientRectangle.Y + (Height - size.Height) / 2));
|
||||
|
||||
Rectangle rt = new Rectangle();
|
||||
rt.X = 0;
|
||||
rt.Y = (Height - checkBoxSize) / 2;
|
||||
rt.Width = checkBoxSize;
|
||||
rt.Height = checkBoxSize;
|
||||
|
||||
if (this.Enabled == false)
|
||||
DrawCheckBoxIcon(g, rt, this.Checked, Color.LightGray, Color.DarkGray, Color.Gray);
|
||||
else
|
||||
DrawCheckBoxIcon(g, rt, this.Checked, this.CheckBoxColor, this.CheckBoxCheckColor, this.CheckBoxBorderColor);
|
||||
}
|
||||
|
||||
public static void DrawCheckBoxIcon(Graphics g, Rectangle rt, bool isChecked, Color checkBoxColor, Color checkBoxCheckColor, Color checkBoxBorderColor)
|
||||
{
|
||||
//绘制圆形(注释此句,以备后用)
|
||||
//Brush brush = new SolidBrush(this.Checked ? checkBoxCheckColor : checkBoxColor);
|
||||
//g.FillEllipse(brush, 0, (Height - checkBoxSize) / 2, checkBoxSize, checkBoxSize); // 绘制圆形按钮
|
||||
|
||||
Color color = isChecked ? checkBoxCheckColor : checkBoxColor;
|
||||
|
||||
if (isChecked)
|
||||
{
|
||||
DrawRoundedRectangle(g, rt, 2, color, true);
|
||||
DrawRoundedRectangle(g, rt, 2, checkBoxBorderColor);
|
||||
|
||||
// 绘制勾号
|
||||
Pen p = new Pen(Color.FromArgb(220, 255, 255, 255), 1);
|
||||
//g.DrawLine(Pens.SkyBlue, rt.X + 3, rt.Y + 6, rt.X + 5, rt.Y + 8);
|
||||
//g.DrawLine(Pens.SkyBlue, rt.X + 5, rt.Y + 8, rt.X + 9, rt.Y + 4);
|
||||
g.DrawLine(p, rt.X + 3, rt.Y + 5, rt.X + 5, rt.Y + 7);
|
||||
g.DrawLine(p, rt.X + 5, rt.Y + 7, rt.X + 9, rt.Y + 3);
|
||||
g.DrawLine(p, rt.X + 3, rt.Y + 6, rt.X + 5, rt.Y + 8);
|
||||
g.DrawLine(p, rt.X + 5, rt.Y + 8, rt.X + 9, rt.Y + 4);
|
||||
g.DrawLine(p, rt.X + 3, rt.Y + 7, rt.X + 5, rt.Y + 9);
|
||||
g.DrawLine(p, rt.X + 5, rt.Y + 9, rt.X + 9, rt.Y + 5);
|
||||
}
|
||||
else
|
||||
{
|
||||
DrawRoundedRectangle(g, rt, 3, color, true);
|
||||
DrawRoundedRectangle(g, rt, 3, checkBoxBorderColor);
|
||||
}
|
||||
}
|
||||
|
||||
public static void DrawRoundedRectangle(Graphics g, Rectangle rect, int radius, Color color, bool isFill = false)
|
||||
{
|
||||
using (GraphicsPath path = new GraphicsPath())
|
||||
{
|
||||
path.StartFigure();
|
||||
path.AddArc(rect.X, rect.Y, radius * 2, radius * 2, 180, 90); // Upper left corner
|
||||
path.AddArc(rect.Right - radius * 2, rect.Y, radius * 2, radius * 2, 270, 90); // Upper right corner
|
||||
path.AddArc(rect.Right - radius * 2, rect.Bottom - radius * 2, radius * 2, radius * 2, 0, 90); // Lower right corner
|
||||
path.AddArc(rect.X, rect.Bottom - radius * 2, radius * 2, radius * 2, 90, 90); // Lower left corner
|
||||
path.CloseFigure();
|
||||
//g.FillPath(Brushes.LightBlue, path);
|
||||
if (isFill)
|
||||
g.FillPath(new SolidBrush(color), path); // Fill the rounded rectangle
|
||||
else
|
||||
g.DrawPath(new Pen(color), path);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
protected override void OnDrawItem(DrawItemEventArgs e)
|
||||
{
|
||||
//int ItemsCount = Items.Count;
|
||||
//Rectangle rect = new Rectangle(0, 0, e.Bounds.Width, e.Bounds.Height * ItemsCount);
|
||||
e.Graphics.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
|
||||
|
||||
//// 绘制下拉框背景
|
||||
//e.Graphics.FillRectangle(new SolidBrush(_BoxCenterColor), rect);
|
||||
//// 绘制下拉框边框
|
||||
//e.Graphics.DrawRectangle(new Pen(new SolidBrush(_BorderColor)), rect);
|
||||
//// 绘制选中文字背景
|
||||
//for (int i = 0; i < Items.Count; i++)
|
||||
//{
|
||||
// if (SelectedItem != null)
|
||||
// {
|
||||
// if (SelectedItem.ToString() == Items[i].ToString())
|
||||
// {
|
||||
// Rectangle rectSel = new Rectangle(1, e.Bounds.Height * (SelectedIndex), e.Bounds.Width - 2, e.Bounds.Height - 2);
|
||||
// e.Graphics.FillRectangle(new SolidBrush(Color.White), rectSel);
|
||||
// }
|
||||
// }
|
||||
// // 绘制文字
|
||||
// e.Graphics.DrawString(Items[i].ToString(), Font, new SolidBrush(_FontColor), new PointF(0, i * (e.Bounds.Height == 0 ? 16 : e.Bounds.Height)));
|
||||
//}
|
||||
|
||||
if (e.Index >= 0)
|
||||
{
|
||||
e.Graphics.FillRectangle(new SolidBrush(_BoxCenterColor), e.Bounds);
|
||||
if ((e.State & DrawItemState.Focus) == DrawItemState.Focus || (e.State & DrawItemState.Selected) == DrawItemState.Selected)
|
||||
{
|
||||
// 设置鼠标悬浮ComboBox的item的背景色
|
||||
e.Graphics.FillRectangle(Brushes.White, e.Bounds);
|
||||
}
|
||||
else if (((e.State & DrawItemState.ComboBoxEdit) != DrawItemState.ComboBoxEdit))
|
||||
{
|
||||
// 默认背景
|
||||
e.Graphics.FillRectangle(new SolidBrush(e.BackColor), e.Bounds);
|
||||
}
|
||||
// 绘制文字
|
||||
e.Graphics.DrawString(Items[e.Index].ToString(), Font, new SolidBrush(_FontColor), new PointF(e.Bounds.X, e.Bounds.Y));
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
@@ -316,7 +316,7 @@ namespace _29WxOrder.OrderForms
|
||||
sb.Append("&order_status_buy=4");
|
||||
sb.Append("&order_refund_status_buy=" + order_refund_status_buy);
|
||||
sb.Append("&is_update_order=1"); // 1修改状态0不修改状态
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string url = BaseClass.Build29WxObjString("order&act=update");
|
||||
var result = GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
|
||||
LstFinishedOrderId.Add(afterSale.aftersale_info.aftersale_id);
|
||||
@@ -477,7 +477,7 @@ namespace _29WxOrder.OrderForms
|
||||
sb.Append("&order_status_buy=4");
|
||||
sb.Append("&order_refund_status_buy=" + order_refund_status_buy);
|
||||
sb.Append("&is_update_order=1"); // 1修改状态0不修改状态
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string url = BaseClass.Build29WxObjString("order&act=update");
|
||||
var result = GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
var order_buy_msg = order_buy_error_msg;
|
||||
if (string.IsNullOrEmpty(order_buy_msg) || order_refund_status_buy == "2")
|
||||
@@ -768,7 +768,7 @@ namespace _29WxOrder.OrderForms
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("&order_id=" + orderid);
|
||||
sb.Append("&order_status=" + JObject.Parse(htmljm)["data"]["shop_order_detail"]["order_status"].ToString());
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string url = BaseClass.Build29WxObjString("order&act=update");
|
||||
GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
|
||||
int order_status = Convert.ToInt32(JObject.Parse(htmljm)["data"]["shop_order_detail"]["order_status"].ToString());
|
||||
@@ -805,7 +805,7 @@ namespace _29WxOrder.OrderForms
|
||||
|
||||
sb = new StringBuilder();
|
||||
sb.Append("&order_id=" + orderid);
|
||||
string upjmurl = BaseClass.DouYinBuildObjString("order&act=get_detail");
|
||||
string upjmurl = BaseClass.Build29WxObjString("order&act=get_detail");
|
||||
string html = GetHtml.PostUtf8(upjmurl, UserLogin.GetSignaturex() + sb.ToString());
|
||||
string data = JObject.Parse(html)["data"].ToString();
|
||||
DouYinOrderModel douYinOrderModel = JsonConvert.DeserializeObject<DouYinOrderModel>(data.Replace("\r\n", ""));
|
||||
@@ -963,7 +963,7 @@ namespace _29WxOrder.OrderForms
|
||||
|
||||
var sb = new StringBuilder();
|
||||
sb.Append("&order_id=" + orderId);
|
||||
string url_detail = BaseClass.DouYinBuildObjString("order&act=get_detail");
|
||||
string url_detail = BaseClass.Build29WxObjString("order&act=get_detail");
|
||||
string html_detail = GetHtml.PostUtf8(url_detail, UserLogin.GetSignaturex() + sb.ToString());
|
||||
if (html_detail.Contains("\"code\":200"))
|
||||
{
|
||||
@@ -992,7 +992,7 @@ namespace _29WxOrder.OrderForms
|
||||
}
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("&order_id=" + orderid);
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=get_detail");
|
||||
string url = BaseClass.Build29WxObjString("order&act=get_detail");
|
||||
string param = UserLogin.GetSignaturex() + sb.ToString();
|
||||
string html = GetHtml.PostUtf8(url, param);
|
||||
string data = JObject.Parse(html)["data"].ToString();
|
||||
|
||||
@@ -18,7 +18,7 @@ using Work.BaseForms;
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
|
||||
public partial class AfterSaleReturnRefundForm : BaseForm
|
||||
public partial class AfterSaleReturnRefundForm : BaseGeneralForm
|
||||
{
|
||||
public static List<AddressProvince> lstProvince = new List<AddressProvince>();
|
||||
public static List<AddressArea> lstArea = new List<AddressArea>();
|
||||
|
||||
@@ -11,7 +11,7 @@ using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
public partial class Bu_YinBowerForm : BaseForm
|
||||
public partial class Bu_YinBowerForm : BaseGeneralForm
|
||||
{
|
||||
public Bu_YinBowerForm()
|
||||
{
|
||||
|
||||
@@ -27,7 +27,7 @@ using Work.Pinduoduo;
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
public partial class BuyOrderForms : BaseForm
|
||||
public partial class BuyOrderForms : BaseGeneralForm
|
||||
{
|
||||
public string datajsons = "";
|
||||
public BuyOrderForms()
|
||||
@@ -691,9 +691,9 @@ namespace _29WxOrder.OrderForms
|
||||
if (GlobalConfig.SystemSettings.IsUseMultiBuyer)
|
||||
{
|
||||
multiUserCookie.times = multiUserCookie.times - 1;
|
||||
string url = BaseClass.DouYinBuildObjString("pdd_user_cookies&act=update");
|
||||
string url1 = BaseClass.Build29WxObjString("pdd_user_cookies&act=update");
|
||||
string param = UserLogin.GetSignaturex() + "&pdd_user_id=" + multiUserCookie.pdd_user_id + "×=" + multiUserCookie.times;
|
||||
string html = GetHtml.PostUtf8(url, param);
|
||||
string html = GetHtml.PostUtf8(url1, param);
|
||||
}
|
||||
|
||||
order_id_buy = HttpUtility.GetQueryString("order_sn", url);
|
||||
@@ -763,9 +763,9 @@ namespace _29WxOrder.OrderForms
|
||||
if (GlobalConfig.SystemSettings.IsUseMultiBuyer)
|
||||
{
|
||||
multiUserCookie.times = multiUserCookie.times - 1;
|
||||
string url = BaseClass.DouYinBuildObjString("pdd_user_cookies&act=update");
|
||||
string param = UserLogin.GetSignaturex() + "&pdd_user_id=" + multiUserCookie.pdd_user_id + "×=" + multiUserCookie.times;
|
||||
string html = GetHtml.PostUtf8(url, param);
|
||||
var url1 = BaseClass.Build29WxObjString("pdd_user_cookies&act=update");
|
||||
var param = UserLogin.GetSignaturex() + "&pdd_user_id=" + multiUserCookie.pdd_user_id + "×=" + multiUserCookie.times;
|
||||
var html1 = GetHtml.PostUtf8(url1, param);
|
||||
}
|
||||
order_id_buy = order_sn;
|
||||
PayAmount = tbproductjj.Text;
|
||||
@@ -1041,7 +1041,7 @@ namespace _29WxOrder.OrderForms
|
||||
|
||||
CollectionClass.orderDataList.RemoveAll(x => x.order_id == orderDetail.order_id);
|
||||
CollectionClass.orderSenderDataList.Add(orderDetail);
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string url = BaseClass.Build29WxObjString("order&act=update");
|
||||
string param = UserLogin.GetSignaturex() + sb.ToString();
|
||||
string html = GetHtml.PostUtf8(url, param);
|
||||
for (int i = 0; i < 10 && (html == null || !html.Contains("\"code\":200")); i++)
|
||||
@@ -3044,7 +3044,7 @@ namespace _29WxOrder.OrderForms
|
||||
if (GlobalConfig.SystemSettings.IsUseMultiBuyer && GlobalConfig.LstMultiBuyer != null && multiUserCookie != null)
|
||||
{
|
||||
multiUserCookie.times = multiUserCookie.times - 1;
|
||||
string url = BaseClass.DouYinBuildObjString("pdd_user_cookies&act=update");
|
||||
string url = BaseClass.Build29WxObjString("pdd_user_cookies&act=update");
|
||||
string param = UserLogin.GetSignaturex() + "&pdd_user_id=" + multiUserCookie.pdd_user_id + "×=" + multiUserCookie.times;
|
||||
string html = GetHtml.PostUtf8(url, param);
|
||||
|
||||
@@ -3190,7 +3190,7 @@ namespace _29WxOrder.OrderForms
|
||||
int areaid = 0;
|
||||
|
||||
//获取省的编号
|
||||
foreach (AddressBase item in mainform.AddressAllList)
|
||||
foreach (AddressBase item in AddressSetIni.AddressAllList)
|
||||
{
|
||||
if (item.Name.Contains(prov))
|
||||
{
|
||||
@@ -3198,7 +3198,7 @@ namespace _29WxOrder.OrderForms
|
||||
break;
|
||||
}
|
||||
}
|
||||
provid = mainform.AddressAllList.Find(x => x != null && x.Name.Contains(prov)).Id;
|
||||
provid = AddressSetIni.AddressAllList.Find(x => x != null && x.Name.Contains(prov)).Id;
|
||||
if (provid == 0)
|
||||
{
|
||||
MessageBox.Show("省份识别失败,请手动填写地址", "提示");
|
||||
@@ -3206,7 +3206,7 @@ namespace _29WxOrder.OrderForms
|
||||
}
|
||||
|
||||
//获取市的编号
|
||||
var citys = mainform.Addressdic[provid];
|
||||
var citys = AddressSetIni.Addressdic[provid];
|
||||
AddressBase cityAddress = citys.Find(c => c != null && city.Contains(c.Name));
|
||||
if (cityAddress != null)
|
||||
{
|
||||
@@ -3223,7 +3223,7 @@ namespace _29WxOrder.OrderForms
|
||||
}
|
||||
|
||||
//获取区的编号
|
||||
var areas = mainform.Addressdic[cityid];
|
||||
var areas = AddressSetIni.Addressdic[cityid];
|
||||
AddressBase areaAddress = areas.Find(a => a != null && area.Contains(a.Name));
|
||||
if (areaAddress != null) areaid = areaAddress.Id;
|
||||
|
||||
|
||||
@@ -481,7 +481,7 @@ namespace _29WxOrder.OrderForms
|
||||
List<DouYinOrderModel> lstOrderInfo = new List<DouYinOrderModel>();
|
||||
List<DouYinOrderModel> lstNewOrderInfo = new List<DouYinOrderModel>();
|
||||
lstOrderInfo.AddRange(lst);
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=sync_order");
|
||||
string url = BaseClass.Build29WxObjString("order&act=sync_order");
|
||||
string data = UserLogin.GetSignaturex() + "¶ms=[" + orderJson.Trim(',') + "]";
|
||||
//System.Diagnostics.Stopwatch watch = new System.Diagnostics.Stopwatch();
|
||||
//watch.Start(); // 开始监视代码运行时间
|
||||
@@ -551,7 +551,7 @@ namespace _29WxOrder.OrderForms
|
||||
if (string.IsNullOrEmpty(upid))
|
||||
{
|
||||
string pid = "";
|
||||
string url = BaseClass.DouYinBuildObjString("upid&act=get");
|
||||
string url = BaseClass.Build29WxObjString("upid&act=get");
|
||||
string html = GetHtml.PostUtf8(url, "pid=" + item.productid + "&" + UserLogin.GetSignaturex());
|
||||
if (!string.IsNullOrEmpty(html))
|
||||
{
|
||||
@@ -622,7 +622,7 @@ namespace _29WxOrder.OrderForms
|
||||
void ReadServerOrder(out int count, int page = 1, int pageSize = 100, int readPages = 1)
|
||||
{
|
||||
count = 0;
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=get");
|
||||
string url = BaseClass.Build29WxObjString("order&act=get");
|
||||
|
||||
reads:
|
||||
string data = "&order_status_buy=1&page=" + (page - 1) + "&pageSize=" + pageSize;
|
||||
@@ -697,7 +697,7 @@ namespace _29WxOrder.OrderForms
|
||||
// sb.Append("&order_id=" + douYinOrderModel.order_id);
|
||||
// sb.Append("&order_status_buy=0");
|
||||
// sb.Append("&is_update_order=1");//1修改状态0不修改状态
|
||||
// string url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
// string url = BaseClass.Build29WxObjString("order&act=update");
|
||||
// GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
// }
|
||||
// else//都改为已完成
|
||||
@@ -705,7 +705,7 @@ namespace _29WxOrder.OrderForms
|
||||
// sb.Append("&order_id=" + douYinOrderModel.order_id);
|
||||
// sb.Append("&order_status_buy=0");
|
||||
// sb.Append("&is_update_order=1");//1修改状态0不修改状态
|
||||
// string url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
// string url = BaseClass.Build29WxObjString("order&act=update");
|
||||
// GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
// }
|
||||
// continue;
|
||||
@@ -1042,7 +1042,7 @@ namespace _29WxOrder.OrderForms
|
||||
sb.Append("&order_status_buy=0");
|
||||
sb.Append("&is_update_order=1"); // 1修改状态0不修改状态
|
||||
sb.Append("&remark=" + douYinOrderModel.remark);
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string url = BaseClass.Build29WxObjString("order&act=update");
|
||||
GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
CollectionClass.orderDataList.Remove(douYinOrderModel);
|
||||
SetOrderEditShowInDgvRows(douYinOrderModel, 2);
|
||||
@@ -1133,7 +1133,7 @@ namespace _29WxOrder.OrderForms
|
||||
sb.Append("&order_id=" + douYinOrderModel.order_id);
|
||||
sb.Append("&remark=" + douYinOrderModel.remark);
|
||||
sb.Append("&is_update_order=0"); // 1修改状态0不修改状态
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string url = BaseClass.Build29WxObjString("order&act=update");
|
||||
string htmjg = GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
douYinOrderModel.remark = JObject.Parse(htmljm)["data"]["shop_order_detail"]["seller_words"].ToString();
|
||||
SetOrderEditShowInDgvRows(douYinOrderModel, 1);
|
||||
@@ -1234,7 +1234,7 @@ namespace _29WxOrder.OrderForms
|
||||
sb.Append("&order_id=" + order_id);
|
||||
sb.Append("&order_status_buy=" + status);
|
||||
sb.Append("&is_update_order=1");//1修改状态0不修改状态
|
||||
string upjmurl = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string upjmurl = BaseClass.Build29WxObjString("order&act=update");
|
||||
string html = GetHtml.PostUtf8(upjmurl, UserLogin.GetSignaturex() + sb.ToString());
|
||||
string code = JObject.Parse(html)["code"].ToString();
|
||||
|
||||
@@ -1356,7 +1356,7 @@ namespace _29WxOrder.OrderForms
|
||||
@""",""created_time"":""" + orderDetail.create_time +
|
||||
@"""}";
|
||||
|
||||
var url = BaseClass.DouYinBuildObjString("phone_order&act=add");
|
||||
var url = BaseClass.Build29WxObjString("phone_order&act=add");
|
||||
string html = GetHtml.PostUtf8(url, UserLogin.GetSignaturex(true) + "¶ms=" + data);
|
||||
if (html.Contains("\"code\":200"))
|
||||
{
|
||||
@@ -1610,7 +1610,7 @@ namespace _29WxOrder.OrderForms
|
||||
}
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("&order_id=" + orderid);
|
||||
string upjmurl = BaseClass.DouYinBuildObjString("order&act=get_detail");
|
||||
string upjmurl = BaseClass.Build29WxObjString("order&act=get_detail");
|
||||
string param = UserLogin.GetSignaturex() + sb.ToString();
|
||||
string html = GetHtml.PostUtf8(upjmurl, param);
|
||||
string data = JObject.Parse(html)["data"].ToString();
|
||||
|
||||
@@ -13,7 +13,7 @@ using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
public partial class BuyOrderPifaSelectForm : BaseForm
|
||||
public partial class BuyOrderPifaSelectForm : BaseGeneralForm
|
||||
{
|
||||
public string cookies = "";
|
||||
public string sku = "";
|
||||
|
||||
@@ -12,7 +12,7 @@ using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
public partial class DgvHeaderEditForm : BaseForm
|
||||
public partial class DgvHeaderEditForm : BaseGeneralForm
|
||||
{
|
||||
DataGridView dgv = null;
|
||||
public DgvHeaderEditForm(DataGridView d)
|
||||
|
||||
@@ -12,7 +12,7 @@ using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
public partial class ExpressOrderForm : BaseForm
|
||||
public partial class ExpressOrderForm : BaseGeneralForm
|
||||
{
|
||||
public ExpressOrderForm()
|
||||
{
|
||||
|
||||
@@ -18,7 +18,7 @@ using Work.BuyUsers;
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
public partial class OrderEdit : BaseForm
|
||||
public partial class OrderEdit : BaseGeneralForm
|
||||
{
|
||||
public OrderEdit()
|
||||
{
|
||||
@@ -40,7 +40,7 @@ namespace _29WxOrder.OrderForms
|
||||
{
|
||||
return;
|
||||
}
|
||||
string url = BaseClass.DouYinBuildObjString("upid&act=get");
|
||||
string url = BaseClass.Build29WxObjString("upid&act=get");
|
||||
string html = GetHtml.PostUtf8(url, "pid=" + orderDetail.product_id + "&" + UserLogin.GetSignaturex());
|
||||
var jArr = JObject.Parse(html)["data"];
|
||||
if (jArr.Count() > 0)
|
||||
@@ -171,7 +171,7 @@ namespace _29WxOrder.OrderForms
|
||||
defid = tbCustomProductId5.Text.Trim();
|
||||
sb.Append("&default_up_ids=" + tbCustomProductId5.Text.Trim());
|
||||
}
|
||||
string url = BaseClass.DouYinBuildObjString("upid&act=save");
|
||||
string url = BaseClass.Build29WxObjString("upid&act=save");
|
||||
string htmlUpid = GetHtml.PostUtf8(url, sb + "&" + UserLogin.GetSignaturex());
|
||||
|
||||
sb = new StringBuilder();
|
||||
@@ -202,7 +202,7 @@ namespace _29WxOrder.OrderForms
|
||||
string htmls = apix.AddOrderRemark();
|
||||
}
|
||||
|
||||
url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
url = BaseClass.Build29WxObjString("order&act=update");
|
||||
var result = GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
if (formtype == 1)
|
||||
{
|
||||
|
||||
@@ -18,7 +18,7 @@ using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
public partial class RemarkEditForm : BaseForm
|
||||
public partial class RemarkEditForm : BaseGeneralForm
|
||||
{
|
||||
string orderId = null;
|
||||
public string NewRemark = null;
|
||||
@@ -34,7 +34,7 @@ namespace _29WxOrder.OrderForms
|
||||
{
|
||||
var sb = new StringBuilder();
|
||||
sb.Append("&order_id=" + orderId);
|
||||
string upjmurl = BaseClass.DouYinBuildObjString("order&act=get_detail");
|
||||
string upjmurl = BaseClass.Build29WxObjString("order&act=get_detail");
|
||||
string html = GetHtml.PostUtf8(upjmurl, UserLogin.GetSignaturex() + sb.ToString());
|
||||
string data = JObject.Parse(html)["data"].ToString();
|
||||
DouYinOrderModel douYinOrderModel = JsonConvert.DeserializeObject<DouYinOrderModel>(data.Replace("\r\n", ""));
|
||||
@@ -59,7 +59,7 @@ namespace _29WxOrder.OrderForms
|
||||
sb = new StringBuilder();
|
||||
sb.Append("&order_id=" + douYinOrderModel.order_id);
|
||||
sb.Append("&remark=" + tbremark.Text);
|
||||
var url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
var url = BaseClass.Build29WxObjString("order&act=update");
|
||||
string updateServerResult = GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
|
||||
if ((updateDyResult.Contains("\"message\":\"success\"") || updateDyResult.Contains("\"code\":10000")) && updateServerResult.Contains("\"code\":200") )
|
||||
|
||||
@@ -490,7 +490,7 @@ namespace _29WxOrder.OrderForms
|
||||
sb.Append("&order_status_buy=0");
|
||||
sb.Append("&is_update_order=1"); // 1修改状态0不修改状态
|
||||
sb.Append("&remark=" + douYinOrderModel.remark);
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string url = BaseClass.Build29WxObjString("order&act=update");
|
||||
var aa = GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
CollectionClass.orderSenderDataList.Remove(douYinOrderModel);
|
||||
|
||||
@@ -577,7 +577,7 @@ namespace _29WxOrder.OrderForms
|
||||
sb.Append("&remark=" + douYinOrderModel.remark);
|
||||
sb.Append("&is_update_order=0");//1修改状态0不修改状态
|
||||
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string url = BaseClass.Build29WxObjString("order&act=update");
|
||||
string htmjg = GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
SetOrderEditShowInDgvRows(douYinOrderModel, 1);
|
||||
}
|
||||
@@ -622,7 +622,7 @@ namespace _29WxOrder.OrderForms
|
||||
}
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("&order_id=" + orderid);
|
||||
string upjmurl = BaseClass.DouYinBuildObjString("order&act=get_detail");
|
||||
string upjmurl = BaseClass.Build29WxObjString("order&act=get_detail");
|
||||
string html = GetHtml.PostUtf8(upjmurl, UserLogin.GetSignaturex() + sb.ToString());
|
||||
string data = JObject.Parse(html)["data"].ToString();
|
||||
DouYinOrderModel douYinOrderModel = JsonConvert.DeserializeObject<DouYinOrderModel>(data.Replace("\r\n", ""));
|
||||
@@ -656,7 +656,7 @@ namespace _29WxOrder.OrderForms
|
||||
sb.Append("&order_id=" + order_id);
|
||||
sb.Append("&order_status_buy=" + status);
|
||||
sb.Append("&is_update_order=1");//1修改状态0不修改状态
|
||||
string upjmurl = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string upjmurl = BaseClass.Build29WxObjString("order&act=update");
|
||||
string html = GetHtml.PostUtf8(upjmurl, UserLogin.GetSignaturex() + sb.ToString());
|
||||
string code = JObject.Parse(html)["code"].ToString();
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
public partial class SetOnceOnlyUpIdForm : BaseForm
|
||||
public partial class SetOnceOnlyUpIdForm : BaseGeneralForm
|
||||
{
|
||||
public static Dictionary<string, string> dicOnceUpId = new Dictionary<string, string>();
|
||||
public string _orderIds;
|
||||
|
||||
@@ -126,7 +126,7 @@ namespace _29WxOrder.OrderForms
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// string url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
// string url = BaseClass.Build29WxObjString("order&act=update");
|
||||
// var result = GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
// douYinOrderModel.order_status = Convert.ToInt32(oStatus);
|
||||
// }
|
||||
@@ -278,7 +278,7 @@ namespace _29WxOrder.OrderForms
|
||||
return;
|
||||
}
|
||||
isOrderReading = true;
|
||||
string url = BaseClass.ApiUrl + "/do";
|
||||
//string url = BaseClass.ApiUrl + "/do";
|
||||
Task.Run(() =>
|
||||
{
|
||||
try
|
||||
@@ -341,7 +341,7 @@ namespace _29WxOrder.OrderForms
|
||||
sb.Append("&order_id=" + successOrder.order_id);
|
||||
sb.Append("&order_status=" + successOrder.order_status);
|
||||
sb.Append("&is_comment=" + successOrder.is_comment);
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
var url = BaseClass.Build29WxObjString("order&act=update");
|
||||
var result = GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
var row = this.DgvSuccessOrderList.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["col_order_id"].Value.ToString() == successOrder.order_id);
|
||||
if (row != null)
|
||||
@@ -694,7 +694,7 @@ namespace _29WxOrder.OrderForms
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("&order_id=" + buyOrderId);
|
||||
sb.Append("&is_evaluate_status=1");
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string url = BaseClass.Build29WxObjString("order&act=update");
|
||||
GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
var item = DgvSuccessOrderList.Rows[list[0].Index];
|
||||
item.Cells["is_evaluate_status"].Value = "已催评";
|
||||
@@ -793,7 +793,7 @@ namespace _29WxOrder.OrderForms
|
||||
sb.Append("&order_id=" + order_id);
|
||||
sb.Append("&order_status_buy=" + 1);
|
||||
sb.Append("&is_update_order=1"); // 1修改状态0不修改状态
|
||||
string upjmurl = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string upjmurl = BaseClass.Build29WxObjString("order&act=update");
|
||||
string html = GetHtml.PostUtf8(upjmurl, UserLogin.GetSignaturex() + sb.ToString());
|
||||
string code = JObject.Parse(html)["code"].ToString();
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
public partial class TransitAddressForm : BaseForm
|
||||
public partial class TransitAddressForm : BaseGeneralForm
|
||||
{
|
||||
public TransitAddressForm()
|
||||
{
|
||||
|
||||
@@ -130,7 +130,7 @@ namespace _29WxOrder
|
||||
return;
|
||||
}
|
||||
string data = UserLogin.GetSignaturex() + "&agent_code=" + sOenCode;
|
||||
string url = BaseClass.DouYinBuildObjString("oem_config&act=get_version");
|
||||
string url = BaseClass.Build29WxObjString("oem_config&act=get_version");
|
||||
string html = GetHtml.PostUtf8(url, data);
|
||||
string oem_version = "0";
|
||||
|
||||
@@ -138,7 +138,7 @@ namespace _29WxOrder
|
||||
{
|
||||
oem_version = JObject.Parse(html)["data"].ToString();
|
||||
data = UserLogin.GetSignaturex() + "&agent_code=" + sOenCode;
|
||||
url = BaseClass.DouYinBuildObjString("oem_config&act=get_config_info");
|
||||
url = BaseClass.Build29WxObjString("oem_config&act=get_config_info");
|
||||
if (Convert.ToInt32(oem_version) > BaseClass.oem_version)
|
||||
{
|
||||
html = GetHtml.PostUtf8(url, data);
|
||||
|
||||
+20
@@ -270,6 +270,26 @@ namespace _29WxOrder.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap weixin_bg {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("weixin_bg", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap weixin_icon {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("weixin_icon", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
|
||||
@@ -217,4 +217,10 @@
|
||||
<data name="qrcode" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\resources\qrcode.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="weixin_bg" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\resources\weixin_bg.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="weixin_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\resources\weixin_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 9.0 KiB |
@@ -15,7 +15,7 @@ using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder
|
||||
{
|
||||
public partial class SetForm : BaseForm
|
||||
public partial class SetForm : BaseGeneralForm
|
||||
{
|
||||
public SetForm()
|
||||
{
|
||||
@@ -33,7 +33,7 @@ namespace _29WxOrder
|
||||
|
||||
GetJinBaoLink();
|
||||
|
||||
string url = BaseClass.DouYinBuildObjString("setting&act=get");
|
||||
string url = BaseClass.Build29WxObjString("setting&act=get");
|
||||
string html = GetHtml.PostUtf8(url, UserLogin.GetSignaturex());
|
||||
if (html != "")
|
||||
{
|
||||
@@ -77,7 +77,7 @@ namespace _29WxOrder
|
||||
is_read_commission = "1";
|
||||
}
|
||||
BaseClass.is_read_commission = Convert.ToInt32(is_read_commission);
|
||||
string url = BaseClass.DouYinBuildObjString("setting&act=update");
|
||||
string url = BaseClass.Build29WxObjString("setting&act=update");
|
||||
string html = GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + "¶ms={\"is_read_commission\":\""+ is_read_commission + "\"}");
|
||||
|
||||
GlobalConfig.SystemSettings.IsAutoSendOrder = chkAutoSendOrder.Checked;
|
||||
@@ -119,7 +119,7 @@ namespace _29WxOrder
|
||||
|
||||
void GetJinBaoLink()
|
||||
{
|
||||
string url = BaseClass.DouYinBuildObjString("jinbao_link&act=get");
|
||||
string url = BaseClass.Build29WxObjString("jinbao_link&act=get");
|
||||
string htmlsss = GetHtml.PostUtf8(url, UserLogin.GetSignaturex());
|
||||
this.Text = this.TitleText = "设置";
|
||||
|
||||
|
||||
Generated
+145
-8
@@ -29,31 +29,163 @@ namespace _29WxOrder.ShopForms
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OAForm));
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.btnNext = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnPrev = new DevComponents.DotNetBar.PanelEx();
|
||||
this.txtAddress = new System.Windows.Forms.TextBox();
|
||||
this.btnJump = new DevComponents.DotNetBar.PanelEx();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// pbCloseBase
|
||||
//
|
||||
this.pbCloseBase.Location = new System.Drawing.Point(766, 0);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panel1.BackColor = System.Drawing.Color.White;
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(800, 450);
|
||||
this.panel1.Size = new System.Drawing.Size(798, 387);
|
||||
this.panel1.TabIndex = 3;
|
||||
//
|
||||
// splitContainer1
|
||||
//
|
||||
this.splitContainer1.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
||||
this.splitContainer1.Location = new System.Drawing.Point(1, 33);
|
||||
this.splitContainer1.Name = "splitContainer1";
|
||||
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnJump);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.txtAddress);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnNext);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnPrev);
|
||||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.panel1);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(798, 416);
|
||||
this.splitContainer1.SplitterDistance = 25;
|
||||
this.splitContainer1.TabIndex = 4;
|
||||
//
|
||||
// btnNext
|
||||
//
|
||||
this.btnNext.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnNext.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnNext.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnNext.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnNext.Location = new System.Drawing.Point(36, 3);
|
||||
this.btnNext.Name = "btnNext";
|
||||
this.btnNext.Size = new System.Drawing.Size(32, 21);
|
||||
this.btnNext.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnNext.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnNext.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnNext.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnNext.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnNext.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnNext.Style.CornerDiameter = 3;
|
||||
this.btnNext.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.btnNext.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnNext.Style.GradientAngle = 90;
|
||||
this.btnNext.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnNext.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnNext.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnNext.TabIndex = 741;
|
||||
this.btnNext.Text = "→";
|
||||
//
|
||||
// btnPrev
|
||||
//
|
||||
this.btnPrev.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnPrev.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnPrev.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnPrev.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnPrev.Location = new System.Drawing.Point(3, 3);
|
||||
this.btnPrev.Name = "btnPrev";
|
||||
this.btnPrev.Size = new System.Drawing.Size(32, 21);
|
||||
this.btnPrev.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnPrev.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnPrev.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnPrev.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnPrev.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnPrev.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnPrev.Style.CornerDiameter = 3;
|
||||
this.btnPrev.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.btnPrev.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnPrev.Style.GradientAngle = 90;
|
||||
this.btnPrev.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnPrev.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnPrev.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnPrev.TabIndex = 742;
|
||||
this.btnPrev.Text = "←";
|
||||
//
|
||||
// txtAddress
|
||||
//
|
||||
this.txtAddress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtAddress.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.txtAddress.Location = new System.Drawing.Point(69, 2);
|
||||
this.txtAddress.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.txtAddress.Name = "txtAddress";
|
||||
this.txtAddress.Size = new System.Drawing.Size(670, 23);
|
||||
this.txtAddress.TabIndex = 13;
|
||||
//
|
||||
// btnJump
|
||||
//
|
||||
this.btnJump.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnJump.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnJump.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnJump.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnJump.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnJump.Location = new System.Drawing.Point(741, 3);
|
||||
this.btnJump.Name = "btnJump";
|
||||
this.btnJump.Size = new System.Drawing.Size(55, 21);
|
||||
this.btnJump.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnJump.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnJump.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnJump.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnJump.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnJump.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnJump.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnJump.Style.CornerDiameter = 3;
|
||||
this.btnJump.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.btnJump.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnJump.Style.GradientAngle = 90;
|
||||
this.btnJump.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnJump.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnJump.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnJump.TabIndex = 734;
|
||||
this.btnJump.Text = "跳转";
|
||||
//
|
||||
// OAForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "OAForm";
|
||||
this.Padding = new System.Windows.Forms.Padding(1);
|
||||
this.Text = "OAForm";
|
||||
this.TitleText = "OAForm";
|
||||
this.Load += new System.EventHandler(this.OAForm_Load);
|
||||
this.Controls.SetChildIndex(this.panel1, 0);
|
||||
this.Controls.SetChildIndex(this.splitContainer1, 0);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).EndInit();
|
||||
this.splitContainer1.Panel1.ResumeLayout(false);
|
||||
this.splitContainer1.Panel1.PerformLayout();
|
||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@@ -61,5 +193,10 @@ namespace _29WxOrder.ShopForms
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||
private DevComponents.DotNetBar.PanelEx btnJump;
|
||||
private System.Windows.Forms.TextBox txtAddress;
|
||||
private DevComponents.DotNetBar.PanelEx btnNext;
|
||||
private DevComponents.DotNetBar.PanelEx btnPrev;
|
||||
}
|
||||
}
|
||||
@@ -16,14 +16,15 @@ using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.ShopForms
|
||||
{
|
||||
public partial class OAForm : BaseForm
|
||||
public partial class OAForm : BaseGeneralForm
|
||||
{
|
||||
public OAForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
public ChromiumWebBrowser cefWebBrowser = null;
|
||||
public string WebUrl = "http://dd.nai8.net/?obj=public/login&act=client_login&";
|
||||
//public string WebUrl = "http://dd.nai8.net/?obj=public/login&act=client_login&";
|
||||
public string WebUrl = "https://po.e57.cn/login?redirect=%2Findex";
|
||||
private void OAForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (cefWebBrowser == null)
|
||||
@@ -71,7 +72,7 @@ namespace _29WxOrder.ShopForms
|
||||
{
|
||||
if (GetHtml.UrlDecode(arg3).Contains("登录成功"))
|
||||
{
|
||||
cefWebBrowser.Load("http://dd.nai8.net");
|
||||
//cefWebBrowser.Load("http://dd.nai8.net");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -117,4 +117,182 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAgIAQAAAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//
|
||||
AAD///8AAAAAAAAAAAAAAAAABEZmbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZkQAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAZszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMxmAAAAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMxkAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzGQAAAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMYAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAABszMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAAGzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAbMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMx3d4iIiIiIiIh3fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAAAABszMzMzMzMzMzM
|
||||
zMzMzMzMzMzHeIiIiIj/////////iIiIiId8zMzMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAAAGzMzMzMzM
|
||||
zMzMzMzMzMzMzMeIiI/////////////////////4iIh8zMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAATMzM
|
||||
zMzMzMzMzMzMzMzMzHiI////////////////////////////iIfMzMzMzMzMzMzMzMzMzMzMxAAAAAAA
|
||||
AGzMzMzMzMzMzMzMzMzMx3iP///////////////////////////////4iHzMzMzMzMzMzMzMzMzMzMYA
|
||||
AAAAAAbMzMzMzMzMzMzMzMzMx3iP//////////////////////////////////+IfMzMzMzMzMzMzMzM
|
||||
zMzMYAAAAABMzMzMzMzMzMzMzMzMx3iP/////////////////////////////////////4h8zMzMzMzM
|
||||
zMzMzMzMzMQAAAAAbMzMzMzMzMzMzMzMzHiP////////////////////////////////////////h3zM
|
||||
zMzMzMzMzMzMzMzGAAAABMzMzMzMzMzMzMzMzHiP////////////////////////////////////////
|
||||
//iHzMzMzMzMzMzMzMzMzEAAAAbMzMzMzMzMzMzMzMeI////////////////////////////////////
|
||||
////////+IfMzMzMzMzMzMzMzMxgAABMzMzMzMzMzMzMzMx4////////////////////////////////
|
||||
//////////////+IfMzMzMzMzMzMzMzMxAAAbMzMzMzMzMzMzMzHj///////////////////////////
|
||||
/////////////////////4fMzMzMzMzMzMzMzMYAAMzMzMzMzMzMzMzMeP//////////////////////
|
||||
///////////////////////////4fMzMzMzMzMzMzMzMAAbMzMzMzMzMzMzMx4//////////////////
|
||||
/////////////////////////////////4fMzMzMzMzMzMzMzGAGzMzMzMzMzMzMzHj/////////////
|
||||
///////////////////////////////////////4fMzMzMzMzMzMzMxgDMzMzMzMzMzMzMyI////////
|
||||
/////////////////////////////////////////////4zMzMzMzMzMzMzMwEzMzMzMzMzMzMzHj///
|
||||
//////////////////////////////////////////////////+HzMzMzMzMzMzMzMRszMzMzMzMzMzM
|
||||
eP//////////////////////////////////////////////////////+HzMzMzMzMzMzMzGbMzMzMzM
|
||||
zMzMzHj///////////////////////////////////////////////////////+MzMzMzMzMzMzMxmzM
|
||||
zMzMzMzMzMyP////+IiP////////////////////////////////////////+I//////h8zMzMzMzMzM
|
||||
zMZszMzMzMzMzMzHj////4iIiI//////////////////////////////////////+IiIj/////jMzMzM
|
||||
zMzMzMzGbMzMzMzMzMzMyP////iIiIiI/////////////////////////////////////4iIiIj////4
|
||||
fMzMzMzMzMzMxszMzMzMzMzMzHj////4iIiIiP////////////////////////////////////+IiIiI
|
||||
j////4zMzMzMzMzMzMbMzMzMzMzMzMx4////iIiIiIj////////////////////////////////////4
|
||||
iIiIiI////+HzMzMzMzMzMzMzMzMzMzMzMzMj////4iIiIiI//////////////+IiP//iI//////////
|
||||
////+IiIiIiP////h8zMzMzMzMzMzMzMzMzMzMzMzI/////4iIiIiP/////////////4d3eIiIeIj///
|
||||
//////////+IiIiIj/////jMzMzMzMzMzMzMzMzMzMzMzMyP////+IiIiIj/////////////iIiId3eI
|
||||
iI//////////////iIiIiI/////4zMzMzMzMzMzMzMzMzMzMzMzHj/////+IiIiP/////////////4//
|
||||
/4d4j/+P//////////////iIiIj/////+MzMzMzMzMzMzMzMzMzMzMzMx4//////+IiP////////////
|
||||
///////4j///////////////////iIiP//////jMzMzMzMzMzMzMzMzMzMzMzMeP//////////+IiIj/
|
||||
///////////////////////////////////////////4fMzMzMzMzMzMzMzMzMzMzMzH//////////+H
|
||||
fMx8eP//////////////////////////iId3iP//////////+HzMzMzMzMzMzMzMzMzMzMzMyP//////
|
||||
///4fMzHh8eP////////////////////////+MzMzMd4//////////h8zMzMzMzMzMzMzMzMzMzMzMf/
|
||||
////////+MzMePjMeP///////////////////////4zMzMeHx4/////////4fMzMzMzMzMzMzMzMzMzM
|
||||
zMzH/////////4fMd3eHzMeP//////////////////////iMzMzIiHx4////////+HzMzMzMzMzMzMzM
|
||||
zMzMzMzMx/////////+Hx4iIfMzMj//////////////////////4h3d8x4h8yP////////jMzMzMzMzM
|
||||
zMzMzMzMzMzMzMeP////////+HiP+IfMzI//////////////////////+HiIiHd3zHj////////4zMzM
|
||||
zMzMzMzMzMzMzMzMzMzHj/////////h4//+HzMeP//////////////////////h4//h8zMyP////////
|
||||
+MzMzMzMzMzMzMzMzMzMzMzMzI/////////4iP//h8x4///////////////////////4j//4fMzHj///
|
||||
//////jMzMzMzMzMzMzMzMzMzMzMzMyP///////4iIiP+IfHj///////////////////////+Ij/+HzM
|
||||
eP/////////4zMzMzMzMzMzMzMzMzMzMzMzMj///////iIiIiIh3eP////////////////////////+I
|
||||
j4h8x3iI////////h8zMzMzMzMzMzMzMzMzMzMzMzH//////+Hj///iIiI//////////////////////
|
||||
/////4iId4iIiIj//////4zMzMzMzMzMzMzMzMzMzMzMzMx4//////iP////iP//////////////////
|
||||
/////////////4iP//iI//////+MzMzMzMzMzMzMzMzMzMzMzMzMyP//////////+I//////////////
|
||||
///////////////////4eP//iP//////jMzMzMzMzMzMzMzMzMzMzMzMzMj///////////iP////////
|
||||
/////////////////////////4j/////////+HzMzMzMzMzMzMzMzMzMzMzMzMzHj///////////////
|
||||
//////////////////////////////+I//////////jMzMzMzMzMzMzMzMzMzMzMzMzMzI//////////
|
||||
//////////////////////////////////////////////+HzMzMzMzMzMzMzMzMzMzMzMzMzMyP////
|
||||
////////////////////////////////////////////////////h8zMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
eP///////////////////////////////////////////////////////4zMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMj///////////////////////////////////////////////////////h8zMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzHj//////////////////////////////////////////////////////4zMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzI//////////////////////////////////////////////////////h8zMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMx4////////////////////////////////////////////////////+HzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMyI////+I////////////////////////////////////////////
|
||||
//h8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP////+Ij/////////////////////////////////////
|
||||
//////+HzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP////+IiIiIj//////////////////////////4
|
||||
////iI/////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMiP/////4iIiP//////////////////////
|
||||
////+IiIiIj/////iHzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHiP//////////////////////////
|
||||
///////////4iIj//////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHiP////////////////////
|
||||
//////////////////////////h8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHiP//////////////
|
||||
//////////////////////////////+HzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHj/////////
|
||||
///////////////////////////////////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP////
|
||||
////////////////////////////////////////+MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzI
|
||||
j/////////////////////////////////////////////h8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMeP//////////////////////////////////////////////h8zMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMx4////////+I//////////////////////////////////////jMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMeP///////4iIj///////////////////////////iP///////4fMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMx4////////iIiIiP///////////////////////4iIiP///////4zMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMj///////+IiIiIiI////////////////////+IiIiIj///////+HzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMx4////////iIiIiIj////////////////////4iIiIiIj///////
|
||||
+MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMj///////+IiIiIiI////////////////////+IiIiIiI//
|
||||
//////h8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMx4////////iIiIiIiP////////////////////iIiI
|
||||
iIiI///////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMj///////+IiIiIiIj/////iIiIiIiIj/////
|
||||
/4iIiIiIiP///////4zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMx4////////iIiIiIiI/////4zMzMzMzM
|
||||
j/////+IiIiIiIiP//////+HzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP//////+IiIiIiIj/////+MzM
|
||||
zMzMzI//////+IiIiIiIj///////+MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzI////////iIiIiIiI////
|
||||
//jMzMzMzMyP//////iIiIiIiIj///////jMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP///////4iIiIiI
|
||||
iP/////4zMzMzMzMj//////4iIiIiIiI///////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzI////////iI
|
||||
iIiIiI//////+MzMzMzMzI//////+IiIiIiIiP///////4zMzMzMzMzMzMzMzMzMzMzMzMzMzMyP////
|
||||
///4iIiIiIiP//////fMzMzMzMyP//////+IiIiIiIj///////+MzMzMzMzMzMzMzMzMzMzMzMzMzMzH
|
||||
j///////+IiIiIiI//////+HzMzMzMzMeP//////iIiIiIiIj///////jMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMyP////////iIiIiIiP//////jMzMzMzMzHj///////iIiIiIiI///////4fMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMj///////+IiIiIiI///////4zMzMzMzMzI///////4iIiIiIiI///////3zMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzI////////iIiIiIiP//////+MzMzMzMzMyP//////+IiIiIiIiP//////+MzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMeP///////4iIiIiIj///////jMzMzMzMzMj///////+IiIiIiIj///////jM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzI////////+IiIiIiP//////+HzMzMzMzMzHj///////iIiIiIiI////
|
||||
///4zMzMzMzMzMzMzMzMzMzMzMzMzMyP////////iIiIiI////////jMzMzMzMzMzI///////4iIiIiI
|
||||
iI//////+MzMzMzMzMzMzMzMzMzMzMzMzMzMj////////4iIiIiP///////4zMzMzMzMzMyP///////4
|
||||
iIiIiIiP//////jMzMzMzMzMzMzMzMzMzMzMzMzMzI////////+IiIiI////////h8zMzMzMzMzMeP//
|
||||
/////4iIiIiIj//////4fMzMzMzMzMzMzMzMzMzMzMzMzMyP////////iIiIj////////4fMzMzMzMzM
|
||||
zHj///////+IiIiIiI//////+HzMzMzMzMzMzMzMzMzMzMzMzMzHj/////////iIiP////////+MzMzM
|
||||
zMzMzMzI////////+IiIiIiP//////h8zMzMzMzMzMzMxmzMzMzMzMzMx4/////////4iP/////////4
|
||||
fMzMzMzMzMzMx4////////+IiIiIj//////4fMzMzMzMzMzMzMZszMzMzMzMzMeP////////////////
|
||||
////+MzMzMzMzMzMzMyP////////iIiIiP//////+HzMzMzMzMzMzMzGbMzMzMzMzMzH////////////
|
||||
//////////fMzMzMzMzMzMzMeP////////iIiIj///////98zMzMzMzMzMzMxmzMzMzMzMzMyP//////
|
||||
//////////////+HzMzMzMzMzMzMzHj/////////+IiP////////jMzMzMzMzMzMzMZszMzMzMzMzMj/
|
||||
////////////////////jMzMzMzMzMzMzMzIj////////////////////4zMzMzMzMzMzMzGTMzMzMzM
|
||||
zMzH////////////////////+HzMzMzMzMzMzMzMx4////////////////////+MzMzMzMzMzMzMxAzM
|
||||
zMzMzMzMx/////////////////////jMzMzMzMzMzMzMzMyI///////////////////4fMzMzMzMzMzM
|
||||
zMAGzMzMzMzMzMeP//////////////////+HzMzMzMzMzMzMzMzMeP//////////////////+HzMzMzM
|
||||
zMzMzMxgBszMzMzMzMzHj//////////////////4fMzMzMzMzMzMzMzMzMeP//////////////////h8
|
||||
zMzMzMzMzMzMYADMzMzMzMzMzI//////////////////+HzMzMzMzMzMzMzMzMzHj///////////////
|
||||
///4zMzMzMzMzMzMzAAAbMzMzMzMzMyP/////////////////4fMzMzMzMzMzMzMzMzMzHj/////////
|
||||
////////+MzMzMzMzMzMzMYAAEzMzMzMzMzMj/////////////////+MzMzMzMzMzMzMzMzMzMzIj///
|
||||
/////////////4fMzMzMzMzMzMzEAAAGzMzMzMzMzHj////////////////4fMzMzMzMzMzMzMzMzMzM
|
||||
x4////////////////+MzMzMzMzMzMzMYAAABMzMzMzMzMx4////////////////h8zMzMzMzMzMzMzM
|
||||
zMzMzMx4///////////////4fMzMzMzMzMzMzEAAAABszMzMzMzMx4//////////////+HzMzMzMzMzM
|
||||
zMzMzMzMzMzMx4//////////////+MzMzMzMzMzMzMYAAAAATMzMzMzMzMyP/////////////4fMzMzM
|
||||
zMzMzMzMzMzMzMzMzMeI/////////////4fMzMzMzMzMzMzEAAAAAAbMzMzMzMzMeP////////////h8
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMeI////////////h8zMzMzMzMzMzMYAAAAAAAbMzMzMzMzMeP////////
|
||||
//iHzMzMzMzMzMzMzMzMzMzMzMzMzMyI//////////+HzMzMzMzMzMzMxgAAAAAAAEzMzMzMzMzMeP//
|
||||
//////iHfMzMzMzMzMzMzMzMzMzMzMzMzMzMx4/////////4fMzMzMzMzMzMzMQAAAAAAAAGzMzMzMzM
|
||||
zMeI//////iHfMzMzMzMzMzMzMzMzMzMzMzMzMzMzMx4j//////4h8zMzMzMzMzMzMxgAAAAAAAAAGzM
|
||||
zMzMzMzMx4iIiIiHzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHiIj/+Ih3zMzMzMzMzMzMzGAAAAAAAA
|
||||
AAAGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMx3iId8zMzMzMzMzMzMzMYAAA
|
||||
AAAAAAAAAGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
xgAAAAAAAAAAAAAGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzGAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzGQAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMYAAAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAABGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAAAABmzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzGYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARGZmzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZEAAAAAAAAAAAAAAAAD////+AAAAAAAAAAD/////////AAAA
|
||||
AAAAAAAAAP//////+AAAAAAAAAAAAAAf/////+AAAAAAAAAAAAAAB/////+AAAAAAAAAAAAAAAH////+
|
||||
AAAAAAAAAAAAAAAAf////AAAAAAAAAAAAAAAAD////AAAAAAAAAAAAAAAAAP///gAAAAAAAAAAAAAAAA
|
||||
B///wAAAAAAAAAAAAAAAAAP//4AAAAAAAAAAAAAAAAAB//8AAAAAAAAAAAAAAAAAAP/+AAAAAAAAAAAA
|
||||
AAAAAAB//gAAAAAAAAAAAAAAAAAAf/wAAAAAAAAAAAAAAAAAAD/4AAAAAAAAAAAAAAAAAAAf+AAAAAAA
|
||||
AAAAAAAAAAAAH/AAAAAAAAAAAAAAAAAAAA/wAAAAAAAAAAAAAAAAAAAP4AAAAAAAAAAAAAAAAAAAB+AA
|
||||
AAAAAAAAAAAAAAAAAAfAAAAAAAAAAAAAAAAAAAADwAAAAAAAAAAAAAAAAAAAA8AAAAAAAAAAAAAAAAAA
|
||||
AAOAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
|
||||
AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABAAAAAAAA
|
||||
AAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
|
||||
AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
|
||||
AAAAAAABgAAAAAAAAAAAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAPAAAAAAAAAAAAAAAAAAAADwAAAAAAA
|
||||
AAAAAAAAAAAAA+AAAAAAAAAAAAAAAAAAAAfgAAAAAAAAAAAAAAAAAAAH8AAAAAAAAAAAAAAAAAAAD/AA
|
||||
AAAAAAAAAAAAAAAAAA/4AAAAAAAAAAAAAAAAAAAf+AAAAAAAAAAAAAAAAAAAH/wAAAAAAAAAAAAAAAAA
|
||||
AD/+AAAAAAAAAAAAAAAAAAB//gAAAAAAAAAAAAAAAAAAf/8AAAAAAAAAAAAAAAAAAP//gAAAAAAAAAAA
|
||||
AAAAAAH//8AAAAAAAAAAAAAAAAAD///gAAAAAAAAAAAAAAAAB///8AAAAAAAAAAAAAAAAA////wAAAAA
|
||||
AAAAAAAAAAA////+AAAAAAAAAAAAAAAAf////4AAAAAAAAAAAAAAAf/////gAAAAAAAAAAAAAAf/////
|
||||
+AAAAAAAAAAAAAAf//////8AAAAAAAAAAAAA/////////gAAAAAAAAAAf////w==
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -17,7 +17,7 @@ using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.ShopForms
|
||||
{
|
||||
public partial class PddShopLoginForm : BaseForm
|
||||
public partial class PddShopLoginForm : BaseGeneralForm
|
||||
{
|
||||
public ChromiumWebBrowser cefWebBrowser = null;
|
||||
public string webUrl = "https://mms.pinduoduo.com/login/sso?platform=wholesale&redirectUrl=https%3A%2F%2Fpifa.pinduoduo.com%2Fclint%2Fapi%2Flogin%3Fredirect%3Dhttps%253A%252F%252Fpifa.pinduoduo.com";
|
||||
|
||||
@@ -22,7 +22,7 @@ using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.ShopForms
|
||||
{
|
||||
public partial class ShopBrower : BaseForm
|
||||
public partial class ShopBrower : BaseGeneralForm
|
||||
{
|
||||
public ShopBrower()
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@ using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder
|
||||
{
|
||||
public partial class SupportQrCodeForm : BaseForm
|
||||
public partial class SupportQrCodeForm : BaseGeneralForm
|
||||
{
|
||||
public SupportQrCodeForm()
|
||||
{
|
||||
|
||||
@@ -18,7 +18,7 @@ using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.ToolForms
|
||||
{
|
||||
public partial class CefForm : BaseForm
|
||||
public partial class CefForm : BaseGeneralForm
|
||||
{
|
||||
ChromiumWebBrowser cefWebBrowser = null;
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.ToolForms
|
||||
{
|
||||
public partial class ImportPddMultiBuyerForm : BaseForm
|
||||
public partial class ImportPddMultiBuyerForm : BaseGeneralForm
|
||||
{
|
||||
List<string> strList = new List<string>();
|
||||
List<PddMultiBuyerInfo> pddMultiBuyerList = new List<PddMultiBuyerInfo>();
|
||||
@@ -119,7 +119,7 @@ namespace _29WxOrder.ToolForms
|
||||
{
|
||||
string datajson = Newtonsoft.Json.JsonConvert.SerializeObject(pddMultiBuyerList);
|
||||
//string html = AllBase.GetHtml.PostUtf8(ViewModel.BaseWindows.BaseClass.ServerApiUrl + "/?obj=" + ViewModel.BaseWindows.BaseClass.routeInUse + "/pdd_user_cookies&act=add", ViewModel.BaseWindows.BaseClass.GetSignaturex("", "") + "¶ms=" + ViewModel.BaseWindows.HttpHelper.UrlEncodeUtf8(datajson));
|
||||
string url = BaseClass.DouYinBuildObjString("pdd_user_cookies&act=add");
|
||||
string url = BaseClass.Build29WxObjString("pdd_user_cookies&act=add");
|
||||
string data = UserLogin.GetSignaturex() + "¶ms=" + GetHtml.UrlEncodeUtf8(datajson);
|
||||
string html = GetHtml.PostUtf8(url, data);
|
||||
Invoke(new Action(() =>
|
||||
|
||||
@@ -20,7 +20,7 @@ using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.ToolForms
|
||||
{
|
||||
public partial class PddMultiBuyerForm : BaseForm
|
||||
public partial class PddMultiBuyerForm : BaseGeneralForm
|
||||
{
|
||||
public static bool IsShowNoTimesData = false;
|
||||
PddMultiBuyerInfo currentCookieUser = null;
|
||||
@@ -33,7 +33,7 @@ namespace _29WxOrder.ToolForms
|
||||
public static void GetMultiBuyer()
|
||||
{
|
||||
//string html = .PostUtf8(ViewModel.BaseWindows.BaseClass.ServerApiUrl + "/?obj=" + ViewModel.BaseWindows.BaseClass.routeInUse + "/pdd_user_cookies&act=get", ViewModel.BaseWindows.BaseClass.GetSignaturex("", ""));
|
||||
string url = BaseClass.DouYinBuildObjString("pdd_user_cookies&act=get");
|
||||
string url = BaseClass.Build29WxObjString("pdd_user_cookies&act=get");
|
||||
string html = GetHtml.PostUtf8(url, UserLogin.GetSignaturex());
|
||||
|
||||
if (html.Contains("\"code\":200") && !html.Contains("暂无数据"))
|
||||
@@ -72,7 +72,7 @@ namespace _29WxOrder.ToolForms
|
||||
|
||||
currentCookieUser.times = nudTimes.Value.ParseToInt();
|
||||
currentCookieUser.cookies = txtCookies.Text;
|
||||
string url = BaseClass.DouYinBuildObjString("pdd_user_cookies&act=update");
|
||||
string url = BaseClass.Build29WxObjString("pdd_user_cookies&act=update");
|
||||
string data = UserLogin.GetSignaturex() + "&pdd_user_id=" + currentCookieUser.pdd_user_id + "&cookies=" + GetHtml.UrlEncodeUtf8(currentCookieUser.cookies) + "×=" + currentCookieUser.times;
|
||||
string html = GetHtml.PostUtf8(url, data);
|
||||
if (html.Contains("数据修改完成"))
|
||||
@@ -149,7 +149,7 @@ namespace _29WxOrder.ToolForms
|
||||
paramsjson += "{\"pdd_user_id\":" + item.pdd_user_id + ",\"times\":" + item.times + "},";
|
||||
}
|
||||
paramsjson = paramsjson.TrimEnd(',') + "]";
|
||||
string url = BaseClass.DouYinBuildObjString("pdd_user_cookies&act=add");
|
||||
string url = BaseClass.Build29WxObjString("pdd_user_cookies&act=add");
|
||||
string data = UserLogin.GetSignaturex() + "¶ms=" + paramsjson;
|
||||
string html = GetHtml.PostUtf8(url, data);
|
||||
if (html.Contains("导入数据完成"))
|
||||
|
||||
@@ -11,7 +11,7 @@ using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.ToolForms
|
||||
{
|
||||
public partial class ProgressForm : BaseForm
|
||||
public partial class ProgressForm : BaseGeneralForm
|
||||
{
|
||||
public ProgressForm()
|
||||
{
|
||||
|
||||
@@ -17,7 +17,7 @@ using ZXing.QrCode;
|
||||
|
||||
namespace _29WxOrder.ToolForms
|
||||
{
|
||||
public partial class WechatPaymentForm : BaseForm
|
||||
public partial class WechatPaymentForm : BaseGeneralForm
|
||||
{
|
||||
string urlcode = "";
|
||||
string orderid = "";
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 224 KiB |
@@ -10,14 +10,14 @@
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>AllBase</RootNamespace>
|
||||
<AssemblyName>29WxOrderAllBase</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<OutputPath>..\..\KJD Cef138\Bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<DebugType>full</DebugType>
|
||||
@@ -35,7 +35,7 @@
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<OutputPath>..\..\KJD Cef138\Bin\</OutputPath>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<Optimize>true</Optimize>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
@@ -54,7 +54,7 @@
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<OutputPath>..\..\KJD Cef138\Bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<DebugType>full</DebugType>
|
||||
@@ -85,9 +85,8 @@
|
||||
<Reference Include="NaiBa.Util">
|
||||
<HintPath>..\FindLittleRabbitOrder\DLL\NaiBa.Util.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\DllReference\Newtonsoft.Json.dll</HintPath>
|
||||
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NPOI, Version=2.5.4.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NPOI.2.5.4\lib\net45\NPOI.dll</HintPath>
|
||||
@@ -138,6 +137,7 @@
|
||||
<Compile Include="JsonHelper.cs" />
|
||||
<Compile Include="LogSave.cs" />
|
||||
<Compile Include="Md5Base.cs" />
|
||||
<Compile Include="Model\o_shop_info.cs" />
|
||||
<Compile Include="Model\PddMultiBuyerInfo.cs" />
|
||||
<Compile Include="Model\PddPifaShopInfo.cs" />
|
||||
<Compile Include="MultiThreadClient.cs" />
|
||||
|
||||
+24
-5
@@ -23,6 +23,8 @@ namespace AllBase
|
||||
|
||||
public static int VersionCount = 100;
|
||||
|
||||
public static string ServerUrl = "http://1.13.195.131:9000";
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 版本号
|
||||
@@ -55,12 +57,13 @@ namespace AllBase
|
||||
/// </summary>
|
||||
public static int oem_version = 0;
|
||||
|
||||
public static string ProgramName = "小奶兔打单";
|
||||
public static string ProgramName = "29供应链-微信小店订单管理";
|
||||
public static string ProgromLogo = "";
|
||||
public static string ProgromLogoIco = "";
|
||||
public static string ToolName = "淘金猫";
|
||||
public static string ToolName = "29供应链-微信小店订单管理工具";
|
||||
public static string AgentName = "";
|
||||
public static string MainPath = "douyin";
|
||||
//public static string MainPath = "douyin";
|
||||
public static string MainPath = "29wx";
|
||||
public static string ServiceQQ = "569588500";
|
||||
public static Image LoginImage = null;
|
||||
public static Image LogoImage = null;
|
||||
@@ -102,7 +105,7 @@ namespace AllBase
|
||||
|
||||
public static Dictionary<string, string> serverDic = new Dictionary<string, string>();//存放服务地址
|
||||
|
||||
public static string ServerUrl = "http://psbx.9u99.com/index.php?s=/";
|
||||
//public static string ServerUrl = "http://psbx.9u99.com/index.php?s=/";
|
||||
public static string PXServerUrl = "http://px.jindouduo.com/";//螃蟹工具
|
||||
public static string NbAssistantUrl = "http://nbzlw.e57.cn/";//奶爸助理
|
||||
|
||||
@@ -213,8 +216,9 @@ namespace AllBase
|
||||
/// <summary>
|
||||
/// 图片API
|
||||
/// </summary>
|
||||
public static string LoginApiUrl = ServerUrl;
|
||||
public static string ImageApiUrl = "https://new.qixiaoke.com/index.php?obj=api/image";
|
||||
public static string LoginApiUrl = "http://order.qixiaoke.com/";//"http://192.168.8.9:8080/";
|
||||
//public static string LoginApiUrl = "http://order.qixiaoke.com/";//"http://192.168.8.9:8080/";
|
||||
//public static string LoginApiUrl = "http://127.0.0.1:81/";
|
||||
public static string BigDataApiUrl = "http://bigdata.qixiaoke.com/";
|
||||
public static string UserAgentUrl = LoginApiUrl + "userAgent.php";
|
||||
@@ -565,6 +569,14 @@ namespace AllBase
|
||||
public static int DataUpdateThread = 0;
|
||||
|
||||
public static string PassWordBak { get; set; }
|
||||
public static int Points { get; set; }
|
||||
public static int ShopPointsPerMonth { get; set; }
|
||||
public static string Mobile { get; set; }
|
||||
public static string ParentAuthority { get; set; }
|
||||
public static string UserAuthority { get; set; }
|
||||
public static string ParentUserName { get; set; }
|
||||
public static int SaLevel { get; set; }
|
||||
public static bool IsLoginSuccess { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// CPU使用率更新线程
|
||||
@@ -794,10 +806,17 @@ namespace AllBase
|
||||
return LoginApiUrl + "index.php?obj=findgoldcat_main/" + file;
|
||||
return LoginApiUrl + "index.php?obj=findgoldcat/" + file;
|
||||
}
|
||||
|
||||
public static string DouYinBuildObjString(string file)
|
||||
{
|
||||
return LoginApiUrl + "index.php?obj=" + BaseClass.MainPath + "/" + file;
|
||||
}
|
||||
|
||||
public static string Build29WxObjString(string file, bool IsLoginDef = false)
|
||||
{
|
||||
return LoginApiUrl + "/wxxd_" + file + "?obj=" + BaseClass.MainPath + "/wxxd_" + file;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 返回固定字节长度
|
||||
/// </summary>
|
||||
|
||||
@@ -529,6 +529,23 @@ namespace AllBase
|
||||
return i;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取值
|
||||
/// </summary>
|
||||
/// <param name="html"></param>
|
||||
/// <param name="reg"></param>
|
||||
/// <returns></returns>
|
||||
public static decimal? GetNullableDecimalJson(ref string html, string reg)
|
||||
{
|
||||
string temp = GetMatchRegexString(html, @"['""]" + reg + @"['""][\s]*:[\s]*['""]([^']+?)['""]");
|
||||
if (string.IsNullOrEmpty(temp))
|
||||
temp = GetMatchRegexString(html, @"['""]" + reg + @"['""][\s]*:[\s]*([\d-\.]+)");
|
||||
decimal i = 0;
|
||||
if (decimal.TryParse(temp, out i))
|
||||
return i;
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取值
|
||||
|
||||
@@ -22,5 +22,21 @@ namespace AllBase.Helper
|
||||
/// 拼多多 多买手拍单 账户列表
|
||||
/// </summary>
|
||||
public static List<PddMultiBuyerInfo> LstMultiBuyer = new List<PddMultiBuyerInfo>();
|
||||
|
||||
public static System.Drawing.Color DefaultMainColor { get; set; } = System.Drawing.Color.FromArgb(63, 126, 255);
|
||||
public static System.Drawing.Color DefaultMainColorLight { get; set; } = System.Drawing.Color.FromArgb(185, 215, 255);
|
||||
public static System.Drawing.Color DefaultBorderColor { get; set; } = System.Drawing.Color.FromArgb(25, 98, 200);
|
||||
|
||||
public static System.Drawing.Color MainColor { get; set; } = System.Drawing.Color.FromArgb(63, 126, 255);
|
||||
public static System.Drawing.Color MainColorLight { get; set; } = System.Drawing.Color.FromArgb(185, 215, 255);
|
||||
public static System.Drawing.Color BorderColor { get; set; } = System.Drawing.Color.FromArgb(25, 98, 200);
|
||||
|
||||
public static System.Drawing.Color PddMainColor { get; set; } = System.Drawing.Color.FromArgb(225, 120, 135);
|
||||
public static System.Drawing.Color PddMainColorLight { get; set; } = System.Drawing.Color.FromArgb(255, 235, 245);
|
||||
public static System.Drawing.Color PddBorderColor { get; set; } = System.Drawing.Color.FromArgb(195, 112, 135);
|
||||
|
||||
public static System.Drawing.Color WeiXinMainColor { get; set; } = System.Drawing.Color.FromArgb(152, 99, 143);
|
||||
public static System.Drawing.Color WeiXinMainColorLight { get; set; } = System.Drawing.Color.FromArgb(245, 235, 255);
|
||||
public static System.Drawing.Color WeiXinBorderColor { get; set; } = System.Drawing.Color.FromArgb(107, 83, 147);
|
||||
}
|
||||
}
|
||||
@@ -25,7 +25,7 @@ namespace AllBase.Helper
|
||||
request.Headers.Add("sec-ch-ua", @"""Chromium"";v=""104"", "" Not A;Brand"";v=""99"", ""Google Chrome"";v=""104""");
|
||||
request.Headers.Add("AccessToken", BaseRegex.GetMatchRegexString(ref cookie, "PDDAccessToken=([^:]+?);"));
|
||||
request.Headers.Add("sec-ch-ua-mobile", @"?0");
|
||||
request.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36";
|
||||
request.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36";
|
||||
request.ContentType = "application/json;charset=UTF-8";
|
||||
request.Accept = "application/json, text/plain, */*";
|
||||
request.Headers.Add("sec-ch-ua-platform", @"""Windows""");
|
||||
@@ -113,7 +113,7 @@ namespace AllBase.Helper
|
||||
request.KeepAlive = true;
|
||||
request.Headers.Set(HttpRequestHeader.CacheControl, "max-age=0");
|
||||
request.Headers.Add("sec-ch-ua", @"""Chromium"";v=""104"", "" Not A;Brand"";v=""99"", ""Google Chrome"";v=""104""");
|
||||
request.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36";
|
||||
request.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36";
|
||||
if (!string.IsNullOrEmpty(cookies) && cookies.Contains("PDDAccessToken"))
|
||||
{
|
||||
request.Headers.Add("AccessToken", BaseRegex.GetMatchRegexString(ref cookies, "PDDAccessToken=([^:]+?);"));
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AllBase.Model
|
||||
{
|
||||
public class o_shop_info
|
||||
{
|
||||
public long id { get; set; }
|
||||
public string name { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net452" />
|
||||
<package id="NPOI" version="2.5.4" targetFramework="net452" />
|
||||
<package id="Portable.BouncyCastle" version="1.8.6" targetFramework="net452" />
|
||||
<package id="SharpZipLib" version="1.3.1" targetFramework="net452" />
|
||||
|
||||
+29
-20
@@ -1,7 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\packages\CefSharp.WinForms.79.1.360\build\CefSharp.WinForms.props" Condition="Exists('..\packages\CefSharp.WinForms.79.1.360\build\CefSharp.WinForms.props')" />
|
||||
<Import Project="..\packages\CefSharp.Common.79.1.360\build\CefSharp.Common.props" Condition="Exists('..\packages\CefSharp.Common.79.1.360\build\CefSharp.Common.props')" />
|
||||
<Import Project="..\packages\CefSharp.Common.138.0.340\build\CefSharp.Common.props" Condition="Exists('..\packages\CefSharp.Common.138.0.340\build\CefSharp.Common.props')" />
|
||||
<Import Project="..\packages\chromiumembeddedframework.runtime.win-x86.138.0.34\build\chromiumembeddedframework.runtime.win-x86.props" Condition="Exists('..\packages\chromiumembeddedframework.runtime.win-x86.138.0.34\build\chromiumembeddedframework.runtime.win-x86.props')" />
|
||||
<Import Project="..\packages\chromiumembeddedframework.runtime.win-x64.138.0.34\build\chromiumembeddedframework.runtime.win-x64.props" Condition="Exists('..\packages\chromiumembeddedframework.runtime.win-x64.138.0.34\build\chromiumembeddedframework.runtime.win-x64.props')" />
|
||||
<Import Project="..\packages\cef.redist.x86.79.1.36\build\cef.redist.x86.props" Condition="Exists('..\packages\cef.redist.x86.79.1.36\build\cef.redist.x86.props')" />
|
||||
<Import Project="..\packages\cef.redist.x64.79.1.36\build\cef.redist.x64.props" Condition="Exists('..\packages\cef.redist.x64.79.1.36\build\cef.redist.x64.props')" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
@@ -13,7 +14,7 @@
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Work</RootNamespace>
|
||||
<AssemblyName>29WxOrderWork</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
<NuGetPackageImportStamp>
|
||||
@@ -24,7 +25,7 @@
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<OutputPath>..\..\KJD Cef138\Bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
@@ -59,20 +60,29 @@
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="CefSharp, Version=138.0.340.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\CefSharp.Common.138.0.340\lib\net462\CefSharp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="CefSharp.Core, Version=138.0.340.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\CefSharp.Common.138.0.340\lib\net462\CefSharp.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="CefSharp.WinForms, Version=138.0.340.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\CefSharp.WinForms.138.0.340\lib\net462\CefSharp.WinForms.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="DevComponents.DotNetBar2, Version=14.0.0.3, Culture=neutral, PublicKeyToken=c39c3242a43eee2b, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>DLL\DevComponents.DotNetBar2.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NaiBa.CefHelper">
|
||||
<HintPath>..\DllReference\NaiBa.CefHelper.dll</HintPath>
|
||||
<Reference Include="NaiBa.CefHelper.138, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\DllReference\NaiBa.CefHelper.138.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NaiBa.Util, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\DllReference\NaiBa.Util.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\DllReference\Newtonsoft.Json.dll</HintPath>
|
||||
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
@@ -92,11 +102,11 @@
|
||||
<Compile Include="Api\JumpUpProductNew.cs" />
|
||||
<Compile Include="AutoConfirmExpress.cs" />
|
||||
<Compile Include="Base64ChangeImgUrl.cs" />
|
||||
<Compile Include="BaseForms\BaseForm.cs">
|
||||
<Compile Include="BaseForms\BaseGeneralForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="BaseForms\BaseForm.Designer.cs">
|
||||
<DependentUpon>BaseForm.cs</DependentUpon>
|
||||
<Compile Include="BaseForms\BaseGeneralForm.Designer.cs">
|
||||
<DependentUpon>BaseGeneralForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="BaseForms\BaseMsgForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
@@ -183,8 +193,8 @@
|
||||
<Content Include="Resources\x-6.1.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="BaseForms\BaseForm.resx">
|
||||
<DependentUpon>BaseForm.cs</DependentUpon>
|
||||
<EmbeddedResource Include="BaseForms\BaseGeneralForm.resx">
|
||||
<DependentUpon>BaseGeneralForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="BaseForms\BaseMsgForm.resx">
|
||||
<DependentUpon>BaseMsgForm.cs</DependentUpon>
|
||||
@@ -204,11 +214,10 @@
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\cef.redist.x64.79.1.36\build\cef.redist.x64.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\cef.redist.x64.79.1.36\build\cef.redist.x64.props'))" />
|
||||
<Error Condition="!Exists('..\packages\cef.redist.x86.79.1.36\build\cef.redist.x86.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\cef.redist.x86.79.1.36\build\cef.redist.x86.props'))" />
|
||||
<Error Condition="!Exists('..\packages\CefSharp.Common.79.1.360\build\CefSharp.Common.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\CefSharp.Common.79.1.360\build\CefSharp.Common.props'))" />
|
||||
<Error Condition="!Exists('..\packages\CefSharp.Common.79.1.360\build\CefSharp.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\CefSharp.Common.79.1.360\build\CefSharp.Common.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\CefSharp.WinForms.79.1.360\build\CefSharp.WinForms.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\CefSharp.WinForms.79.1.360\build\CefSharp.WinForms.props'))" />
|
||||
<Error Condition="!Exists('..\packages\CefSharp.WinForms.79.1.360\build\CefSharp.WinForms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\CefSharp.WinForms.79.1.360\build\CefSharp.WinForms.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\chromiumembeddedframework.runtime.win-x64.138.0.34\build\chromiumembeddedframework.runtime.win-x64.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\chromiumembeddedframework.runtime.win-x64.138.0.34\build\chromiumembeddedframework.runtime.win-x64.props'))" />
|
||||
<Error Condition="!Exists('..\packages\chromiumembeddedframework.runtime.win-x86.138.0.34\build\chromiumembeddedframework.runtime.win-x86.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\chromiumembeddedframework.runtime.win-x86.138.0.34\build\chromiumembeddedframework.runtime.win-x86.props'))" />
|
||||
<Error Condition="!Exists('..\packages\CefSharp.Common.138.0.340\build\CefSharp.Common.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\CefSharp.Common.138.0.340\build\CefSharp.Common.props'))" />
|
||||
<Error Condition="!Exists('..\packages\CefSharp.Common.138.0.340\build\CefSharp.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\CefSharp.Common.138.0.340\build\CefSharp.Common.targets'))" />
|
||||
</Target>
|
||||
<Import Project="..\packages\CefSharp.Common.79.1.360\build\CefSharp.Common.targets" Condition="Exists('..\packages\CefSharp.Common.79.1.360\build\CefSharp.Common.targets')" />
|
||||
<Import Project="..\packages\CefSharp.WinForms.79.1.360\build\CefSharp.WinForms.targets" Condition="Exists('..\packages\CefSharp.WinForms.79.1.360\build\CefSharp.WinForms.targets')" />
|
||||
<Import Project="..\packages\CefSharp.Common.138.0.340\build\CefSharp.Common.targets" Condition="Exists('..\packages\CefSharp.Common.138.0.340\build\CefSharp.Common.targets')" />
|
||||
</Project>
|
||||
@@ -2,6 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using AllBase;
|
||||
@@ -35,6 +36,54 @@ namespace Work
|
||||
Addresses[a.UpId].Add(a);
|
||||
}
|
||||
}
|
||||
|
||||
#region 获取阿里巴巴省市县区的地址
|
||||
public static Dictionary<int, List<AddressBase>> Addressdic = new Dictionary<int, List<AddressBase>>();
|
||||
public static List<AddressBase> AddressAllList = new List<AddressBase>();
|
||||
public void getAddress1688()
|
||||
{
|
||||
//Thread.Sleep(2000);
|
||||
string file = FileBase.ReadAllText("1688_address.tjm", Encoding.UTF8);
|
||||
if (string.IsNullOrEmpty(file))
|
||||
{
|
||||
MessageBox.Show("初始化1688址信息错误,请检查网络", "提示");
|
||||
return;
|
||||
}
|
||||
string strContent = FileBase.ReadAllText("1688_address.tjm");
|
||||
strContent = GetHtml.UrlDecode(strContent);
|
||||
var m = BaseRegex.GetMatchRegex(ref strContent, @"{[^}]+?}");
|
||||
for (int i = 0; m != null && i < m.Count; i++)
|
||||
{
|
||||
string addressContent = m[i].Groups[0].Value;
|
||||
AddressBase a = new AddressBase();
|
||||
string[] addressArray = addressContent.Split(',');
|
||||
for (int j = 0; j < addressArray.Length; j++)
|
||||
{
|
||||
var itemMatch = BaseRegex.GetMatchRegex(ref addressArray[j], @"([\w\W]+?):([\w\W]+)");
|
||||
string itemname = itemMatch[0].Groups[1].Value.Replace("{", "");
|
||||
string itemvalue = itemMatch[0].Groups[2].Value.Replace("\"", "").Replace("}", "");
|
||||
if (itemname == "a")
|
||||
{
|
||||
a.Id = int.Parse(itemvalue);
|
||||
}
|
||||
if (itemname == "n")
|
||||
{
|
||||
a.Name = itemvalue;
|
||||
}
|
||||
if (itemname == "p")
|
||||
{
|
||||
a.UpId = int.Parse(itemvalue);
|
||||
}
|
||||
}
|
||||
AddressAllList.Add(a);
|
||||
if (!Addressdic.ContainsKey(a.Id))
|
||||
Addressdic.Add(a.Id, new List<AddressBase>());
|
||||
if (!Addressdic.ContainsKey(a.UpId))
|
||||
Addressdic.Add(a.UpId, new List<AddressBase>());
|
||||
Addressdic[a.UpId].Add(a);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
public class AddressBase
|
||||
|
||||
@@ -251,7 +251,7 @@ namespace Work.Api
|
||||
string param = GetHtml.UrlEncodeUtf8(GetDataSignPara());
|
||||
|
||||
string url = "http://103.90.155.35:54"+(new Random().Next(10,20))+ "/sign.php?act=signature";
|
||||
//string url = BaseClass.DouYinBuildObjString("sign&act=signature");
|
||||
//string url = BaseClass.Build29WxObjString("sign&act=signature");
|
||||
string data = UserLogin.GetSignaturex() + "¶m_json="+ json + ""
|
||||
+ "¶ms=" + param + "&service=2";
|
||||
string html = GetHtml.PostUtf8(url, data);
|
||||
@@ -285,7 +285,7 @@ namespace Work.Api
|
||||
Data["method"] = types;
|
||||
Data["v"] = "2";
|
||||
string param = GetDataSignPara();
|
||||
string url = BaseClass.DouYinBuildObjString("sign&act=signature");
|
||||
string url = BaseClass.Build29WxObjString("sign&act=signature");
|
||||
string data = UserLogin.GetSignaturex() + "¶m_json=" + "" + json + ""
|
||||
+ "¶ms=" + param + "&service=2";
|
||||
string html = GetHtml.PostUtf8("http://192.168.8.191:82/index.php?obj=douyin/sign&act=signature", data);
|
||||
|
||||
+177
@@ -0,0 +1,177 @@
|
||||
|
||||
namespace Work.BaseForms
|
||||
{
|
||||
partial class BaseGeneralForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.pnlTitle = new System.Windows.Forms.Panel();
|
||||
this.pbMinBase = new System.Windows.Forms.PictureBox();
|
||||
this.pbNormalBase = new System.Windows.Forms.PictureBox();
|
||||
this.pbMaxBase = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBox3 = new System.Windows.Forms.PictureBox();
|
||||
this.lbTitle = new System.Windows.Forms.Label();
|
||||
this.pbCloseBase = new System.Windows.Forms.PictureBox();
|
||||
this.pnlTitle.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbMinBase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbNormalBase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbMaxBase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.pnlTitle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlTitle.Controls.Add(this.pbMinBase);
|
||||
this.pnlTitle.Controls.Add(this.pbNormalBase);
|
||||
this.pnlTitle.Controls.Add(this.pbMaxBase);
|
||||
this.pnlTitle.Controls.Add(this.pictureBox3);
|
||||
this.pnlTitle.Controls.Add(this.lbTitle);
|
||||
this.pnlTitle.Controls.Add(this.pbCloseBase);
|
||||
this.pnlTitle.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.pnlTitle.Location = new System.Drawing.Point(0, 0);
|
||||
this.pnlTitle.Name = "panel2";
|
||||
this.pnlTitle.Size = new System.Drawing.Size(386, 32);
|
||||
this.pnlTitle.TabIndex = 2;
|
||||
this.pnlTitle.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel2_MouseDown);
|
||||
this.pnlTitle.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel2_MouseMove);
|
||||
//
|
||||
// pbMinBase
|
||||
//
|
||||
this.pbMinBase.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.pbMinBase.Image = global::Work.Properties.Resources.min;
|
||||
this.pbMinBase.Location = new System.Drawing.Point(258, 0);
|
||||
this.pbMinBase.Name = "pbMinBase";
|
||||
this.pbMinBase.Size = new System.Drawing.Size(32, 32);
|
||||
this.pbMinBase.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||
this.pbMinBase.TabIndex = 1;
|
||||
this.pbMinBase.TabStop = false;
|
||||
this.pbMinBase.Click += new System.EventHandler(this.PictureBox2_Click);
|
||||
this.pbMinBase.MouseLeave += new System.EventHandler(this.PictureBox2_MouseLeave);
|
||||
this.pbMinBase.MouseHover += new System.EventHandler(this.PictureBox2_MouseHover);
|
||||
//
|
||||
// pbNormalBase
|
||||
//
|
||||
this.pbNormalBase.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.pbNormalBase.Image = global::Work.Properties.Resources.normal;
|
||||
this.pbNormalBase.Location = new System.Drawing.Point(290, 0);
|
||||
this.pbNormalBase.Name = "pbNormalBase";
|
||||
this.pbNormalBase.Size = new System.Drawing.Size(32, 32);
|
||||
this.pbNormalBase.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||
this.pbNormalBase.TabIndex = 6;
|
||||
this.pbNormalBase.TabStop = false;
|
||||
this.pbNormalBase.Visible = false;
|
||||
this.pbNormalBase.Click += new System.EventHandler(this.pbNormalBase_Click);
|
||||
this.pbNormalBase.MouseLeave += new System.EventHandler(this.pbNormalBase_MouseLeave);
|
||||
this.pbNormalBase.MouseHover += new System.EventHandler(this.pbNormalBase_MouseHover);
|
||||
//
|
||||
// pbMaxBase
|
||||
//
|
||||
this.pbMaxBase.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.pbMaxBase.Image = global::Work.Properties.Resources.max;
|
||||
this.pbMaxBase.Location = new System.Drawing.Point(322, 0);
|
||||
this.pbMaxBase.Name = "pbMaxBase";
|
||||
this.pbMaxBase.Size = new System.Drawing.Size(32, 32);
|
||||
this.pbMaxBase.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||
this.pbMaxBase.TabIndex = 5;
|
||||
this.pbMaxBase.TabStop = false;
|
||||
this.pbMaxBase.Visible = false;
|
||||
this.pbMaxBase.Click += new System.EventHandler(this.pbMaxBase_Click);
|
||||
this.pbMaxBase.MouseLeave += new System.EventHandler(this.pbMaxBase_MouseLeave);
|
||||
this.pbMaxBase.MouseHover += new System.EventHandler(this.pbMaxBase_MouseHover);
|
||||
//
|
||||
// pictureBox3
|
||||
//
|
||||
this.pictureBox3.BackColor = System.Drawing.Color.Transparent;
|
||||
this.pictureBox3.Image = global::Work.Properties.Resources.icon;
|
||||
this.pictureBox3.Location = new System.Drawing.Point(5, 3);
|
||||
this.pictureBox3.Name = "pictureBox3";
|
||||
this.pictureBox3.Size = new System.Drawing.Size(23, 23);
|
||||
this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pictureBox3.TabIndex = 3;
|
||||
this.pictureBox3.TabStop = false;
|
||||
//
|
||||
// lbTitle
|
||||
//
|
||||
this.lbTitle.AutoSize = true;
|
||||
this.lbTitle.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lbTitle.ForeColor = System.Drawing.Color.White;
|
||||
this.lbTitle.Location = new System.Drawing.Point(31, 6);
|
||||
this.lbTitle.Name = "lbTitle";
|
||||
this.lbTitle.Size = new System.Drawing.Size(45, 17);
|
||||
this.lbTitle.TabIndex = 2;
|
||||
this.lbTitle.Text = "label1";
|
||||
//
|
||||
// pbCloseBase
|
||||
//
|
||||
this.pbCloseBase.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.pbCloseBase.Image = global::Work.Properties.Resources.close;
|
||||
this.pbCloseBase.Location = new System.Drawing.Point(354, 0);
|
||||
this.pbCloseBase.Name = "pbCloseBase";
|
||||
this.pbCloseBase.Size = new System.Drawing.Size(32, 32);
|
||||
this.pbCloseBase.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||
this.pbCloseBase.TabIndex = 0;
|
||||
this.pbCloseBase.TabStop = false;
|
||||
this.pbCloseBase.Click += new System.EventHandler(this.PictureBox1_Click);
|
||||
this.pbCloseBase.MouseLeave += new System.EventHandler(this.PictureBox1_MouseLeave);
|
||||
this.pbCloseBase.MouseHover += new System.EventHandler(this.PictureBox1_MouseHover);
|
||||
//
|
||||
// BaseGeneralForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.ClientSize = new System.Drawing.Size(386, 232);
|
||||
this.Controls.Add(this.pnlTitle);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||
this.Name = "BaseGeneralForm";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "BaseForm";
|
||||
this.Load += new System.EventHandler(this.LcBaseForm_Load);
|
||||
this.pnlTitle.ResumeLayout(false);
|
||||
this.pnlTitle.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbMinBase)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbNormalBase)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbMaxBase)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel pnlTitle;
|
||||
private System.Windows.Forms.PictureBox pbMinBase;
|
||||
private System.Windows.Forms.PictureBox pbNormalBase;
|
||||
private System.Windows.Forms.PictureBox pbMaxBase;
|
||||
private System.Windows.Forms.PictureBox pictureBox3;
|
||||
private System.Windows.Forms.Label lbTitle;
|
||||
protected System.Windows.Forms.PictureBox pbCloseBase;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,295 @@
|
||||
using AllBase;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Work.BaseForms
|
||||
{
|
||||
public partial class BaseGeneralForm : Form
|
||||
{
|
||||
const int WM_NCHITTEST = 0x0084;
|
||||
const int HTLEFT = 10; //左边界
|
||||
const int HTRIGHT = 11; //右边界
|
||||
const int HTTOP = 12; //上边界
|
||||
const int HTTOPLEFT = 13; //左上角
|
||||
const int HTTOPRIGHT = 14; //右上角
|
||||
const int HTBOTTOM = 15; //下边界
|
||||
const int HTBOTTOMLEFT = 0x10; //左下角
|
||||
const int HTBOTTOMRIGHT = 17; //右下角
|
||||
|
||||
protected bool Minimized { get { return this.pbMinBase.Visible; } set { this.pbMinBase.Visible = value; } }
|
||||
|
||||
protected override void WndProc(ref Message m)
|
||||
{
|
||||
switch (m.Msg)
|
||||
{
|
||||
case WM_NCHITTEST:
|
||||
base.WndProc(ref m);
|
||||
Point vPoint = new Point((int)m.LParam & 0xFFFF,
|
||||
(int)m.LParam >> 16 & 0xFFFF);
|
||||
vPoint = PointToClient(vPoint);
|
||||
if (vPoint.X <= 5)
|
||||
if (vPoint.Y <= 5)
|
||||
m.Result = (IntPtr)HTTOPLEFT;
|
||||
else if (vPoint.Y >= ClientSize.Height - 5)
|
||||
m.Result = (IntPtr)HTBOTTOMLEFT;
|
||||
else m.Result = (IntPtr)HTLEFT;
|
||||
else if (vPoint.X >= ClientSize.Width - 5)
|
||||
if (vPoint.Y <= 5)
|
||||
m.Result = (IntPtr)HTTOPRIGHT;
|
||||
else if (vPoint.Y >= ClientSize.Height - 5)
|
||||
m.Result = (IntPtr)HTBOTTOMRIGHT;
|
||||
else m.Result = (IntPtr)HTRIGHT;
|
||||
else if (vPoint.Y <= 5)
|
||||
m.Result = (IntPtr)HTTOP;
|
||||
else if (vPoint.Y >= ClientSize.Height - 5)
|
||||
m.Result = (IntPtr)HTBOTTOM;
|
||||
break;
|
||||
default:
|
||||
base.WndProc(ref m);
|
||||
break;
|
||||
}
|
||||
}
|
||||
public BaseGeneralForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.MaximumSize = new Size(Screen.PrimaryScreen.WorkingArea.Width, Screen.PrimaryScreen.WorkingArea.Height);
|
||||
if (FileBase.Exists(BaseClass.ProgromLogoIco))
|
||||
{
|
||||
Image img = Image.FromFile(BaseClass.ProgromLogoIco);
|
||||
pictureBox3.Image = img;
|
||||
}
|
||||
}
|
||||
|
||||
private void LcBaseForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (BaseClass.Ico != null)
|
||||
Iconx = Icon = BaseClass.Ico;
|
||||
else
|
||||
Iconx = Icon = BaseClass.Ico = ImageBuild.ConvertToIcon(Properties.Resources.icon);
|
||||
|
||||
|
||||
if (this.IsShowMax)
|
||||
{
|
||||
if (this.WindowState == FormWindowState.Maximized)
|
||||
{
|
||||
this.pbMaxBase.Visible = false;
|
||||
this.pbNormalBase.Visible = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.pbMaxBase.Visible = true;
|
||||
this.pbNormalBase.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
SetPanelVisible(this.TopLevel || DesignMode);
|
||||
}
|
||||
|
||||
public void SetPanelVisible(bool visible)
|
||||
{
|
||||
if (visible)
|
||||
{
|
||||
this.Padding = new Padding(1);
|
||||
this.pnlTitle.Visible = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Padding = new Padding(0);
|
||||
this.pnlTitle.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void PictureBox2_Click(object sender, EventArgs e)
|
||||
{
|
||||
WindowState = FormWindowState.Minimized;
|
||||
}
|
||||
|
||||
public virtual void PictureBox1_Click(object sender, EventArgs e)
|
||||
{
|
||||
//pictureBox3.Image?.Dispose();
|
||||
Close();
|
||||
}
|
||||
|
||||
private Icon _iconx;
|
||||
public Icon Iconx
|
||||
{
|
||||
set
|
||||
{
|
||||
_iconx = value;
|
||||
if (_iconx == null) return;
|
||||
|
||||
using (MemoryStream mStream = new MemoryStream())
|
||||
{
|
||||
_iconx.Save(mStream);
|
||||
Image image = Image.FromStream(mStream);
|
||||
pictureBox3.Image = image;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private bool isShowMax = false;
|
||||
public bool IsShowMax
|
||||
{
|
||||
get { return isShowMax; }
|
||||
set
|
||||
{
|
||||
isShowMax = value;
|
||||
if (isShowMax)
|
||||
{
|
||||
if (this.WindowState == FormWindowState.Maximized)
|
||||
{
|
||||
this.pbMaxBase.Visible = false;
|
||||
this.pbNormalBase.Visible = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.pbMaxBase.Visible = true;
|
||||
this.pbNormalBase.Visible = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.pbMaxBase.Visible = false;
|
||||
this.pbNormalBase.Visible = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public string TitleText
|
||||
{
|
||||
get
|
||||
{
|
||||
return Text;
|
||||
}
|
||||
set
|
||||
{
|
||||
Text = lbTitle.Text = value;
|
||||
}
|
||||
}
|
||||
private Point mouseOffset;//记录鼠标指针的坐标
|
||||
private bool isMouseDown;//记录鼠标左键是否按下
|
||||
private void Panel1_MouseMove(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (isMouseDown)
|
||||
{//获取鼠标的位置
|
||||
Point mousePos = MousePosition;
|
||||
mousePos.Offset(mouseOffset.X, mouseOffset.Y);
|
||||
Location = mousePos;
|
||||
}
|
||||
}
|
||||
|
||||
private void Panel1_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (e.Button == MouseButtons.Left)
|
||||
{
|
||||
mouseOffset = new Point(-e.X, -e.Y);
|
||||
isMouseDown = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void Panel1_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
isMouseDown = false;
|
||||
}
|
||||
|
||||
private void PictureBox1_MouseHover(object sender, EventArgs e)
|
||||
{
|
||||
this.pbCloseBase.Image = global::Work.Properties.Resources.close_hover;
|
||||
this.Cursor = Cursors.Hand;
|
||||
|
||||
}
|
||||
|
||||
private void PictureBox1_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
this.pbCloseBase.Image = global::Work.Properties.Resources.close;
|
||||
this.Cursor = Cursors.Default;
|
||||
|
||||
}
|
||||
|
||||
private void PictureBox2_MouseHover(object sender, EventArgs e)
|
||||
{
|
||||
this.pbMinBase.Image = global::Work.Properties.Resources.min_hover;
|
||||
this.Cursor = Cursors.Hand;
|
||||
|
||||
}
|
||||
|
||||
private void PictureBox2_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
this.pbMinBase.Image = global::Work.Properties.Resources.min;
|
||||
this.Cursor = Cursors.Default;
|
||||
|
||||
}
|
||||
|
||||
public virtual void HideTitle()
|
||||
{
|
||||
// this.panel1.Visible = false;
|
||||
}
|
||||
|
||||
#region 窗体提交数据完成事件
|
||||
public event Action<object> SaveComplete;
|
||||
protected virtual void OnSaveComplete(object param)
|
||||
{
|
||||
this.SaveComplete?.Invoke(param);
|
||||
}
|
||||
#endregion
|
||||
|
||||
private void pbNormalBase_Click(object sender, EventArgs e)
|
||||
{
|
||||
WindowState = FormWindowState.Normal;
|
||||
this.pbMaxBase.Visible = true;
|
||||
this.pbNormalBase.Visible = false;
|
||||
}
|
||||
|
||||
private void pbNormalBase_MouseHover(object sender, EventArgs e)
|
||||
{
|
||||
this.pbNormalBase.Image = global::Work.Properties.Resources.normal_hover;
|
||||
this.Cursor = Cursors.Hand;
|
||||
}
|
||||
|
||||
private void pbNormalBase_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
this.pbNormalBase.Image = global::Work.Properties.Resources.normal;
|
||||
this.Cursor = Cursors.Default;
|
||||
}
|
||||
|
||||
private void pbMaxBase_Click(object sender, EventArgs e)
|
||||
{
|
||||
WindowState = FormWindowState.Maximized;
|
||||
this.pbMaxBase.Visible = false;
|
||||
this.pbNormalBase.Visible = true;
|
||||
}
|
||||
|
||||
private void pbMaxBase_MouseHover(object sender, EventArgs e)
|
||||
{
|
||||
this.pbMaxBase.Image = global::Work.Properties.Resources.max_hover;
|
||||
this.Cursor = Cursors.Hand;
|
||||
}
|
||||
|
||||
private void pbMaxBase_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
this.pbMaxBase.Image = global::Work.Properties.Resources.max;
|
||||
this.Cursor = Cursors.Default;
|
||||
}
|
||||
private Point mPoint;
|
||||
private void panel2_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
mPoint = new Point(e.X, e.Y);
|
||||
}
|
||||
|
||||
private void panel2_MouseMove(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (e.Button == MouseButtons.Left)
|
||||
{
|
||||
this.Location = new Point(this.Location.X + e.X - mPoint.X, this.Location.Y + e.Y - mPoint.Y);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
@@ -11,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace Work.BaseForms
|
||||
{
|
||||
public partial class BaseMsgForm : BaseForm
|
||||
public partial class BaseMsgForm : BaseGeneralForm
|
||||
{
|
||||
public BaseMsgForm()
|
||||
{
|
||||
|
||||
@@ -86,7 +86,7 @@ namespace Work.BuyUsers
|
||||
|
||||
|
||||
//string cookies = BaseClass.CookiesAllString["yangkeduo.com"];
|
||||
string url = BaseClass.DouYinBuildObjString("user_login_cookies&act=insert");
|
||||
string url = BaseClass.Build29WxObjString("user_login_cookies&act=insert");
|
||||
StringBuilder data = new StringBuilder();
|
||||
data.Append("&user_name=" + name);
|
||||
data.Append("&site_id=3");
|
||||
|
||||
@@ -202,7 +202,7 @@ namespace Work.BuyUsers
|
||||
}
|
||||
|
||||
//string cookies = BaseClass.CookiesAllString["yangkeduo.com"];
|
||||
string url = BaseClass.DouYinBuildObjString("user_login_cookies&act=insert");
|
||||
string url = BaseClass.Build29WxObjString("user_login_cookies&act=insert");
|
||||
StringBuilder data = new StringBuilder();
|
||||
data.Append("&user_name=" + name);
|
||||
data.Append("&site_id=0");
|
||||
|
||||
@@ -126,7 +126,7 @@ namespace Work.BuyUsers
|
||||
|
||||
|
||||
//string cookies = BaseClass.CookiesAllString["yangkeduo.com"];
|
||||
string url = BaseClass.DouYinBuildObjString("user_login_cookies&act=insert");
|
||||
string url = BaseClass.Build29WxObjString("user_login_cookies&act=insert");
|
||||
StringBuilder data = new StringBuilder();
|
||||
data.Append("&user_name=" + name);
|
||||
data.Append("&site_id=1");
|
||||
|
||||
+16
-16
@@ -27,8 +27,8 @@ namespace Work
|
||||
//BaseClass.AgentName = s.Split(',')[0];
|
||||
BaseClass.MainPath = s.Split(',')[1];
|
||||
}
|
||||
if (Randomx.GetId(1, 100) <= 70)
|
||||
BaseClass.LoginApiUrl = "http://new.qixiaoke.com/";// "http://192.168.8.9:8080/";//"http://new.qixiaoke.com/";
|
||||
//if (Randomx.GetId(1, 100) <= 70)
|
||||
// BaseClass.LoginApiUrl = "http://new.qixiaoke.com/";// "http://192.168.8.9:8080/";//"http://new.qixiaoke.com/";
|
||||
if (FileBase.Exists(Application.StartupPath + "\\oms.ini"))
|
||||
{
|
||||
BaseClass.IsMainCompany = true;
|
||||
@@ -334,16 +334,16 @@ namespace Work
|
||||
{
|
||||
if (FileBase.Exists(k.Key))
|
||||
continue;
|
||||
if (k.Key.Contains("OrderComing.ico") || k.Key.Contains("AfterSale.ico"))
|
||||
{
|
||||
if (GetHtml.DownloadFile("http://dl.qixiaoke.com/files/" + k.Key, k.Value))
|
||||
FileBase.Move(k.Key + ".bak", k.Value);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (GetHtml.DownloadFile("http://dl.qixiaoke.com/files/" + k.Value, k.Key + ".bak"))
|
||||
FileBase.Move(k.Key + ".bak", k.Key);
|
||||
}
|
||||
//if (k.Key.Contains("OrderComing.ico") || k.Key.Contains("AfterSale.ico"))
|
||||
//{
|
||||
// if (GetHtml.DownloadFile("http://dl.qixiaoke.com/files/" + k.Key, k.Value))
|
||||
// FileBase.Move(k.Key + ".bak", k.Value);
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// if (GetHtml.DownloadFile("http://dl.qixiaoke.com/files/" + k.Value, k.Key + ".bak"))
|
||||
// FileBase.Move(k.Key + ".bak", k.Key);
|
||||
//}
|
||||
}
|
||||
//if (FileBase.Exists("cefSharp.zip"))
|
||||
//{
|
||||
@@ -352,10 +352,10 @@ namespace Work
|
||||
// FileBase.Delete("cefSharp.zip");
|
||||
//}
|
||||
//new Thread(new MulitServicerSet("拼多多商家").Login).Start();
|
||||
new AddressSetIni().Ini();
|
||||
|
||||
|
||||
|
||||
// 取地址信息
|
||||
//new AddressSetIni().Ini();
|
||||
//new AddressSetIni().getAddress1688();
|
||||
}
|
||||
/// <summary>
|
||||
/// 执行CMD命令
|
||||
@@ -3677,7 +3677,7 @@ function packkey_q(strTime){
|
||||
}
|
||||
function packkey_r(){
|
||||
var l = this;
|
||||
var webua = ""Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134""
|
||||
var webua = ""Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edge/17.17134""
|
||||
return encodeContentLength_R([].concat(l.encodeStr(""r""), l.encodeStr(webua)));
|
||||
}
|
||||
function packkey_st(strCookie){
|
||||
|
||||
@@ -88,7 +88,7 @@ namespace Work.Taobao
|
||||
request.Headers.Set(HttpRequestHeader.Pragma, "no-cache");
|
||||
request.Headers.Set(HttpRequestHeader.CacheControl, "no-cache");
|
||||
request.Headers.Add("Upgrade-Insecure-Requests", @"1");
|
||||
request.UserAgent = "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36";
|
||||
request.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36";
|
||||
request.Accept = "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8";
|
||||
request.Headers.Set(HttpRequestHeader.AcceptEncoding, "gzip, deflate, br");
|
||||
request.Headers.Set(HttpRequestHeader.AcceptLanguage, "en-US,en;q=0.9");
|
||||
|
||||
+97
-26
@@ -3,6 +3,7 @@ using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using AllBase;
|
||||
using NaiBa.Util.Extension;
|
||||
|
||||
namespace Work
|
||||
{
|
||||
@@ -32,7 +33,7 @@ namespace Work
|
||||
BaseClass.UserName = Mobile;
|
||||
Random r = new Random();
|
||||
int r2 = r.Next(100000000, 899999999); //生成随机码
|
||||
string url = BaseClass.DouYinBuildObjString("login");
|
||||
string url = BaseClass.Build29WxObjString("user/user_login");
|
||||
for (int j = 0; j < 100 && string.IsNullOrEmpty(BaseClass.MacInfo); j++)
|
||||
{
|
||||
Thread.Sleep(10);
|
||||
@@ -40,6 +41,7 @@ namespace Work
|
||||
Agian:
|
||||
string data = "mobile=" + mobile + "&r2=" + r2 + "&password=" + passwordMd5 + "&" + GetSignature() + "&mac=" + BaseClass.MacInfo + "&version=" + BaseClass.VersionCount;
|
||||
data += "&from_tool=" + GetHtml.UrlEncodeUtf8(BaseClass.AgentName) + "&client_ip=" + GetHtml.UrlEncodeUtf8(BaseClass.IPAddress) + "&client_addr=" + GetHtml.UrlEncodeUtf8(BaseClass.IPAddressName);
|
||||
data += "&sub_soft_type=order";
|
||||
string html = GetHtml.PostUtf8(url, data);
|
||||
lockUserName = -1;
|
||||
weakPassword = -1;
|
||||
@@ -49,7 +51,7 @@ namespace Work
|
||||
if (!IsLoginDef)
|
||||
{
|
||||
IsLoginDef = true;
|
||||
url = BaseClass.DouYinBuildObjString("login");
|
||||
url = BaseClass.Build29WxObjString("login");
|
||||
goto Agian;
|
||||
}
|
||||
|
||||
@@ -80,42 +82,107 @@ namespace Work
|
||||
|
||||
if (IsLoginDef)
|
||||
{
|
||||
BaseClass.LoginApiUrl = "http://new.qixiaoke.com/";
|
||||
BaseClass.ImageApiUrl = BaseClass.LoginApiUrl + "index.php?obj=api/image";
|
||||
//BaseClass.LoginApiUrl = "http://new.qixiaoke.com/";
|
||||
//BaseClass.ImageApiUrl = BaseClass.LoginApiUrl + "index.php?obj=api/image";
|
||||
}
|
||||
|
||||
BaseClass.EndDate = BaseRegex.GetStringJson(ref html, "end");
|
||||
BaseClass.CompanyName = BaseRegex.GetStringJson(ref html, "company");
|
||||
BaseClass.UserId =Convert.ToInt32(BaseRegex.GetStringJson(ref html, "uid"));
|
||||
BaseClass.UserKey = Convert.ToInt32(BaseRegex.GetStringJson(ref html, "key"));
|
||||
BaseClass.NickName = BaseRegex.GetStringJson(ref html, "nickname");
|
||||
BaseClass.UserVersion = Convert.ToInt32(BaseRegex.GetStringJson(ref html, "v"));
|
||||
BaseClass.UserVersionString = BaseRegex.GetStringJson(ref html, "vt");
|
||||
BaseClass.CompanyId = Convert.ToInt32(BaseRegex.GetStringJson(ref html, "cid"));
|
||||
BaseClass.GroupId = Convert.ToInt32(BaseRegex.GetStringJson(ref html, "groupid"));
|
||||
BaseClass.Balance = Convert.ToInt32(BaseRegex.GetStringJson(ref html, "balance"));
|
||||
BaseClass.IsFactory = Convert.ToInt32(BaseRegex.GetStringJson(ref html, "factory")) == 1;
|
||||
BaseClass.IsCloudBuyOrder = Convert.ToInt32(BaseRegex.GetStringJson(ref html, "cloud_buy_order_status")) == 1;
|
||||
//BaseClass.EndDate = BaseRegex.GetStringJson(ref html, "end");
|
||||
//BaseClass.CompanyName = BaseRegex.GetStringJson(ref html, "company");
|
||||
//BaseClass.UserId =Convert.ToInt32(BaseRegex.GetStringJson(ref html, "uid"));
|
||||
//BaseClass.UserKey = Convert.ToInt32(BaseRegex.GetStringJson(ref html, "key"));
|
||||
//BaseClass.NickName = BaseRegex.GetStringJson(ref html, "nickname");
|
||||
//BaseClass.UserVersion = Convert.ToInt32(BaseRegex.GetStringJson(ref html, "v"));
|
||||
//BaseClass.UserVersionString = BaseRegex.GetStringJson(ref html, "vt");
|
||||
//BaseClass.CompanyId = Convert.ToInt32(BaseRegex.GetStringJson(ref html, "cid"));
|
||||
//BaseClass.GroupId = Convert.ToInt32(BaseRegex.GetStringJson(ref html, "groupid"));
|
||||
//BaseClass.Balance = Convert.ToInt32(BaseRegex.GetStringJson(ref html, "balance"));
|
||||
//BaseClass.IsFactory = Convert.ToInt32(BaseRegex.GetStringJson(ref html, "factory")) == 1;
|
||||
//BaseClass.IsCloudBuyOrder = Convert.ToInt32(BaseRegex.GetStringJson(ref html, "cloud_buy_order_status")) == 1;
|
||||
//if (BaseClass.GroupId != 3 && BaseClass.GroupId != 4 && BaseClass.GroupId != 9 && BaseClass.GroupId != 10 && BaseClass.GroupId != 11)
|
||||
//{
|
||||
// BaseClass.UserId = 0;
|
||||
// BaseClass.UserKey = 0;
|
||||
// return false;
|
||||
//}
|
||||
//BaseClass.EndDate = BaseRegex.GetStringJson(ref html, "end");
|
||||
//BaseClass.CompanyName = BaseRegex.GetStringJson(ref html, "company");
|
||||
|
||||
//string islock = BaseRegex.GetStringJson(ref html, "is_lock");
|
||||
//int.TryParse(islock, out lockUserName);
|
||||
//string isweak = BaseRegex.GetStringJson(ref html, "is_weak_password");
|
||||
//int.TryParse(isweak, out weakPassword);
|
||||
//messageInfo = BaseRegex.GetStringJson(ref html, "message");
|
||||
|
||||
//// 代理权限列表
|
||||
//string agent_auth = BaseRegex.GetStringJson(ref html, "agent_auth");
|
||||
|
||||
BaseClass.UserId = BaseRegex.GetStringJson(ref html, "id").ParseToInt();
|
||||
BaseClass.UserKey = BaseRegex.GetStringJson(ref html, "user_key").ParseToInt();
|
||||
BaseClass.NickName = BaseRegex.GetStringJson(ref html, "nick_name");
|
||||
BaseClass.UserName = BaseRegex.GetStringJson(ref html, "user_name");
|
||||
BaseClass.ParentUserName = BaseRegex.GetStringJson(ref html, "parent_user_name");
|
||||
BaseClass.SaLevel = BaseRegex.GetIntJson(ref html, "sa_level").ParseToInt();
|
||||
BaseClass.UserAuthority = BaseRegex.GetStringJson(ref html, "authority").ParseToString();
|
||||
BaseClass.ParentAuthority = BaseRegex.GetStringJson(ref html, "parent_authority").ParseToString();
|
||||
BaseClass.Mobile = BaseRegex.GetStringJson(ref html, "mobile");
|
||||
BaseClass.UserVersion = BaseRegex.GetStringJson(ref html, "version").ParseToInt();
|
||||
BaseClass.UserVersionString = BaseRegex.GetStringJson(ref html, "version_s");
|
||||
BaseClass.CompanyId = BaseRegex.GetStringJson(ref html, "company_Id").ParseToInt();
|
||||
BaseClass.GroupId = BaseRegex.GetStringJson(ref html, "group_id").ParseToInt();
|
||||
//BaseClass.AuthorizedAmount = BaseRegex.GetNullableDecimalJson(ref html, "authorized_amount");
|
||||
BaseClass.Points = BaseRegex.GetStringJson(ref html, "points").ParseToInt();
|
||||
BaseClass.ShopPointsPerMonth = BaseRegex.GetStringJson(ref html, "shop_points_per_month").ParseToInt();
|
||||
|
||||
if (BaseClass.GroupId != 3 && BaseClass.GroupId != 4 && BaseClass.GroupId != 9 && BaseClass.GroupId != 10 && BaseClass.GroupId != 11)
|
||||
{
|
||||
BaseClass.UserId = 0;
|
||||
BaseClass.UserKey = 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
BaseClass.EndDate = BaseRegex.GetStringJson(ref html, "end");
|
||||
BaseClass.CompanyName = BaseRegex.GetStringJson(ref html, "company");
|
||||
|
||||
BaseClass.CompanyName = BaseRegex.GetStringJson(ref html, "company_name");
|
||||
if (BaseClass.UserVersion == 3)
|
||||
{
|
||||
BaseClass.QqGroupNum = BaseRegex.GetStringJson(ref html, "qq_group_num");
|
||||
BaseClass.QqGroupUrl = BaseRegex.GetStringJson(ref html, "qq_group_url");
|
||||
BaseClass.WechatUrl = BaseRegex.GetStringJson(ref html, "wechat_url");
|
||||
}
|
||||
if (BaseClass.UserVersion == 3 || BaseClass.UserVersion == 4 || BaseClass.UserVersion == 5 || BaseClass.UserVersion == 10 || BaseClass.UserVersion == 9)
|
||||
{
|
||||
BaseClass.IsPinduoduo = BaseRegex.GetStringJson(ref html, "pinduoduo") == "1";
|
||||
BaseClass.AlimamaDomain = BaseRegex.GetStringJson(ref html, "alimama_domain");
|
||||
BaseClass.AlimamaPid = BaseRegex.GetStringJson(ref html, "alimama_pid");
|
||||
}
|
||||
if (!BaseClass.UserApi && BaseClass.UserVersion != 110)
|
||||
BaseClass.UserVersion = 100;
|
||||
//if (BaseClass.UserVersion == 110)
|
||||
// BaseClass.ClientId = BaseSpecialConfig.ToolClientId; // 特别版本,使用指定ClientId
|
||||
|
||||
string islock = BaseRegex.GetStringJson(ref html, "is_lock");
|
||||
int.TryParse(islock, out lockUserName);
|
||||
string isweak = BaseRegex.GetStringJson(ref html, "is_weak_password");
|
||||
int.TryParse(isweak, out weakPassword);
|
||||
messageInfo = BaseRegex.GetStringJson(ref html, "message");
|
||||
|
||||
// 代理权限列表
|
||||
string agent_auth = BaseRegex.GetStringJson(ref html, "agent_auth");
|
||||
|
||||
//// 代理权限列表
|
||||
//string agent_auth = BaseRegex.GetStringJson(ref html, "agent_auth");
|
||||
//if (!string.IsNullOrEmpty(agent_auth) && agent_auth != "0")
|
||||
//{
|
||||
// var strArr = agent_auth.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries);
|
||||
// foreach (var item in strArr)
|
||||
// {
|
||||
// var itemArr = item.Split(',');
|
||||
// if (itemArr.Length == 2)
|
||||
// {
|
||||
// BaseClass.AgentAuth[itemArr[0]] = itemArr[1];
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
Initialization i = new Initialization();
|
||||
BaseClass.IsLoginSuccess = true;
|
||||
|
||||
Initialization i = new Initialization();
|
||||
i.SaveConfig();
|
||||
return true;
|
||||
}
|
||||
@@ -134,7 +201,7 @@ namespace Work
|
||||
public bool Regedit(string mobile, string password, string code, string nickname, string email, out string message)
|
||||
{
|
||||
string passwordMd5 = Md5Base.GetMd5(password).ToLower();
|
||||
string url = BaseClass.DouYinBuildObjString("regedit");
|
||||
string url = BaseClass.Build29WxObjString("regedit");
|
||||
string data = "mobile=" + mobile + "&password=" + passwordMd5 + "&sms_code=" + code + "&nickname=" + GetHtml.UrlEncodeUtf8(nickname) +
|
||||
"&email=" + email + "&" + GetSignature();
|
||||
string html = GetHtml.PostUtf8(url, data);
|
||||
@@ -179,7 +246,7 @@ namespace Work
|
||||
public bool ResetPassword(string mobile, string code, string password, out string message)
|
||||
{
|
||||
string passwordMd5 = Md5Base.GetMd5(password).ToLower();
|
||||
string url = BaseClass.DouYinBuildObjString("reset_password");
|
||||
string url = BaseClass.Build29WxObjString("reset_password");
|
||||
string data = "mobile=" + mobile + "&password=" + passwordMd5 + "&sms_code=" + code + "&" + GetSignature();
|
||||
string html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || html.Contains("Error No File"))
|
||||
@@ -321,7 +388,11 @@ namespace Work
|
||||
/// <returns>加密签名结果</returns>
|
||||
public static string Encryption(int s)
|
||||
{
|
||||
return GetMd5(s + "sdhewu*/fhAAue48485ew5+5%@3485esGFFHFD");
|
||||
//return GetMd5(s + "sdhewu*/fhAAue48485ew5+5%@3485esGFFHFD");
|
||||
|
||||
string sign = $"{s}sdhewu*/fhAAue48485ew5+5%@3485esGFFHFD";
|
||||
return GetMd5(sign);
|
||||
|
||||
}
|
||||
|
||||
public string Get(string key)
|
||||
@@ -364,7 +435,7 @@ namespace Work
|
||||
/// <returns></returns>
|
||||
public static string SendCode(string mobile, out bool success)
|
||||
{
|
||||
string url = BaseClass.DouYinBuildObjString("sms_gate");
|
||||
string url = BaseClass.Build29WxObjString("sms_gate");
|
||||
string data = "mobile=" + mobile + "&" + GetSignature();
|
||||
string html = GetHtml.PostUtf8(url, data);
|
||||
success = false;
|
||||
|
||||
+13
-1
@@ -6,6 +6,18 @@
|
||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="CefSharp.WinForms" publicKeyToken="40c4b6fc221f4138" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-138.0.340.0" newVersion="138.0.340.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="CefSharp.Core" publicKeyToken="40c4b6fc221f4138" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-138.0.340.0" newVersion="138.0.340.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="CefSharp" publicKeyToken="40c4b6fc221f4138" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-138.0.340.0" newVersion="138.0.340.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" /></startup></configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" /></startup></configuration>
|
||||
@@ -2,6 +2,9 @@
|
||||
<packages>
|
||||
<package id="cef.redist.x64" version="79.1.36" targetFramework="net452" />
|
||||
<package id="cef.redist.x86" version="79.1.36" targetFramework="net452" />
|
||||
<package id="CefSharp.Common" version="79.1.360" targetFramework="net452" />
|
||||
<package id="CefSharp.WinForms" version="79.1.360" targetFramework="net452" />
|
||||
<package id="CefSharp.Common" version="138.0.340" targetFramework="net462" />
|
||||
<package id="CefSharp.WinForms" version="138.0.340" targetFramework="net462" />
|
||||
<package id="chromiumembeddedframework.runtime.win-x64" version="138.0.34" targetFramework="net462" />
|
||||
<package id="chromiumembeddedframework.runtime.win-x86" version="138.0.34" targetFramework="net462" />
|
||||
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net462" />
|
||||
</packages>
|
||||
Reference in new issue
Block a user