diff --git a/AllBase/AllBase.csproj b/AllBase/AllBase.csproj
index f65a829..c1440ce 100644
--- a/AllBase/AllBase.csproj
+++ b/AllBase/AllBase.csproj
@@ -194,6 +194,7 @@
+
diff --git a/AllBase/Model/Result/TemuDBPriceInfo.cs b/AllBase/Model/Result/TemuDBPriceInfo.cs
new file mode 100644
index 0000000..d6048b7
--- /dev/null
+++ b/AllBase/Model/Result/TemuDBPriceInfo.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace AllBase.Model.Result
+{
+ public class TemuDBPriceInfo
+ {
+ public int id { get; set; }
+ public string ext_code { get; set; }
+ public int original_price { get; set; }
+ public int markup_times { get; set; }
+ public int extra_price { get; set; }
+ public string notes { get; set; }
+ public DateTime add_time { get; set; }
+ public DateTime mdy_time { get; set; }
+ }
+}
diff --git a/KJDService/KJD_WebService/BLL/PriceManage.cs b/KJDService/KJD_WebService/BLL/PriceManage.cs
new file mode 100644
index 0000000..f827f59
--- /dev/null
+++ b/KJDService/KJD_WebService/BLL/PriceManage.cs
@@ -0,0 +1,285 @@
+using KJD_Web.Model;
+using KJD_Web.Utils;
+using MySql.Data.MySqlClient;
+using NaiBa.Util.Extension;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Linq;
+using System.Web;
+using System.Web.Security;
+
+namespace KJD_Web.BLL
+{
+ public class PriceManage
+ {
+ public string AddPrice(string inputData)
+ {
+ if (!string.IsNullOrEmpty(inputData))
+ {
+ var time = RegexUtils.GetStringQuery(ref inputData, "time").ParseToInt();
+ string time1 = RegexUtils.GetStringQuery(ref inputData, "code");
+ if (time1 != EncrypUtil.Encryption(time))
+ return "{\"code\":50000,\"msg\":\"校验失败\"}";
+
+ string user_name = RegexUtils.GetStringQuery(ref inputData, "user_name");
+ string ext_code = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "ext_code")).ParseToString();
+ int original_price = RegexUtils.GetStringQuery(ref inputData, "original_price").ParseToInt();
+ int markup_times = RegexUtils.GetStringQuery(ref inputData, "markup_times").ParseToInt();
+ int extra_price = RegexUtils.GetStringQuery(ref inputData, "extra_price").ParseToInt();
+ string notes = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "notes")).ParseToString();
+
+ if (string.IsNullOrEmpty(user_name))
+ {
+ return "{\"code\":500,\"msg\":\"没有用户名\"}";
+ }
+
+ string conn = System.Configuration.ConfigurationManager.ConnectionStrings["ConnKJD"].ConnectionString;
+ MysqlUtils mySql = new MysqlUtils(conn);
+ string sqlExist = "select count(ext_code) from kjd.price_markup where ext_code=@ext_code";
+ string sql = "insert into kjd.price_markup " +
+ "(ext_code,original_price,markup_times,extra_price,notes) " +
+ "values (@ext_code,@original_price,@markup_times,@extra_price,@notes);";
+ List paramLst = new List();
+ paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@ext_code", Value = ext_code, });
+ paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@original_price", Value = original_price, });
+ paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@markup_times", Value = markup_times, });
+ paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@extra_price", Value = extra_price, });
+ paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@notes", Value = notes, });
+
+ var has = mySql.ExecuteFirst(sqlExist, paramLst.ToArray());
+ if (has != "0")
+ {
+ mySql.Close();
+ return "{\"code\":501,\"msg\":\"货号 " + ext_code + " 价格数据已存在\"}";
+ }
+
+ var rst = mySql.ExecuteNonQuery(sql, paramLst.ToArray());
+ mySql.Close();
+ if (rst)
+ {
+ return "{\"code\":200,\"msg\":\"success\"}";
+ }
+ else
+ {
+ return "{\"code\":502,\"msg\":\"" + mySql.Message + "\"}";
+ }
+ }
+ return "{\"code\":19999,\"msg\":\"输入为空\"}";
+ }
+
+ public string GetPriceList(string inputData)
+ {
+ if (!string.IsNullOrEmpty(inputData))
+ {
+ var time = RegexUtils.GetStringQuery(ref inputData, "time").ParseToInt();
+ string time1 = RegexUtils.GetStringQuery(ref inputData, "code");
+ if (time1 != EncrypUtil.Encryption(time))
+ return "{\"code\":50000,\"msg\":\"校验失败\"}";
+
+ var user_name = RegexUtils.GetStringQuery(ref inputData, "user_name");
+ var password = RegexUtils.GetStringQuery(ref inputData, "password");
+
+ string start_original_price = RegexUtils.GetStringQuery(ref inputData, "start_original_price");
+ string end_original_price = RegexUtils.GetStringQuery(ref inputData, "end_original_price");
+ string start_markup_times = RegexUtils.GetStringQuery(ref inputData, "start_markup_times");
+ string end_markup_times = RegexUtils.GetStringQuery(ref inputData, "end_markup_times");
+ string start_extra_price = RegexUtils.GetStringQuery(ref inputData, "start_extra_price");
+ string end_extra_price = RegexUtils.GetStringQuery(ref inputData, "end_extra_price");
+ var search_ext_code = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "search_ext_code"));
+ var search_notes = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "search_notes"));
+ var in_ext_code = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "in_ext_code"));
+ int page = RegexUtils.GetStringQuery(ref inputData, "page").ParseToInt();
+ int page_size = RegexUtils.GetStringQuery(ref inputData, "page_size").ParseToInt(50);
+ if (string.IsNullOrEmpty(user_name))
+ {
+ return "{\"code\":500,\"msg\":\"没有用户名\"}";
+ }
+
+
+ List paramLst = new List();
+ paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@search_ext_code", Value = "%" + search_ext_code + "%", });
+ paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@search_notes", Value = "%" + search_notes + "%", });
+ paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@start_original_price", Value = start_original_price.ParseToInt(), });
+ paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@end_original_price", Value = end_original_price.ParseToInt(), });
+ paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@start_markup_times", Value = start_markup_times.ParseToInt(), });
+ paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@end_markup_times", Value = end_markup_times.ParseToInt(), });
+ paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@start_extra_price", Value = start_extra_price.ParseToInt(), });
+ paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@end_extra_price", Value = end_extra_price.ParseToInt(), });
+ paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@in_ext_code", Value = "'" + in_ext_code?.Replace(",","','") + "'", });
+
+ string conn = System.Configuration.ConfigurationManager.ConnectionStrings["ConnKJD"].ConnectionString;
+ MysqlUtils mySql = new MysqlUtils(conn);
+
+ string sql = "select count(id) from kjd.price_markup p where 1=1";
+
+ string where = "";
+ if (!string.IsNullOrWhiteSpace(search_ext_code))
+ where += " and p.ext_code like @search_ext_code";
+ if (!string.IsNullOrWhiteSpace(search_notes))
+ where += " and p.notes like @search_notes";
+ if (!string.IsNullOrWhiteSpace(start_original_price))
+ where += " and p.original_price >= @start_original_price";
+ if (!string.IsNullOrWhiteSpace(end_original_price))
+ where += " and p.original_price <= @end_original_price";
+ if (!string.IsNullOrWhiteSpace(start_markup_times))
+ where += " and p.markup_times >= @start_markup_times";
+ if (!string.IsNullOrWhiteSpace(end_markup_times))
+ where += " and p.markup_times <= @end_markup_times";
+ if (!string.IsNullOrWhiteSpace(start_extra_price))
+ where += " and p.extra_price >= @start_extra_price";
+ if (!string.IsNullOrWhiteSpace(end_extra_price))
+ where += " and p.extra_price <= @end_extra_price";
+ if (!string.IsNullOrEmpty(in_ext_code))
+ where += " and p.ext_code in (@in_ext_code)";
+ sql += where;
+
+ var count = mySql.ExecuteRowCount(sql, paramLst.ToArray());
+
+ DataTable dt;
+ if (count == 0)
+ {
+ dt = new DataTable();
+ }
+ else
+ {
+ sql = "select * from kjd.price_markup p where 1=1";
+
+ //where子句
+ sql += where;
+
+ sql += " order by p.id desc";
+ sql += " limit " + Math.Max(page - 1, 0) * page_size + "," + page_size;
+ dt = mySql.ExecuteDataTable(sql, paramLst.ToArray());
+ }
+
+ mySql.Close();
+ if (dt != null)
+ {
+ try
+ {
+ List priceList = new List();
+ foreach (DataRow row in dt.Rows)
+ {
+ DBPriceResultParam price = new DBPriceResultParam
+ {
+ id = row["id"].ParseToInt(),
+ extra_price = row["extra_price"].ParseToInt(),
+ markup_times = row["markup_times"].ParseToInt(),
+ original_price = row["original_price"].ParseToInt(),
+ notes = row["notes"].ParseToString(),
+ ext_code = row["ext_code"].ParseToString(),
+ add_time = Convert.ToDateTime(row["add_time"]),
+ mdy_time = Convert.ToDateTime(row["mdy_time"]),
+ };
+ priceList.Add(price);
+ }
+ var data = JsonUtils.SerializerObjectToString(priceList);
+ return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"count\":" + count + "}";
+ }
+ catch (Exception ex)
+ {
+ return "{\"code\":500,\"msg\":\"" + ex.Message + "\",\"data\":[],\"count\":" + 0 + "}";
+ }
+ }
+ else
+ {
+ return "{\"code\":500,\"msg\":\"" + mySql.Message + "\",\"data\":[],\"count\":" + 0 + "}";
+ }
+ }
+ return "{\"code\":19999,\"msg\":\"输入为空\"}";
+ }
+
+ public string DelDbPrice(string inputData)
+ {
+ if (!string.IsNullOrEmpty(inputData))
+ {
+ var time = RegexUtils.GetStringQuery(ref inputData, "time").ParseToInt();
+ string time1 = RegexUtils.GetStringQuery(ref inputData, "code");
+ if (time1 != EncrypUtil.Encryption(time))
+ return "{\"code\":50000,\"msg\":\"校验失败\"}";
+
+ var user_name = RegexUtils.GetStringQuery(ref inputData, "user_name")?.Replace("'", "\\'");
+ var id = RegexUtils.GetStringQuery(ref inputData, "db_id")?.Replace("'", "\\'");
+
+ if (string.IsNullOrEmpty(user_name))
+ {
+ return "{\"code\":500,\"msg\":\"没有用户名\"}";
+ }
+
+ string conn = System.Configuration.ConfigurationManager.ConnectionStrings["ConnKJD"].ConnectionString;
+ MysqlUtils mySql = new MysqlUtils(conn);
+ string sql = "delete from kjd.price_markup where id='" + id + "'";
+
+ var rst = mySql.ExecuteNonQuery(sql);
+ mySql.Close();
+ if (rst)
+ {
+ return "{\"code\":200,\"msg\":\"success\"}";
+ }
+ else
+ return "{\"code\":500,\"msg\":\"删除失败:" + mySql.Message + "\"}";
+ }
+ return "{\"code\":19999,\"msg\":\"输入为空\"}";
+ }
+
+ public string MdyDBPrice(string inputData, bool isAdmin = false)
+ {
+ if (!string.IsNullOrEmpty(inputData))
+ {
+ var time = RegexUtils.GetStringQuery(ref inputData, "time").ParseToInt();
+ string time1 = RegexUtils.GetStringQuery(ref inputData, "code");
+ if (time1 != EncrypUtil.Encryption(time))
+ return "{\"code\":50000,\"msg\":\"校验失败\"}";
+
+ var user_name = RegexUtils.GetStringQuery(ref inputData, "user_name");
+ var id = RegexUtils.GetStringQuery(ref inputData, "db_id");
+ string notes = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "notes"));
+ string ext_code = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "ext_code"));
+ string original_price = RegexUtils.GetStringQuery(ref inputData, "original_price");
+ string markup_times = RegexUtils.GetStringQuery(ref inputData, "markup_times");
+ string extra_price = RegexUtils.GetStringQuery(ref inputData, "extra_price");
+
+ if (string.IsNullOrEmpty(user_name))
+ {
+ return "{\"code\":500,\"msg\":\"没有用户名\"}";
+ }
+
+ List paramLst = new List();
+ paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@ext_code", Value = ext_code, });
+ paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@original_price", Value = original_price.ParseToInt(), });
+ paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@markup_times", Value = markup_times.ParseToInt(), });
+ paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@extra_price", Value = extra_price.ParseToInt(), });
+ paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@notes", Value = notes, });
+
+ string conn = System.Configuration.ConfigurationManager.ConnectionStrings["ConnKJD"].ConnectionString;
+ MysqlUtils mySql = new MysqlUtils(conn);
+ string sql = "update kjd.price_markup set";
+ if (notes != null)
+ sql += " notes=@notes,";
+ //if (ext_code != null)
+ // sql += " ext_code=@ext_code,";
+ if (original_price != null)
+ sql += " original_price=@original_price,";
+ if (markup_times != null)
+ sql += " markup_times=@markup_times,";
+ if (extra_price != null)
+ sql += " extra_price=@extra_price,";
+ sql = sql.TrimEnd(',');
+ sql += " where id=@id;";
+
+ var rst = mySql.ExecuteNonQuery(sql);
+ mySql.Close();
+ if (rst)
+ {
+ return "{\"code\":200,\"msg\":\"success\"}";
+ }
+ else
+ {
+ return "{\"code\":500,\"msg\":\"更新失败:" + mySql.Message + "\"}";
+ }
+ }
+ return "{\"code\":19999,\"msg\":\"输入为空\"}";
+ }
+ }
+}
\ No newline at end of file
diff --git a/KJDService/KJD_WebService/BLL/UpadteManage.cs b/KJDService/KJD_WebService/BLL/UpadteManage.cs
index 31e3b99..47383d6 100644
--- a/KJDService/KJD_WebService/BLL/UpadteManage.cs
+++ b/KJDService/KJD_WebService/BLL/UpadteManage.cs
@@ -1,4 +1,5 @@
using KJD_Web.Utils;
+using NaiBa.Util.Extension;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -21,21 +22,25 @@ namespace KJD_Web.BLL
if (time1 != EncrypUtil.Encryption(time))
return "{\"code\":50000,\"msg\":\"校验失败\"}";
- var version = 0;
- int.TryParse(RegexUtils.GetStringQuery(ref inputData, "version"), out version);
+ var version = RegexUtils.GetStringQuery(ref inputData, "version").ParseToInt();
var serverVersion = System.Configuration.ConfigurationManager.ConnectionStrings["UpdateVersion"].ConnectionString;
var UpdateFiles = System.Configuration.ConfigurationManager.ConnectionStrings["UpdateFiles"].ConnectionString;
var UpdateExe = System.Configuration.ConfigurationManager.ConnectionStrings["UpdateExe"].ConnectionString;
var UpdateExeChk = System.Configuration.ConfigurationManager.ConnectionStrings["UpdateExeChk"].ConnectionString;
+ var LowVersion = System.Configuration.ConfigurationManager.ConnectionStrings["LowVersion"].ConnectionString;
- if (version > 0)
+ if (version > LowVersion.ParseToInt())
{
return "{\"code\":200,\"msg\":\"success\",\"next_version\":" + serverVersion + ",\"exe_check\":\"" + UpdateExeChk +
"\",\"exe_address\":\"" + UpdateExe + "\",\"file_address\":\"" + UpdateFiles + "\"}";
}
+ else if (version > 0)
+ {
+ return "{\"code\":501,\"msg\":\"版本过低已无法直接升级,请联系管理员获取最新安装包\"}";
+ }
else
{
- return "{\"code\":501,\"msg\":\"failed\"}";
+ return "{\"code\":502,\"msg\":\"get update version failed\"}";
}
}
return "{\"code\":19999,\"msg\":\"未知错误\"}";
diff --git a/KJDService/KJD_WebService/Global.asax.cs b/KJDService/KJD_WebService/Global.asax.cs
index 4b239ae..851483f 100644
--- a/KJDService/KJD_WebService/Global.asax.cs
+++ b/KJDService/KJD_WebService/Global.asax.cs
@@ -48,6 +48,11 @@ namespace KJD_Web
hPath = hPath.Replace("/product_third/", "/ProductThirdService.asmx/");
Context.RewritePath(hPath);
}
+ else if (!hPath.Contains(".asmx") && hPath.Contains("/price/"))
+ {
+ hPath = hPath.Replace("/price/", "/PriceService.asmx/");
+ Context.RewritePath(hPath);
+ }
}
protected void Application_AuthenticateRequest(object sender, EventArgs e)
diff --git a/KJDService/KJD_WebService/KJD_WebService.csproj b/KJDService/KJD_WebService/KJD_WebService.csproj
index 2f70581..ba8b921 100644
--- a/KJDService/KJD_WebService/KJD_WebService.csproj
+++ b/KJDService/KJD_WebService/KJD_WebService.csproj
@@ -75,6 +75,7 @@
+
@@ -84,6 +85,7 @@
+
@@ -94,11 +96,16 @@
Global.asax
+
+
+ PriceService.asmx
+ Component
+
ProductThirdService.asmx
Component
diff --git a/KJDService/KJD_WebService/Model/DBPriceResultParam.cs b/KJDService/KJD_WebService/Model/DBPriceResultParam.cs
new file mode 100644
index 0000000..b1c0350
--- /dev/null
+++ b/KJDService/KJD_WebService/Model/DBPriceResultParam.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+
+namespace KJD_Web.Model
+{
+ public class DBPriceResultParam
+ {
+ public int id { get; set; }
+ public string ext_code { get; set; }
+ public int original_price { get; set; }
+ public int markup_times { get; set; }
+ public int extra_price { get; set; }
+ public string notes { get; set; }
+ public DateTime add_time { get; set; }
+ public DateTime mdy_time { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/KJDService/KJD_WebService/PriceService.asmx b/KJDService/KJD_WebService/PriceService.asmx
new file mode 100644
index 0000000..1b09c54
--- /dev/null
+++ b/KJDService/KJD_WebService/PriceService.asmx
@@ -0,0 +1 @@
+<%@ WebService Language="C#" CodeBehind="PriceService.asmx.cs" Class="KJD_Web.PriceService" %>
diff --git a/KJDService/KJD_WebService/PriceService.asmx.cs b/KJDService/KJD_WebService/PriceService.asmx.cs
new file mode 100644
index 0000000..88169ea
--- /dev/null
+++ b/KJDService/KJD_WebService/PriceService.asmx.cs
@@ -0,0 +1,100 @@
+using KJD_Web.BLL;
+using KJD_Web.Utils;
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Web;
+using System.Web.Services;
+
+namespace KJD_Web
+{
+ ///
+ /// PriceService 的摘要说明
+ ///
+ [WebService(Namespace = "http://tempuri.org/")]
+ [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
+ [System.ComponentModel.ToolboxItem(false)]
+ // 若要允许使用 ASP.NET AJAX 从脚本中调用此 Web 服务,请取消注释以下行。
+ // [System.Web.Script.Services.ScriptService]
+ public class PriceService : System.Web.Services.WebService
+ {
+ private string GetRequestJsonString()
+ {
+ Context.Response.ContentType = "text/html;charset=utf-8";
+ Context.Response.ContentEncoding = System.Text.Encoding.GetEncoding("utf-8");
+
+ using (Stream s = HttpContext.Current.Request.InputStream) // 获得json 字符流
+ {
+ // 还原数据流
+ byte[] b = new byte[s.Length];
+ s.Read(b, 0, (int)s.Length);
+ string jsonText = Encoding.UTF8.GetString(b); // JSON字符串
+ if (string.IsNullOrEmpty(jsonText))
+ {
+ var qs = HttpContext.Current.Request.QueryString;
+ if (qs != null && qs.Keys.Count > 0)
+ {
+ jsonText = "{";
+ foreach (var key in qs.Keys)
+ {
+ jsonText += "\"" + key + "\":" + "\"" + qs[key.ToString()] + "\";";
+ }
+ jsonText = jsonText.TrimEnd(';') + "}";
+ }
+ }
+ return jsonText;
+ }
+ }
+
+ [WebMethod]
+ public void get_price_list()
+ {
+ string jsontext = GetRequestJsonString();
+
+ var result = jsontext;
+ result = new PriceManage().GetPriceList(jsontext);
+
+ Context.Response.Write(result);
+ Context.Response.End();
+ }
+
+ [WebMethod]
+ public void add_price()
+ {
+ string jsontext = GetRequestJsonString();
+
+ var result = jsontext;
+ result = new PriceManage().AddPrice(jsontext);
+
+ Context.Response.Write(result);
+ Context.Response.End();
+ }
+
+ [WebMethod]
+ public void del_db_price()
+ {
+ string jsontext = GetRequestJsonString();
+
+ var result = jsontext;
+ result = new PriceManage().DelDbPrice(jsontext);
+
+ Context.Response.Write(result);
+ Context.Response.End();
+ }
+
+
+ [WebMethod]
+ public void mdy_db_price()
+ {
+ string jsontext = GetRequestJsonString();
+
+ var result = jsontext;
+ result = new PriceManage().MdyDBPrice(jsontext);
+
+ Context.Response.Write(result);
+ Context.Response.End();
+ }
+ }
+}
diff --git a/KJDService/KJD_WebService/Web.config b/KJDService/KJD_WebService/Web.config
index eee78e1..6643254 100644
--- a/KJDService/KJD_WebService/Web.config
+++ b/KJDService/KJD_WebService/Web.config
@@ -6,10 +6,11 @@
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
-
-
- AAABAAEAgIAQZAAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//
- AAD///8AAAAAAAAAAAAAAAAABEZmbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZkQAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAZszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
- zMxmAAAAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
- zMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
- zMzMzMzMzMzMzMzMxkAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
- zMzMzMzMzMzMzMzMzMzMzMzGQAAAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMd3d3d3d3d3
- d3d3fMzMzMzMzMzMzMzMzMzMzMzMzMYAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMd3d3iIiIiI
- iIiIiIiIiIh3d3d8zMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAABszMzMzMzMzMzMzMzMzMx3eIiIiI
- iIiIiIiIiIiIiIiIiIiIiHd8zMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAAGzMzMzMzMzMzMzMzMzMd4iI
- iIiIiIiIiIiIiIiIiIiIiIiIiIiIiHfMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAbMzMzMzMzMzMzMzMzH
- eIiIiIiIiIiHZmZmZmZmZmZmZ3eIiIiIiIiIiHzMzMzMzMzMzMzMzMxgAAAAAAAAAABszMzMzMzMzMzM
- zMzHiIiIiIiHZmZmZmZmZmZmZmZmZmZmZmZmeIiIiIiIfMzMzMzMzMzMzMzMxgAAAAAAAAAGzMzMzMzM
- zMzMzMzHiIiIiIdmZmZmZgAAAAAAAAAAAAZmZmZmZmZmeIiIiIh8zMzMzMzMzMzMzMxgAAAAAAAATMzM
- zMzMzMzMzMzHiIiIiHZmZgAAAAAAAAAAAAEAAAAAAAAAAGZmZmZniIiIiHzMzMzMzMzMzMzMxAAAAAAA
- AGzMzMzMzMzMzMzMeIiIiGZmAAAAAAERERmZmZmZmZmZkRERERAAAGZmZmZ4iIiIfMzMzMzMzMzMzMYA
- AAAAAAbMzMzMzMzMzMzMeIiIiGZgAAAAERmZmZmZmZmZmZmZmZmZmZmZkREAAGZmZniIiIfMzMzMzMzM
- zMzMYAAAAABMzMzMzMzMzMzMzIiIiHYAAAARGZmZiIiIj///////+IiIiIeZmZmZkREAZmZmiIiIfMzM
- zMzMzMzMzMQAAAAAbMzMzMzMzMzMzO6IiIYAAAARmYiI/////////////////////4iHmZmZEQBmZmeI
- iIh8zMzMzMzMzMzGAAAABMzMzMzMzMzMzMeIiIdgAAAZmI////////////////////////////iJmZmR
- EGZmZ4iIh8zMzMzMzMzMzEAAAAbMzMzMzMzMzMzoiIhwAAAZeP//////////////////////////////
- /4iZmZEAZmZ4iIh8zMzMzMzMzMxgAABMzMzMzMzMzMzOiIiGAAABiP//////////////////////////
- ////////+JmZkQZmZ4iIh8zMzMzMzMzMxAAAbMzMzMzMzMzM7oiIYAABeP//////////////////////
- ///////////////4mZkQZmZ4iIjMzMzMzMzMzMYAAMzMzMzMzMzMzu6IhwAAGP//////////////////
- /////////////////////4iZmRZmZ4iIfMzMzMzMzMzMAAbMzMzMzMzMzM7oiHAAB4//////////////
- ////////////////////////////iZmRBmZ4iIfMzMzMzMzMzGAGzMzMzMzMzMzuiIcAAHj/////////
- //////////////////////////////////iZmRZmZ4iIzMzMzMzMzMxgDMzMzMzMzMzM7ohwAAf/////
- ////////////////////////////////////////95mRZmaIiHzMzMzMzMzMwEzMzMzMzMzMzuiIEABo
- //////////////////////////////////////////////95mRZmaIiMzMzMzMzMzMRszMzMzMzMzM7o
- hwAGj///////////////////////////////////////////////95kQZmeIh8zMzMzMzMzGbMzMzMzM
- zMzu6HEAB/////////////////////////////////////////////////+ZkQZmiIjMzMzMzMzMxmzM
- zMzMzMzM7ohwAGj/////////////////////////////////////////////////iZkWZniIfMzMzMzM
- zMZszMzMzMzMxu6HEAbv/4iI/////////////////////////////////////////4iP//iZEGZoiHzM
- zMzMzMzGbMzMzMzMzM7uhxAGj/iIiIj//////////////////////////////////////4iIiI//mZFm
- aIiMzMzMzMzMxszMzMzMzMzO6IEAbv+IiIiIj/////////////////////////////////////iIiIiP
- /4mRBmeIh8zMzMzMzMbMzMzMzMzMbuhxAG7/iIiIiI////////////////iIj///j//////////////4
- iIiIiP/5mQZmiIfMzMzMzMzMzMzMzMzMzO7ocQDo+IiIiIiP///////////////u7u7u7u7o////////
- ////iIiIiIj/+JkWZoiHzMzMzMzMzMzMzMzMzMzu6BEG7/iIiIiIj/////////////+Hd3ju5maO7v//
- /////////4iIiIiI//iZEGaIh8zMzMzMzMzMzMzMzMzM7ugRBu//iIiIiI//////////////kZmZdmAZ
- mP/////////////4iIiIiP//mRBmeIjMzMzMzMzMzMzMzMzMzO7nEAbv/4iIiIiP////////////+HiI
- mZEBd5n/////////////+IiIiIj//4mQZniIzMzMzMzMzMzMzMzMzMzu5xAO7//4iIiI//ju7o//////
- //j//4mZeP/4//////////////iIiIiP//+JkGZ4iHzMzMzMzMzMzMzMzMzG7ocQDu///4iI//ju7u7u
- j//////////4mP//////////////7u7uiIiI////iZBmaIh8zMzMzMzMzMzMzMzMzu6HEG7v//////+G
- ZmZ47u7//////////4//////////////7u7u7u6P/////4mQBmiIfMzMzMzMzMzMzMzMzM7uhRBu7///
- ///3AAAAF37u7///////////////////////h2AABm7u7v/////5kAZ4iHzMzMzMzMzMzMzMzMzO7oUQ
- bu//////gQAAZgEG7u//////////////////////+BAAAAAFfu6P////+ZAGeIjMzMzMzMzMzMzMzMzM
- zu6FEG7v////+JEAAXhwAG7o/////////////////////4gAABEGARbu7/////kQBoiIzMzMzMzMzMzM
- zMzMzM7uhRBu7/////iZABmZkQBm6P////////////////////+JABGZF2AAbo////+JEGaIiMzMzMzM
- zMzMzMzMzMzO7ucRbu/////4mRZ4iZkQBu//////////////////////mQB5mZdgAG7/////iRBmiIfM
- zMzMzMzMzMzMzMzMxu7nEQ7v////+Bl+j/iZEAaP/////////////////////5l2/4mRAABu/////4kQ
- ZoiHzMzMzMzMzMzMzMzMzMzu5xEO6P//+Phgbu/4kQAI//////////////////////+Zfo/4kQAAeIiP
- //+JEGaIh8zMzMzMzMzMzMzMzMzM7ucRBu7///iOYHiI+HAAf///////////////////////mYjv+BAA
- BuiIj///iQBniIfMzMzMzMzMzMzMzMzMzO7nEQbu///3EAAG6IcRF4iP/////////////////////4GP
- /4cQAAZnbv///5EAaIiMzMzMzMzMzMzMzMzMzMzu5xEW7v//iRF3dmZgAXjmj///////////////////
- ///3ePiBEQAHdm7///iRAGiIfMzMzMzMzMzMzMzMzMzM7u5xFu6P/5EZmXZmZmbmaP//////////////
- ///////4/4d2cRAAFwbuj//4kQZoiHzMzMzMzMzMzMzMzMzMzG7ucRDu7/iXiZkQAAZmAH//////////
- ////////////+IiIdmYABmAX//j/+BAGeIh8zMzMzMzMzMzMzMzMzMzO7nEQbu/4iP+BERkREZf/////
- //////////////////+JmXdxEBEAB3////kQBoiIzMzMzMzMzMzMzMzMzMzMzu5xEW7o+P//gZmZmZmP
- ////////////////////////+JmZmZmZl453//+JAGaIh8zMzMzMzMzMzMzMzMzMzM7u5xEO7vj/+IeP
- iIj////////////////////////////4iZmZmZiPiP//cQBoiIfMzMzMzMzMzMzMzMzMzMzM7ucRFu6P
- //iP//////////////////////////////////////+Jn/j/+JAAaIiMzMzMzMzMzMzMzMzMzMzMzO7n
- ERbu7//4/////////////////////////////////////////4j///gQBoiIfMzMzMzMzMzMzMzMzMzM
- zMzu7nERbuj////////////////////////////////////////////4//+BAAaIiMzMzMzMzMzMzMzM
- zMzMzMzMzu5xEW7u////////////////////////////////////////////////cQBoiIfMzMzMzMzM
- zMzMzMzMzMzMzM7u5xEW7u//////////////////////////////////////////////+BAAaIiMzMzM
- zMzMzMzMzMzMzMzMzMzO7uYREO7o//7v//////////////////////////////////////////cABoiI
- fMzMzMzMzMzMzMzMzMzMzMzMzO7ucRFu7oj/7o////////////////////////////////////////9x
- AAeIiMzMzMzMzMzMzMzMzMzMzMzMzMzO7ucRFu7nePju7u7v////////////////////////////////
- 6P/4EAB4iIfMzMzMzMzMzMzMzMzMzMzMzMzMzu7nERBu7nmIiO7oj///////////////////////////
- ju7u7o//hwAGiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzu7nERbu7nmZl5eP//////////////////////
- ///4iPiO5nj/+HAAaIiIzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u7nERbu7oiZeI//////////////////
- ////////+ImXd5mP/4cAAHiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzM7u53ERbu7v////////////////
- ///////////////4iZl4//hgAAeIiHzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u53ERBu7v//////////
- //////////////////////////+GAAB4iI7MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7uiHEADujv////
- ///////////////////////////////3AAAGiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7ohwABmP
- ////////////////////////////////////iREAZniIjMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzuiI
- EAB4f///////////////////////////////////+JmZkWZoiIfMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
- zO6IhwBo//////////////////////////////////////iImZl2ZoiIzMzMzMzMzMzMzMzMzMzMzMzM
- zMzMzMzuiHAA7////////////////////////////////////////4iZFmZ4iHzMzMzMzMzMzMzMzMzM
- zMzMzMzMzMzO6IgQBo/////4j///////////////////////////////////mZFmaIiMzMzMzMzMzMzM
- zMzMzMzMzMzMzMzMzuiHAA7/////iIiP//////7o//////////////////iI/////4mRZmeIh8zMzMzM
- zMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiI/////+7u7u7uiIiI7u7v////iIiI/////5mRZmiIjM
- zMzMzMzMzMzMzMzMzMzMzMzMzMzuiHAA7////4iIiIiIj//3d2bu7u7u7u7u7u7//4iIiIiP////+JkW
- ZniIfMzMzMzMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiIiI//+ZkAAGZmZmZmZmbv//iIiIiIiP//
- //+ZkWZoiIzMzMzMzMzMzMzMzMzMzMzMzMzMzuiFAG7////4iIiIiIj///iZABEREREREBAG7//4iIiI
- iIj/////iZFmaIiMzMzMzMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiIiI///4kQARERERERERDo//
- +IiIiIiIj/////mZBmeIh8zMzMzMzMzMzMzMzMzMzMzMzMzuiHAG7////4iIiIiIiP//+JFmeHd3d3dx
- EW6P//iIiIiIiI/////4mRZmiIfMzMzMzMzMzMzMzMzMzMzMzMzO7ocQBo////+IiIiIiIj///iQZoiO
- 7u7u5xFu7//4iIiIiIiI////+JkWZniIzMzMzMzMzMzMzMzMzMzMzMzMzuiHEA7////4iIiIiIiP///5
- kGaIju7u7ucRbu///4iIiIiIiP////95kGZ4iHzMzMzMzMzMzMzMzMzMzMzMzM7ogQBu////+IiIiIiI
- j///+RBmiI7u7u7nEW7v//+IiIiIiIiP////iZFmaIh8zMzMzMzMzMzMzMzMzMzMzMzu6HEAaP////iI
- iIiIiI////kQZoiHzMzu5xEO6P//iIiIiIiIj////4mRZmiIjMzMzMzMzMzMzMzMzMzMzMzM7ugRBu//
- ///4iIiIiIj///+JEGaIh8zM7ucRBu7//4iIiIiIiI/////5kQZniIzMzMzMzMzMzMzMzMzMzMzMzO6I
- EAbv////iIiIiIiI////iQBniIzMzO7oERbu///4iIiIiIiP////+JkGZ4iHzMzMzMzMzMzMzMzMzMzM
- zMbuhxAGj////4iIiIiIj////3kAaIiMzMzu7nEW7v//+IiIiIiIiP////iZFmaIh8zMzMzMzMzMzMzM
- zMzMzMzO7oUQbv////+IiIiIiI////+RBmiIfMzMzu5xFu6P//+IiIiIiIj////4mRZmiIfMzMzMzMzM
- zMzMzMzMzMzMzu6BAG7////4iIiIiIj////4kQZoiHzMzM7ucRDu7///iIiIiIiIj////5kQZoiHzMzM
- zMzMzMzMzMzMzMzMzM7ocQBu////+IiIiIiI////+JAGeIh8zMzO7nERbu///4iIiIiIiI////95EGaI
- h8zMzMzMzMzMzMzMzMzMzMxu6HEA7v////iIiIiIiP////cQBoiIzMzMzu7lEW7v///4iIiIiIiP////
- iRBmeIjMzMzMzMzMzMzMzMzMzMzM7uhxBuj////4iIiIiI/////5EAaIiMzMzMbu5xEO7v//+IiIiIiI
- j////4kQZniIzMzMzMzMzMzMzMzMzMzMzO7oEQbv////+IiIiIj/////iQBmiIfMzMzM7ucRBu7///iI
- iIiIiIj///+JkGZ4iMzMzMzMzMzMzMzMzMzMzMzu6BEG7/////iIiIiI/////4EAaIiHzMzMzO7nERbu
- j///iIiIiIiI////iZBmaIh8zMzMzMzMzMzMzMzMzMzM7ucRBu/////4iIiIj/////+RAGiIjMzMzMzu
- 7nEQ7u////iIiIiIiP///4mQBmiIfMzMzMzMzMzMzMzMzMzMzO7nEAbv////+IiIiP/////4EAZ4iHzM
- zMzMzu5xEG7v///4iIiIiIj///+JkAZoiHzMzMzMzMzMxmzMzMzMzMzu5xAO7/////+IiI//////+RAG
- iIjMzMzMzM7ucRFu7v///4iIiIiI////+ZAGaIh8zMzMzMzMzMZszMzMzMzG7ocQDu//////+I//////
- /4EAZoiIzMzMzMzO7ucRBu7////4iIiIiP////mQBmiIfMzMzMzMzMzGbMzMzMzMzu6HEA7v////////
- //////9xAGiIh8zMzMzMzO7nERbu7///+IiIiI/////5kAZoiHzMzMzMzMzMxmzMzMzMzM7uhxAO7///
- ///////////4EABoiIzMzMzMzMzu7nEQbu////+IiIiP////+ZAGaIh8zMzMzMzMzMZszMzMzMzO7oUQ
- Du//////////////9xAGiIh8zMzMzMzM7u5xEW7u/////4iI//////mQBmiIfMzMzMzMzMzGTMzMzMzM
- zu6HEA7v/////////////4EABoiIzMzMzMzMzM7u5xEG7v/////////////5kAZoiHzMzMzMzMzMxAzM
- zMzMzM7uhxEO7/////////////9wAGiIh8zMzMzMzMzO7ucRFu7v////////////+RAGeIh8zMzMzMzM
- zMAGzMzMzMzO7ucRDuj////////////4EAB4iIzMzMzMzMzMzO7ucRBu6P///////////4kQBoiIzMzM
- zMzMzMxgBszMzMzMxu7nEQbo////////////gQAGiIh8zMzMzMzMzMzu7nERDu7///////////+JEAaI
- iMzMzMzMzMzMYADMzMzMzMzu5xEG7v///////////3EAZ4iIzMzMzMzMzMzMzu7nERbu7///////////
- gQBmiIfMzMzMzMzMzAAAbMzMzMzM7ucRBu7///////////gQAGiIh8zMzMzMzMzMzM7u5xEQbu7/////
- /////5EAZ4iHzMzMzMzMzMYAAEzMzMzMzO7nERDu7/////////+HAAaIiIzMzMzMzMzMzMzM7u5xEQ7u
- 7/////////gQAGiIjMzMzMzMzMzEAAAGzMzMzMzu7nEQbuj////////4cAAHiIh8zMzMzMzMzMzMzO7u
- dxEW7uj////////3AAZoiHzMzMzMzMzMYAAABMzMzMzM7u5xEG7u////////hgAAeIiHzMzMzMzMzMzM
- zMzO7ucREW7u7///////gQAGiIh8zMzMzMzMzEAAAABszMzMzM7ucREG7uj/////hmAAB4iI7MzMzMzM
- zMzMzMzMzu7ucREG7u6P////+AAAB4iIzMzMzMzMzMYAAAAATMzMzMzO7ucREG7u7oiO7mAAAHiIiMzM
- zMzMzMzMzMzMzMzu7ucREG7u7o//+HYAAHiIh8zMzMzMzMzEAAAAAAbMzMzMzu7nEREG7u7u5mAAAAeI
- iIfMzMzMzMzMzMzMzMzMzu7ucREQbu7u7uYAAAeIiHzMzMzMzMzMYAAAAAAAbMzMzMzu7nEREAZmZgAA
- AAF4iI58zMzMzMzMzMzMzMzMzMzu7ncREQZm7mZgAAB4iI7MzMzMzMzMxgAAAAAAAEzMzMzM7u7nEREQ
- AAAAABF4iI7uzMzMzMzMzMzMzMzMzMzM7u7ucRERAAAAAAAHiIiMzMzMzMzMzMQAAAAAAAAGzMzMzM7u
- 7nERERERERF3iIju7MzMzMzMzMzMzMzMzMzMzM7u7udREREQAAAReIiIfMzMzMzMzMxgAAAAAAAAAGzM
- zMzM7u7udRERERV4iI7u7MzMzMzMzMzMzMzMzMzMzMzM7u7u5xEREREReIiO7MzMzMzMzMzGAAAAAAAA
- AAAGzMzMzM7u7u53d3eIiO7u7szMzMzMzMzMzMzMzMzMzMzMzM7u7u7nd1F3eIiO7uzMzMzMzMzMYAAA
- AAAAAAAAAGzMzMzM7u7u7u7u7u7u7szMzMzMzMzMzMzMzMzMzMzMzMzMzu7u7u6IiI7u7uzMzMzMzMzM
- xgAAAAAAAAAAAAAGzMzMzMzu7u7u7u7u5szMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7u7u7u7u7u7MzMzM
- zMzMzGAAAAAAAAAAAAAAAEbMzMzMzG7u7u7ubMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u7u7u7uzM
- zMzMzMzMzGQAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzG7u
- 7szMzMzMzMzMzMYAAAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
- 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==
-
-
-
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/CleanDataForm.Designer.cs b/TEMUKJD/KJDForms/ProductForms/Old/CleanDataForm.Designer.cs
deleted file mode 100644
index 966bcf7..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/CleanDataForm.Designer.cs
+++ /dev/null
@@ -1,236 +0,0 @@
-namespace TemuKJD.KJDForms.ProductForms
-{
- partial class CleanDataForm
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CleanDataForm));
- this.chkIsUseProxy = new DevComponents.DotNetBar.Controls.CheckBoxX();
- this.buttonLoginPdd = new DevComponents.DotNetBar.ButtonX();
- this.btnImport = new DevComponents.DotNetBar.ButtonX();
- this.txtProduct = new DevComponents.DotNetBar.Controls.TextBoxX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.chkIsUseResourcePack = new DevComponents.DotNetBar.Controls.CheckBoxX();
- this.pbPaste = new System.Windows.Forms.PictureBox();
- this.pictureBox1 = new System.Windows.Forms.PictureBox();
- this.label1 = new System.Windows.Forms.Label();
- this.btnSearch = new TemuKJD.UserControls.ButtonEx();
- ((System.ComponentModel.ISupportInitialize)(this.pbPaste)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
- this.SuspendLayout();
- //
- // chkIsUseProxy
- //
- //
- //
- //
- this.chkIsUseProxy.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.chkIsUseProxy.FocusCuesEnabled = false;
- this.chkIsUseProxy.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkIsUseProxy.Location = new System.Drawing.Point(156, 217);
- this.chkIsUseProxy.Name = "chkIsUseProxy";
- this.chkIsUseProxy.Size = new System.Drawing.Size(82, 23);
- this.chkIsUseProxy.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.chkIsUseProxy.TabIndex = 51;
- this.chkIsUseProxy.Text = "使用代理IP";
- this.chkIsUseProxy.Visible = false;
- this.chkIsUseProxy.CheckedChanged += new System.EventHandler(this.chkIsUseProxy_CheckedChanged);
- //
- // buttonLoginPdd
- //
- this.buttonLoginPdd.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonLoginPdd.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.buttonLoginPdd.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonLoginPdd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.buttonLoginPdd.Location = new System.Drawing.Point(353, 174);
- this.buttonLoginPdd.Name = "buttonLoginPdd";
- this.buttonLoginPdd.Size = new System.Drawing.Size(89, 29);
- this.buttonLoginPdd.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeXP;
- this.buttonLoginPdd.TabIndex = 48;
- this.buttonLoginPdd.Text = "拼多多登录";
- this.buttonLoginPdd.TextColor = System.Drawing.Color.White;
- this.buttonLoginPdd.ThemeAware = true;
- this.buttonLoginPdd.Visible = false;
- //
- // btnImport
- //
- this.btnImport.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.btnImport.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnImport.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.btnImport.FocusCuesEnabled = false;
- this.btnImport.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnImport.Location = new System.Drawing.Point(254, 174);
- this.btnImport.Name = "btnImport";
- this.btnImport.Size = new System.Drawing.Size(89, 29);
- this.btnImport.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeXP;
- this.btnImport.TabIndex = 44;
- this.btnImport.Text = "导入链接";
- this.btnImport.TextColor = System.Drawing.Color.White;
- this.btnImport.ThemeAware = true;
- this.btnImport.Click += new System.EventHandler(this.btnImport_Click);
- //
- // txtProduct
- //
- this.txtProduct.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- //
- //
- //
- this.txtProduct.Border.Class = "TextBoxBorder";
- this.txtProduct.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.txtProduct.Font = new System.Drawing.Font("新宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtProduct.Location = new System.Drawing.Point(155, 129);
- this.txtProduct.Name = "txtProduct";
- this.txtProduct.PreventEnterBeep = true;
- this.txtProduct.Size = new System.Drawing.Size(727, 29);
- this.txtProduct.TabIndex = 46;
- this.txtProduct.TextChanged += new System.EventHandler(this.txtProduct_TextChanged);
- //
- // labelX10
- //
- this.labelX10.BackColor = System.Drawing.Color.Transparent;
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labelX10.Location = new System.Drawing.Point(61, 132);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(92, 23);
- this.labelX10.TabIndex = 45;
- this.labelX10.Text = "宝贝网址";
- //
- // chkIsUseResourcePack
- //
- //
- //
- //
- this.chkIsUseResourcePack.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.chkIsUseResourcePack.FocusCuesEnabled = false;
- this.chkIsUseResourcePack.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkIsUseResourcePack.Location = new System.Drawing.Point(254, 217);
- this.chkIsUseResourcePack.Name = "chkIsUseResourcePack";
- this.chkIsUseResourcePack.Size = new System.Drawing.Size(82, 23);
- this.chkIsUseResourcePack.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.chkIsUseResourcePack.TabIndex = 52;
- this.chkIsUseResourcePack.Text = "使用资源包";
- this.chkIsUseResourcePack.Visible = false;
- //
- // pbPaste
- //
- this.pbPaste.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.pbPaste.BackColor = System.Drawing.Color.White;
- this.pbPaste.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.pbPaste.Image = global::TemuKJD.Properties.Resources.FullPaste;
- this.pbPaste.Location = new System.Drawing.Point(879, 129);
- this.pbPaste.Name = "pbPaste";
- this.pbPaste.Size = new System.Drawing.Size(33, 29);
- this.pbPaste.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
- this.pbPaste.TabIndex = 50;
- this.pbPaste.TabStop = false;
- this.pbPaste.Click += new System.EventHandler(this.pbPaste_Click);
- //
- // pictureBox1
- //
- this.pictureBox1.Anchor = System.Windows.Forms.AnchorStyles.Top;
- this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
- this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
- this.pictureBox1.Location = new System.Drawing.Point(470, 172);
- this.pictureBox1.Name = "pictureBox1";
- this.pictureBox1.Size = new System.Drawing.Size(33, 32);
- this.pictureBox1.TabIndex = 49;
- this.pictureBox1.TabStop = false;
- this.pictureBox1.Visible = false;
- //
- // label1
- //
- this.label1.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.label1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label1.Location = new System.Drawing.Point(2, 240);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(969, 34);
- this.label1.TabIndex = 53;
- this.label1.Text = "正在初始化店铺类目,请稍候";
- this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.label1.Visible = false;
- //
- // btnSearch
- //
- this.btnSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnSearch.FlatAppearance.BorderSize = 0;
- this.btnSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 12F);
- this.btnSearch.ForeColor = System.Drawing.Color.White;
- this.btnSearch.Location = new System.Drawing.Point(155, 174);
- this.btnSearch.Margin = new System.Windows.Forms.Padding(2);
- this.btnSearch.Name = "btnSearch";
- this.btnSearch.Size = new System.Drawing.Size(94, 29);
- this.btnSearch.TabIndex = 378;
- this.btnSearch.Text = "搜索";
- this.btnSearch.UseVisualStyleBackColor = false;
- this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
- //
- // CleanDataForm
- //
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
- this.BackColor = System.Drawing.Color.White;
- this.ClientSize = new System.Drawing.Size(972, 497);
- this.Controls.Add(this.btnSearch);
- this.Controls.Add(this.label1);
- this.Controls.Add(this.chkIsUseResourcePack);
- this.Controls.Add(this.chkIsUseProxy);
- this.Controls.Add(this.pbPaste);
- this.Controls.Add(this.buttonLoginPdd);
- this.Controls.Add(this.pictureBox1);
- this.Controls.Add(this.btnImport);
- this.Controls.Add(this.txtProduct);
- this.Controls.Add(this.labelX10);
- this.Name = "CleanDataForm";
- this.Text = "CleanDataForm";
- this.Load += new System.EventHandler(this.CleanDataForm_Load);
- ((System.ComponentModel.ISupportInitialize)(this.pbPaste)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
- this.ResumeLayout(false);
-
- }
-
- #endregion
- private DevComponents.DotNetBar.Controls.CheckBoxX chkIsUseProxy;
- private System.Windows.Forms.PictureBox pbPaste;
- private DevComponents.DotNetBar.ButtonX buttonLoginPdd;
- private System.Windows.Forms.PictureBox pictureBox1;
- private DevComponents.DotNetBar.ButtonX btnImport;
- private DevComponents.DotNetBar.Controls.TextBoxX txtProduct;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.Controls.CheckBoxX chkIsUseResourcePack;
- private System.Windows.Forms.Label label1;
- private UserControls.ButtonEx btnSearch;
- }
-}
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/CleanDataForm.cs b/TEMUKJD/KJDForms/ProductForms/Old/CleanDataForm.cs
deleted file mode 100644
index 653c92d..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/CleanDataForm.cs
+++ /dev/null
@@ -1,442 +0,0 @@
-using AllBase;
-using AllBase.Helper;
-using AllBase.Model.Param.FissionManage;
-using AllBase.Model.Param.ProductManage;
-using AllBase.Model.Result;
-using TemuKJD.KJDForms.BaseForms;
-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.Text.RegularExpressions;
-using System.Threading;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-using Work.Api;
-using Work.BLL.Upload;
-using Work.CollectClass;
-
-namespace TemuKJD.KJDForms.ProductForms
-{
- public partial class CleanDataForm : BaseForm
- {
- private string cleaningData = "";
- private string sFromUrl = "";
- private string path { get; set; } = "temp/FissionBackup.txt";
- private delegate ProductCollectBase deleTaoBaoCollect(ProductCollectBase pcb);
- private delegate ProductCollectBase delePingDuoDuoCollect(TaobaoProductBase pcb);
- private delegate void deleChangePicVisible();
-
- public static List LstFissionForm = new List();
-
- public CleanDataForm()
- {
- InitializeComponent();
- }
-
- private void CleanDataForm_Load(object sender, EventArgs e)
- {
- }
-
- private void btnSearch_Click(object sender, EventArgs e)
- {
- sFromUrl = cleaningData.Trim();
- // 读取本地看是否有备份文件 提示存在备用数据,是否载入,点是载入,点否丢弃并删除备用数据,
- if (FileBase.Exists(path))
- {
- if (BaseMsgForm.ShowConfirm("是否需要载入备份数据", "提示").DialogResult == DialogResult.OK)
- {
- //载入
- using (StreamReader str = new StreamReader(path, System.Text.Encoding.Default))
- {
- sFromUrl += "\r\n" + str.ReadToEnd().Trim();
- }
- }
- else
- {
- //FileBase.Delete(path);
- }
- }
- try
- {
- CollectProductFromUrl();
- }
- catch (Exception ex)
- {
- BaseMsgForm.ShowError("未正确获取到商品信息!(请确认商品ID是否正确以及网络)");
- }
- }
-
- private void btnImport_Click(object sender, EventArgs e)
- {
- BaseMsgForm.ShowInfo("格式1:商品地址\r\n" +
- "格式2:关键词-----商品地址\r\n", "导入格式");
-
- OpenFileDialog openFileDialog = new OpenFileDialog();
- openFileDialog.Filter = "文本文件(*.txt)|*.txt";
- openFileDialog.RestoreDirectory = true;
- openFileDialog.FilterIndex = 1;
- if (openFileDialog.ShowDialog() == DialogResult.OK)
- {
- string fName = openFileDialog.FileName;
- string line = string.Empty;
- using (StreamReader sr = new StreamReader(openFileDialog.FileName, System.Text.Encoding.Default))
- {
- txtProduct.Text = string.Empty;
- txtProduct.Text = sr.ReadToEnd();
- }
- }
- }
-
- private void pbPaste_Click(object sender, EventArgs e)
- {
- IDataObject iData = Clipboard.GetDataObject();
- if (iData != null && iData.GetDataPresent(DataFormats.Text))
- {
- txtProduct.Text = (string)iData.GetData(DataFormats.Text);
- }
- }
-
- private void CollectProductFromUrl(bool showLoading = true)
- {
- string url = sFromUrl.Split(new string[] { "\r", "\n" }, StringSplitOptions.RemoveEmptyEntries).FirstOrDefault();
- if (url == null)
- {
- BaseMsgForm.ShowError("无效网址!");
- return;
- }
- if (url.Contains("-----"))
- {
- url = url.Substring(url.IndexOf("-----") + 5);
- }
- ProductCollectBase proInfo = new ProductCollectBase { from_url = url };
- // 拼多多商品采集
- if (proInfo.from_url.Contains(@"yangkeduo.com"))
- {
- TaobaoProductBase tp = new TaobaoProductBase();
- tp.GoodsId = tp.FromId = GetIdFromURLByRegex(proInfo.from_url);
- tp.FromType = "拼多多";
- if (tp.GoodsId.Equals(0))
- {
- BaseMsgForm.ShowError("无效网址!");
- return;
- }
- if (showLoading) this.pictureBox1.Visible = true;
- delePingDuoDuoCollect del_pddc = PddProductCollect;
- del_pddc.BeginInvoke(tp, ProductCollectCompleted, del_pddc);
- }
- // 其他平台商品采集
- else
- {
- if (!AllBase.BaseClass.IsCloudBuyOrder)
- {
- // 非公司用户暂时关闭除拼多多以外所有商品上传
- BaseMsgForm.ShowError("无效网址!");
- return;
- }
-
- proInfo.from_id = GetIdFromURLByRegex(proInfo.from_url);
- if (proInfo.from_id.Equals(0))
- {
- BaseMsgForm.ShowError("无效网址!");
- return;
- }
-
- if (showLoading) this.pictureBox1.Visible = true;
-
- deleTaoBaoCollect del_tbc = ProductCollect;
- del_tbc.BeginInvoke(proInfo, ProductCollectCompleted, del_tbc);
- }
- }
-
- private void ProductCollectCompleted(IAsyncResult ar)
- {
- if (ar == null) throw new ArgumentNullException("ar");
- deleTaoBaoCollect delTaoBaoCollect = ar.AsyncState as deleTaoBaoCollect;
- delePingDuoDuoCollect delPinDuoDuo = ar.AsyncState as delePingDuoDuoCollect;
- if (delTaoBaoCollect != null || delPinDuoDuo != null)
- {
- ProductCollectBase res;
- if (delPinDuoDuo != null)
- {
- res = delPinDuoDuo.EndInvoke(ar);
- }
- else
- {
- res = delTaoBaoCollect.EndInvoke(ar);
- }
-
- // 先判断是否存在page.html临时文件,存在就先删除。
- if (System.IO.File.Exists(System.IO.Directory.GetCurrentDirectory() + @"\page.html"))
- {
- System.IO.File.Delete(System.IO.Directory.GetCurrentDirectory() + @"\page.html");
- }
-
- // 调用php后台
- string createHtmlPath = Fission.creatFissionPage(res);
-
- ShowFormInUiThread(createHtmlPath, res);
- }
- }
-
- internal ProductCollectBase ProductCollect(ProductCollectBase pcb)
- {
- if (pcb.from_url.Contains("detail.1688.com"))
- {
- AlibabaProductGet proInfo = new AlibabaProductGet(pcb);
- proInfo.Get();
- pcb.cat_id = FromTitleToCatTaobao.Get(pcb.name);
- if (proInfo.Product.Images.Count == 0)
- {
- return null;
- }
- proInfo.Product.from = "阿里巴巴";
- return proInfo.Product;
- }
-
- if (pcb.from_url.Contains("jinritemai.com"))
- {
- CollectDoyin cd = new CollectDoyin(pcb);
- cd.GetProduct();
- if (!cd.GetSuccess)
- {
- BaseMsgForm.ShowInfo("采集失败,跳过:" + pcb.from_id + ":" + pcb.message);
- return null;
- }
- if (cd.Product?.IsOnSale == false)
- {
- BaseMsgForm.ShowInfo("商品已下架:" + pcb.from_id);
- return null;
- }
- cd.Product.from = "抖音";
- cd.Product.from_url = pcb.from_url;
- return cd.Product;
- }
-
- if (pcb.from_url.Contains("jd.com"))
- {
- bool isPassVerify = false;
- retry:
- ProductCollectBase proInfo = new ProductCollectBase
- {
- from_url = "https://item.m.jd.com/product/" + pcb.from_id + ".html",
- from_id = Convert.ToInt64(pcb.from_id),
- };
- JingXiCollect tm = new JingXiCollect(proInfo);
- tm.IsUseProxy = GlobalConfig.FissionSettingParam.IsUseProxyIp;
- tm.Get();
- if (!string.IsNullOrEmpty(JingXiCollect.VerifyCodeUrl))
- {
- if (!isPassVerify && JingXiCollect.VerifyCodeUrl.Contains("wqs.jd.com/item/spider_check.shtml")) // 京喜采集验证码校验 by ttzhao 2020.6.29
- {
- //Fission.JingXiVerify(JingXiCollect.VerifyCodeUrl);
- //if (string.IsNullOrEmpty(JingXiCollect.VerifyCodeUrl))
- //{
- // isPassVerify = true;
- // goto retry;
- //}
- }
- BaseMsgForm.ShowInfo("获取失败,京东商品采集需要验证");
- return null;
- }
- else if ((tm.Product != null && tm.Product.Images.Count == 0) || tm.IsOnSale == false)
- {
- Invoke(new Action(() =>
- {
- BaseMsgForm.ShowInfo("获取失败,商品不存在或不可展示");
- }));
- return null;
- }
- tm.Product.from = "京喜";
- return tm.Product;
- }
-
- TaobaoMobileCollect goodsFormInfo = new TaobaoMobileCollect(pcb);
- goodsFormInfo.IsPurifyData = true;
- try
- {
- goodsFormInfo.Get();
- }
- catch (Exception ex)
- {
- LogSave.Add("淘宝商品采集出现异常:" + ex.Message + "-" + ex.StackTrace);
- }
-
- goodsFormInfo.Product.from = "淘宝";
- return goodsFormInfo.Product;
- }
-
- internal ProductCollectBase PddProductCollect(TaobaoProductBase tp)
- {
- int retryTime = 0;
- ProductCollectBase proInfo;
-
- Retry:
- PinduoduoProductCollect pdd = new PinduoduoProductCollect(Name, tp);
- PinduoduoProductCollect.TempIds.Clear();
- pdd.IsUseProxy = GlobalConfig.FissionSettingParam.IsUseProxyIp;
- pdd.Get();
- if (GlobalConfig.FissionSettingParam.IsUseProxyIp && pdd.IsOverdue)
- {
- BaseMsgForm.ShowInfo("代理ip套餐已过期", "提示");
- }
- bool isResourceEnable = true;
- if (GlobalConfig.FissionSettingParam.IsUseResourcePack)
- {
- //Func canContinue = PinDuoDuoHelperTemp.CanContinueCollectFunc((token) => { return token.ProductDetailStatus == TokenStatus.Valid; }, null, GlobalConfig.FissionSettingParam.IsUseResourcePack, null);
- //if (!canContinue())
- //{
- // isResourceEnable = false;
- // BaseMsgForm.ShowInfo("资源包打码不可用!", "提示");
- //}
- }
- if (pdd.IsNoToken)
- {
- if (GlobalConfig.FissionSettingParam.IsUseResourcePack && isResourceEnable == true && retryTime < 2)
- {
- retryTime++;
- goto Retry;
- }
- else
- BaseMsgForm.ShowInfo("请先登录拼多多或输入Token!", "提示");
- }
- proInfo = pdd.pb;
- proInfo.from_url = proInfo.from_url.Contains(@"mobile.yangkeduo.com") ? "http://mobile.yangkeduo.com/goods.html?goods_id=" + tp.GoodsId : "http://yangkeduo.com/goods.html?goods_id=" + tp.GoodsId;
- return proInfo;
- }
-
- internal long GetIdFromURLByRegex(string url)
- {
- try
- {
- if (url.Contains(@"yangkeduo.com"))
- {
- Regex pddurl = new Regex(@"[?&]goods_id=([^]+)");
- string id = pddurl.Match(url).ToString();
- //Regex idRegex = new Regex(@"[^0-9]+");
- string Num = Regex.Replace(id, @"[^0-9]+", "");
- return long.Parse(Num);
- }
- if (url.Contains(@"1688.com"))
- {
- string str = url.Substring(0, url.IndexOf(".html")).Replace(@"1688.com", "");
- string num = Regex.Replace(str, @"[^0-9]+", "");
- return long.Parse(num);
- }
- if (url.Contains("jd.com"))
- {
- //https://item.jd.com/69126349289.html
- string str = url.Substring(url.IndexOf("jd.com/")).Replace(".html", "");
- string num = Regex.Replace(str, @"[^0-9]+", "");
- return long.Parse(num);
- }
- if (url.Contains("jinritemai.com"))
- {
- Regex pddurl = new Regex(@"[?&]id=([^]+)");
- string id = pddurl.Match(url).ToString();
- string Num = Regex.Replace(id, @"[^0-9]+", "");
- return long.Parse(Num);
- }
- Regex urlRegex = new Regex(@"[?&]id=([^]+)");
- string idStr = urlRegex.Match(url).ToString();
- //Regex idRegex = new Regex(@"[^0-9]+");
- string idNum = Regex.Replace(idStr, @"[^0-9]+", "");
- return long.Parse(idNum);
- }
- catch (Exception ex)
- {
- return 0;
- }
- }
-
- private void chkIsUseProxy_CheckedChanged(object sender, EventArgs e)
- {
- GlobalConfig.FissionSettingParam.IsUseProxyIp = chkIsUseProxy.Checked;
- if (GlobalConfig.FissionSettingParam.IsUseProxyIp)
- chkIsUseResourcePack.Checked = false;
-
- if (chkIsUseProxy.Checked)
- {
- //if (string.IsNullOrEmpty(GlobalConfig.ConfigParam.ProxyUrl))
- //{
- // BaseMsgForm.ShowInfo("请检测代理ip设置是否正确或过期");
- // chkIsUseProxy.Checked = false;
- // return;
- //}
- //bool bo = PinDuoDuoHelperTemp.CheckProxyStatus(GlobalConfig.FissionSettingParam.IsUseProxyIp, null);
- //if (!bo)
- //{
- // chkIsUseProxy.Checked = false;
- //}
- }
-
- //StartUp.SaveFissionSettingParam();
- }
-
- private void txtProduct_TextChanged(object sender, EventArgs e)
- {
- if (txtProduct.Text.Length > 2000)
- {
- txtProduct.TextChanged -= txtProduct_TextChanged;
- cleaningData = txtProduct.Text;
- txtProduct.Text = cleaningData.Substring(0, 2000);
- txtProduct.TextChanged += txtProduct_TextChanged;
- }
- else
- {
- cleaningData = txtProduct.Text;
- }
- if (this.cleaningData.Contains(@"yangkeduo.com"))
- {
- buttonLoginPdd.Visible = true;
- }
- else
- {
- buttonLoginPdd.Visible = false;
- }
- }
-
- private void ShowFormInUiThread(string createHtmlPath, ProductCollectBase detailData)
- {
-
- Task.Run(() =>
- {
- //获取所有类目
- //Invoke(new Action(() =>
- //{
- // label1.Visible = true;
- //}));
- //Fission.goodsCategoryList = Fission.GetShopGoodsCategories();
- Invoke(new Action(() =>
- {
- Fission fs = new Fission(createHtmlPath, sFromUrl, null, detailData);
- label1.Visible = false;
- fs.FormLoadedEvent = formLoadEvent;
- fs.Show();
- }));
- });
- }
-
- private void formLoadEvent()
- {
- ChangePicVisible();
- }
-
- private void ChangePicVisible()
- {
- if (this.pictureBox1.InvokeRequired)
- {
- deleChangePicVisible delChangePic = ChangePicVisible;
- this.pictureBox1.Invoke(delChangePic);
- }
- else
- {
- this.pictureBox1.Visible = false;
- }
- }
- }
-}
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/CleanDataForm.resx b/TEMUKJD/KJDForms/ProductForms/Old/CleanDataForm.resx
deleted file mode 100644
index b957688..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/CleanDataForm.resx
+++ /dev/null
@@ -1,218 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
-
-
- R0lGODlhIAAgAOfzAAABAAACAAEEAAIFAQQHAgUIBAcJBQgLBwoMCAsNCgwPCw4QDA8RDRASDxETEBIU
- ERMUEhQVExUWFBYYFRcYFhgZFxkbGBocGRscGhwdGx0fHB4fHR8gHiAhHyEjICIkISMkIiQlIyUnJCYo
- JScoJigpJykrKCosKSstKiwtKy0uLC4vLS8xLjAyLzEzMDIzMTM0MjQ2MzU3NDY4NTc5Njg5Nzk6ODo7
- OTs9Ojw+Oz0/PD5APT9APkBBP0FCQEFDQUNFQkRGQ0VHREZIRUdJRkhJR0lKSEpLSUpMSkxOS01PTE5Q
- TU9RTlBST1FTUFJUUVNUUlRVU1VWVFZXVVZYVVdZVllbWFpcWVtdWlxeW11fXF5gXV9hXmBiX2FjYGJk
- YWNlYmRlY2VmZGZnZWdoZmhpZ2hqZ2lraGpsaWttamxua21vbG5wbW9xbnFzcHJ0cXN1cnR2c3V3dHZ4
- dXd5dnh6d3l7eHp8eXt9enx+e31/fH6AfX+BfoCCf4GDgIKEgYOFgoSGg4WHhIaIhYeJhoiKh4mLiIqM
- iYuNioyOi42PjI6QjY+RjpCSj5GTkJKUkZOVkpSWk5WXlJaYlZeZlpial5qbmJudmZyem52fnJ6gnZ+h
- nqCin6GjoKKkoaOloqSmo6WnpKaopaeppqiqp6mrqKqsqautqqyuq62vrK6wrbCyrrGzr7K0sbO1srS2
- s7W3tLa4tbe5tri6t7m7uLq8ubu9ury+u72/vL7BvcDCvsHDv8LEwcPFwsTGw8XHxMbIxcfJxsjKx8nL
- yMrMycvOys3Py87QzM/RztDSz9HT0NLU0dPV0tTW09XX1NbY1dja1tnb19rc2dvd2tze293f3N7g3d/h
- 3uDi3+Hk4OPl4eTm4+Xn5Obo5efp5ujq5+nr6Ors6evu6u3v6+7w7e/x7vDy7/Hz8PL08fP18vT38/b4
- 9Pf59vj69/n7+Pr8+fv9+vz/+/7//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- ACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCAD/ACwAAAAAIAAgAAAI/gDlCRxIsKDBgwgNwlvIsCHDhAgd
- SmwI0eA7dxLRfWM3saK8d+CQ5UoG7p08eOxk+UEGTyBFiO+eATpy44igZu7koVPE49VDhxG70ckAoOgG
- Ot3cuVvWqttPb9POmTzI7pWNolhhwGoH7107jAy/6ZliKt3CgvDOWQqB1agls2dPLkT2IkGZcHEHwkv3
- qQTWAABCjOJIsWu3sWULL3SHDMmBAIABHAmWU27Lhe+6PTtn+bLccKB6TFhQwUenchM7AoXnjtyzUoDg
- FKKFN+7ZjnLlputFCM4gWdbCceycO/finAzZwSpCIUHpX+9s37b9kZklS9VMwrNWpi0AN5xT/kvsVgcD
- B0N43yHzEbloD6fSOzOkNqVoGafvkh3xfgT+z5bGwUPOIzf4AApq8IQjCAZYVbAIOy5NB+BlC4UTTDB4
- neQOM2W8wAEMb1Aj3mriuVONLKK8woxwE1I4okudvXPOL5Yo4kpSFEYol1dgKcYaL1CAgIENjnzjIozw
- tAOMJbkgeNKTJ3nzBgRY8XBLdBO1E8sNFbzwlkQnSQOFAViFEEpO76BDDlwJwpFAUWFE41lD3ZSRQGQ1
- zPIOO8Iggsco8JXzBwQEJDCGfy66sxwFEajQxzUbTgFBAilYghdjU9wwBSvDAaiXObD4QYcl07jDFwhY
- TfHMQu08U4syOug8hBZK3nQj1V6ddFBUAqoydFF0UCqE2VnqSUqpJeRIGKywErGTSx9tYOeirB51xk44
- 3tyal6cDBQQAIfkEAQgA/wAsAAAAACAAIAAACP4A5QkcSHBgO2/Ron1zV7ChQ4fmeOGBAiWPL3MPMxaE
- xy7XFAoAAFCYwoudxozw5MHrlgcDgAAhMeDpdrLgu3DMkHVj12xKAZghAUxpVnOgu2WBoByJYyvYlJch
- AyQYWlSltTcuAUiAYupO1pAVZsp7160bw4fsWsEICgDDIFdQIAQIsCAKLpPe8uCx9hBeOk4h2AKA003Y
- niNH+iBDp7JbmDDMMrJTtTZqhkTm4KED9w2du5QcnTljl7IhPHjU2IAEAOEIr3enYwuMLfvhO3S/6hwp
- UgYWudKmVQLfWE4ZrmDNkOlMV/UhuVNTekCxtBN2c3jvCLa7ZSRBSBijzv5WRcfLErJ1As81+poAzrnm
- 8qRNCVGGprxzjNi7r4r9WRgQb/AlTzu2FOHdATCQIt5Jp6Gji3mkqRSOKVpIR911sbVjnXDF4YJMOMNh
- OFBs77DjDjvlnLMgfBvBE04siDyCDHMnnfMNjQ5xhIoPGXQQBjErEgQPOJbAEQo5tnVTBgQhdfAIRg+5
- o0oKCdxQS4gqvVNNGEFhcAiSY62zTnYquRPKBgCswAqZG5HDSAkFQOADLCa1k0wnnSRjkkrStFFEHtZg
- GVs3i4RBBirhqPTMGBtkIAY0JHaDjDdYzgaPO+RQs9Np7riiQkgqtMIQbaehdNo72Z16Sw0h2XDLqB2V
- 5ijciN0ocoQRinQTK4bveCOMMJSyaCqqpdYUEAAh+QQBCAD/ACwAAAAAIAAgAAAI/gDlCRxIsOA7d/AK
- KlzIUJ67bsJ0OTPXsKLCdsvy+LgxBZS3hBYXgoRHrU4GAAAS8Ch1zuE5cujeWTxnLdm1dOxm8SiAEoCE
- OdfIBbPESBSzdQ3JnSoTpYyrbqVW9AyQIAyyUVJKcHhRxpc6hfBy+kiQIMIRWLaKAAgQAEAFO5+MJOhZ
- oQw0kAPhhQskoecGRc4AdVh7oIgpQhtQtgXQQ1a7gvC+3YGwmMKgcN0sTTkyZ1c3PREWo3xRip3CdKNW
- GAhQoMapdvDaYS737tyjwYsP8KBlmiA8eN3+9EhRRJG138h/v9sFZYFfOtPw5k3XzVapW90QCsQLj1yq
- KSlC/sBwEyyddHnv0JVrdxA2w9/plJni1IqaO4XlkHXipIwd8orwvJMOOv6dx04tUYQAwhS8yGRRcvC4
- c85XA4UDCAUoUcAHOiER9M4zkJgSznbdvDFXSmWk0+F27+QCBVDboWPJCgggAIMlva0IjzeyBINOQr91
- s8gUU1hizYrbKfcbQe2A8wwz3rxzXkj/JQnhlEjmZSU85YTzWJYVuYMMInrMQhGA3yCTzX0NTRMGBRD4
- EEuOC52jyA1tVPPeO7zAgBIHj5wpEjhlQFCEMFj+1kwUECRQgykqCnRONd18KQ87qJDxyEciwXOOKWIU
- eZw83YESBh7I3PcbOt2Qg2VeNuhU40w4S8KzjFodKFIOqRACmFxeyhyRQAeL7LodklUKFI4nYdyRKpjv
- dUdNN5FC22mArxYUEAAh+QQBCAD/ACwAAAAAIAAgAAAI/gDlCRxIsKC7de0KKlzIUGA4ZKxsVUvYsCJB
- eOY+RXnBQw8yihYrugt2JAEAACQIdRP47l1IefDSjUP3Dh46UiQCnEwQhhm7bsJ6OTsHr+E7a6QGeXLG
- Lp2pEicD8FSG7M8RH2FKgSuqEF43QC8opLgjzd2zLRAAJIBh6VecDjuLrEK3EJ4wHycB3ID1Lp2tMj6O
- WHrW6kZeABTurCwI752vGwROvlBV0503adTMsSuV4jDPZwvfdSuzIQEHMciKwlu9+l0tHwkCyObgpxvX
- gavb/fozJY+tc7gFrrbGJ4UBABCgxEpXF167bsy6pbt9kd0yRVOOlOHk7Fs6l4xZ/q9m2Jqcs12oFukh
- lMqaO5bjpl2jO77iane9yqSosIEHopXwWLNIFFOQEs5Lq3kDRwWHweCJPOysYgNyR6T2kjzIGAaATsiV
- YZMlIZwEwyzUNQQPMp1xqNYVzuUCxQUdlNFMiQ01U8QBsskmAR6rgeOKIIsEw1xIq5mjiHE6QXDELTDF
- 9E047dBYF0zPFOJDCi+EgcqB4klpIjzudKOLKasgQw519V0oXGPuuFMTjaIpow1IJrITJWsMTaNHD2Ug
- 815FziACy5B1uYPKCihZAhx578DiAyAHkucOLUVEwEMqhLIDTjngDVcKMOx8+Q0pcHDSjUvwsONLIJYs
- xho7NX9+mY435rijWjiAdFDELrHiaZ94uJljyQ1hIAMeTGoiS9A71cTySzleJttkqrZKa5GvIQUEACH5
- BAEIAP8ALAAAAAAgACAAAAj+AOUJHEiwILx38AoqXMhQYLlmwZyZa0hRIbxzrcIUKdOKXMWP8twpmwIB
- AIQwwtoJhOfu3cd36c65kwevHS0YAHLycMVOHjppwpqVS8iwHbNPloKdC+nLSAIACY7sYhfuVZkjYUJ1
- I2pwmpwUIMLwagfPWyMeJHxY6pbuVpQIJn2oWqrwHa4bOVNYMnewmyxLtry9I+cIRE4AGfp0s+guWBEE
- AGCIOgevMkuE8MIl6gAgAIAKda4thPfNEpQigqTNtGxZXrpWPhIQSFCjEzmuA1l2A5bLmsrR8LpZOgKj
- SCHVDCu7I4vbILtuvlS1QmaN3EyLrSladtftVSE9lpD+pSP4rt11kJXTlYLCgUKJMsiunwtmSdVWkDSn
- TXmak8OgbyExUwYJNXhC10fw8KLCYVBNIQ1LvfjwGSDgoAcPMDB4llMCYURD0zN33HDEKujgB881YUhw
- GAmI3AYPO9LQ8ks4zTUETzqvaLFCCDXcocx1LLHjTmUguROOM7yUAokjpDjDDlHZgZQOMoqEAUUZlixT
- zm+jIdTQO83IUUJOEPjAyTc1CtSONL5gcx5B8KBjyQsFHHYSMj0tJM0cPSCy2ELh8KEigzWokiec8CAj
- BQZlPGgROHqoqCEAN6xyaG7BeeKGK0MNtM6WPlmyQmeeRTBFStjBYw5bubHzS3hGCDVTRwoMJEBBEZ1U
- CBxrK51j2ikzsZMMI2FMUcYo3XiZHE2tvsqMZe14w0wy1ZCjLH40sXMOczQdhFma2kXZLZHYlrtQQAAh
- +QQBCAD/ACwAAAAAIAAgAAAI/gDlCRxIsKDBgwgTCmx3Tt07hRALwiPnq9MqauwianSna0oKHoquwdOo
- EN45SBwAJIgSzN1Ady4jumP3UOA5SyBUTkHmsl01X8C6xTz4LtwuVM7WyYPHTtiaGkcsdZPXDlmbHkX8
- OBtakB0sKTXwPHsID90yVr28uYP3DVFOADA4kTsIr5wgDAB80Gq3FB68d379UiuTAACADHy6jZSYrlSR
- FGV4Dgw8El43QRsAHFghdTFBv91SWdJlDqHfdL3IwLghB1lGuu3QkWPn2aBfc8hQuWJmrvZkyr5t+23n
- juG51yRNn26GSpSvcJ7dlfOWLvlSdrzErEgRNZxAd904/vmpVTr5NTt4VULptTTdLSgg6FhLDg8ZlMKG
- U4wS+A5ZmSKQeBOcac6EkUAAABBQQyt9pZOMLtbUpBE84HDCQwQQlECHNAL59c5aAyLkzjnPWCJGGIUI
- U12HfiXHjjW0gELKLsgg0w1y1n3nDCE+pGCDG7ucA1iI7kho2zeWwGAYACHgIU2LtnXTCjIrwjOOMkBd
- o44yYUCwJABF4MLVZOzgcsQg28jjDjWNHLGCDWXAUst9X/pQC18HtdPMIauQA54lLyyJwRSfuJHBkhCE
- gYyRv7XzTW/s9ELnkiAQQkoWHUSAQRGegJMQcOy4csOSCEIgBzO4GFIGHqt0A1hEQUzVUkQBACAIgAR9
- dINON9N0U86rsL7TTBsV1AqAATWQco6HQ5J0Wy1TcJAABDUA8mRgOfZ1ji+DiNGGJ9LQplBAACH5BAEI
- AP8ALAAAAAAgACAAAAj+AOUJHEiwoMGDCBMqXMiQXbdp4NwxnCjvnbJBZSx1g0dRIbx0lmBQgNJLYseE
- IEsk8JHLJLxy1KqZ45jwpbZzHOG9Q3ZnyqON8uB5szSmzClwNA+GQ8XHFTmB8NBVU9aNHcd2uo5AqDAl
- GLuD8OAhm9KhTLOcYcNCPRcqBAAAN1qhAwvv2p8iiK4lVTuw3a4jFTaEEdYOITx2zGQ5+2oYXjhTb+o4
- 9eiOnbukdM1Rs3buHWaCaT/TDc33pEdz16qFMznwHeuO8LpxEhPG0TPW55j16mb63CkeEAC8gBQuKDxr
- hcLYKkxR6KAKbxOEiWb82yhDyF4zDNfILYAKbXj+h31Hrlu6k/Da/QqTogQUUuUGhm63rt27ifDM8Wqk
- qFW3+wSxQw0toaSCjDgLvcMOO+mA4405AA7EzjJ/+LACDGGkUhxY4AjzCi/dtJMWaN0cokICb1EwRS6M
- geYNKFPccIQi0jBHUDu5QPHWjiEkEuI42XSDzkeyFBFcAjBY8k1BH7FygwFvBQAABXIwk8sfU2TkTDeQ
- eAeABG1I81k7txyxYwABZKDHKlNskEACKwACjCUpACAlBnNMg5lOz9SxAQFSrmTJICDsCEAPpcgyRQUJ
- QMADKBuClg4uYayAQQhGPILLGxEYWoIl1qwyBhRTWEKNZ0zCQ04wlviRyCpGMfmRgaEwlIIOOcjsgkyI
- ohnXTjndgIPOO+e04gOKAGQwBjKevdOOVb0aR1pY31giBQw3lHELTqE1J5+qwaQiizTpRDtQQAAh+QQB
- CAD/ACwAAAAAIAAgAAAI/gDlCRxIsKDBgwgTKlzIUF47de4aSpRnDhktae0mLoTnrA4USN40KnwXDEoI
- OtbgCYR3Lty5dwzdQVwJr5slO63KrexWShCpbioTspNGy1pGefDYfatGDp5KdriOcDjyKl1CeOEsRSml
- E6nTr0jRnVoB4MWnc1fP1SoELF1QrwPhuUtWpsgbZBEROi3Xzdxbg07TWUSG9qC7denYuXP396BTduza
- OS34rhyzWap0VWPH8CvYguZuxSnCA0qhZ3kluitHbt3TYGIyAACQoIQioA3hoUNmSdEsb/C+WUoxu3iR
- YKlHOotTooMUWemu0akwO8DsFbKOKoTXDpeP2SQa/oXrFohD9dk1bHFm2A7ZFAkJanQydw5VEQTWAUAo
- g7qzu2+ghAHFIMu04840h9yAAQQgHLFKOY3p9U43wOwyjVtJTTPKH3IAYsksyXSz3lXvvCNXOyau9M45
- 3SgjCh1RhLEIMusktE430oj4mVfvpONLGB0kAMEKe0gDk0HpAFNIGYMEYxVg4CzSQXEA8LAKOisN5A4z
- cQTZQRnKaEdTN3VIkB8AJVjizTfNIBPNOUnR8t1sPbiCZUE1EbJBANYRAAMozXxCBhR01EJOOrcYkQBt
- PszyZFzwpCPLERIUAMCXtoTiAwQAbBCGL+dI8wcMG8CQR3941kRKGEUcAUcsVMjMQd11loSTjjKW5GEJ
- Mm4BJpc3yMhSyzLgNNNGBMWlAEk4kXpDjY5XJQUZYzapYGkCRbQCp2cREsRtYMnkwcMKR1hSDUw7TvSY
- NKl8Qks3jC0UEAA7
-
-
-
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/CommissionForm.Designer.cs b/TEMUKJD/KJDForms/ProductForms/Old/CommissionForm.Designer.cs
deleted file mode 100644
index a44b2da..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/CommissionForm.Designer.cs
+++ /dev/null
@@ -1,602 +0,0 @@
-namespace TemuKJD.KJDForms.ProductForms
-{
- partial class CommissionForm
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
- this.splitContainer1 = new System.Windows.Forms.SplitContainer();
- this.btnStart = new DevComponents.DotNetBar.PanelEx();
- this.btnEditSampleRule = new DevComponents.DotNetBar.PanelEx();
- this.btnStop = new DevComponents.DotNetBar.PanelEx();
- this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
- this.rbFreeSample = new System.Windows.Forms.RadioButton();
- this.rbNoSample = new System.Windows.Forms.RadioButton();
- this.label10 = new System.Windows.Forms.Label();
- this.txtRatio = new System.Windows.Forms.TextBox();
- this.txtTotalPage = new System.Windows.Forms.TextBox();
- this.label26 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
- this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
- this.btnRefresh = new TemuKJD.UserControls.ButtonEx();
- this.splitContainer3 = new System.Windows.Forms.SplitContainer();
- this.splitContainer2 = new System.Windows.Forms.SplitContainer();
- this.rbNew = new System.Windows.Forms.RadioButton();
- this.rbAll = new System.Windows.Forms.RadioButton();
- this.btnPause = new TemuKJD.UserControls.ButtonEx();
- this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
- this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
- this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colLoginStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.pnlShowError = new DevComponents.DotNetBar.PanelEx();
- this.splitContainer4 = new System.Windows.Forms.SplitContainer();
- this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
- this.splitContainer1.Panel1.SuspendLayout();
- this.splitContainer1.Panel2.SuspendLayout();
- this.splitContainer1.SuspendLayout();
- this.ucGroupBoxEx2.SuspendLayout();
- this.ucGroupBoxEx1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
- this.splitContainer3.Panel1.SuspendLayout();
- this.splitContainer3.Panel2.SuspendLayout();
- this.splitContainer3.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
- this.splitContainer2.Panel1.SuspendLayout();
- this.splitContainer2.Panel2.SuspendLayout();
- this.splitContainer2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
- this.panelEx1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
- this.splitContainer4.Panel1.SuspendLayout();
- this.splitContainer4.SuspendLayout();
- this.SuspendLayout();
- //
- // splitContainer1
- //
- this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
- this.splitContainer1.Location = new System.Drawing.Point(0, 0);
- this.splitContainer1.Name = "splitContainer1";
- this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
- //
- // splitContainer1.Panel1
- //
- this.splitContainer1.Panel1.Controls.Add(this.btnStart);
- this.splitContainer1.Panel1.Controls.Add(this.btnEditSampleRule);
- this.splitContainer1.Panel1.Controls.Add(this.btnStop);
- this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx2);
- this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx1);
- //
- // splitContainer1.Panel2
- //
- this.splitContainer1.Panel2.Controls.Add(this.splitContainer3);
- this.splitContainer1.Size = new System.Drawing.Size(1070, 606);
- this.splitContainer1.SplitterDistance = 80;
- this.splitContainer1.TabIndex = 3;
- //
- // btnStart
- //
- this.btnStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnStart.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnStart.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnStart.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnStart.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnStart.Location = new System.Drawing.Point(830, 12);
- this.btnStart.Name = "btnStart";
- this.btnStart.Size = new System.Drawing.Size(72, 23);
- this.btnStart.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnStart.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnStart.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnStart.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.btnStart.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
- this.btnStart.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
- this.btnStart.Style.ForeColor.Color = System.Drawing.Color.White;
- this.btnStart.Style.GradientAngle = 90;
- this.btnStart.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnStart.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnStart.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnStart.TabIndex = 413;
- this.btnStart.Text = "新增佣金";
- this.btnStart.Click += new System.EventHandler(this.btnStart_Click);
- //
- // btnEditSampleRule
- //
- this.btnEditSampleRule.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnEditSampleRule.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnEditSampleRule.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnEditSampleRule.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnEditSampleRule.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnEditSampleRule.Location = new System.Drawing.Point(908, 12);
- this.btnEditSampleRule.Name = "btnEditSampleRule";
- this.btnEditSampleRule.Size = new System.Drawing.Size(72, 23);
- this.btnEditSampleRule.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnEditSampleRule.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnEditSampleRule.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnEditSampleRule.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.btnEditSampleRule.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
- this.btnEditSampleRule.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
- this.btnEditSampleRule.Style.ForeColor.Color = System.Drawing.Color.White;
- this.btnEditSampleRule.Style.GradientAngle = 90;
- this.btnEditSampleRule.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnEditSampleRule.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnEditSampleRule.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnEditSampleRule.TabIndex = 409;
- this.btnEditSampleRule.Text = "修改申样";
- this.btnEditSampleRule.Click += new System.EventHandler(this.btnEditSampleRule_Click);
- //
- // btnStop
- //
- this.btnStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnStop.CanvasColor = System.Drawing.SystemColors.Control;
- this.btnStop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnStop.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnStop.Location = new System.Drawing.Point(986, 12);
- this.btnStop.Name = "btnStop";
- this.btnStop.Size = new System.Drawing.Size(72, 23);
- this.btnStop.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnStop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btnStop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btnStop.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.btnStop.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnStop.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.btnStop.Style.GradientAngle = 90;
- this.btnStop.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.btnStop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnStop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnStop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnStop.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.btnStop.TabIndex = 405;
- this.btnStop.Text = "停止操作";
- this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
- //
- // ucGroupBoxEx2
- //
- this.ucGroupBoxEx2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)));
- this.ucGroupBoxEx2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.ucGroupBoxEx2.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
- this.ucGroupBoxEx2.Controls.Add(this.rbFreeSample);
- this.ucGroupBoxEx2.Controls.Add(this.rbNoSample);
- this.ucGroupBoxEx2.Controls.Add(this.label10);
- this.ucGroupBoxEx2.Controls.Add(this.txtRatio);
- this.ucGroupBoxEx2.Controls.Add(this.txtTotalPage);
- this.ucGroupBoxEx2.Controls.Add(this.label26);
- this.ucGroupBoxEx2.Controls.Add(this.label1);
- this.ucGroupBoxEx2.Location = new System.Drawing.Point(147, 2);
- this.ucGroupBoxEx2.Name = "ucGroupBoxEx2";
- this.ucGroupBoxEx2.Size = new System.Drawing.Size(272, 79);
- this.ucGroupBoxEx2.TabIndex = 400;
- this.ucGroupBoxEx2.TabStop = false;
- this.ucGroupBoxEx2.Text = "参数设置";
- //
- // rbFreeSample
- //
- this.rbFreeSample.AutoSize = true;
- this.rbFreeSample.Location = new System.Drawing.Point(15, 52);
- this.rbFreeSample.Name = "rbFreeSample";
- this.rbFreeSample.Size = new System.Drawing.Size(71, 16);
- this.rbFreeSample.TabIndex = 432;
- this.rbFreeSample.Text = "免费申样";
- this.rbFreeSample.UseVisualStyleBackColor = true;
- //
- // rbNoSample
- //
- this.rbNoSample.AutoSize = true;
- this.rbNoSample.Checked = true;
- this.rbNoSample.Location = new System.Drawing.Point(92, 52);
- this.rbNoSample.Name = "rbNoSample";
- this.rbNoSample.Size = new System.Drawing.Size(83, 16);
- this.rbNoSample.TabIndex = 431;
- this.rbNoSample.TabStop = true;
- this.rbNoSample.Text = "不支持申样";
- this.rbNoSample.UseVisualStyleBackColor = true;
- //
- // label10
- //
- this.label10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.label10.AutoSize = true;
- this.label10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label10.ForeColor = System.Drawing.Color.Black;
- this.label10.Location = new System.Drawing.Point(223, 24);
- this.label10.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label10.Name = "label10";
- this.label10.Size = new System.Drawing.Size(19, 17);
- this.label10.TabIndex = 429;
- this.label10.Text = "%";
- //
- // txtRatio
- //
- this.txtRatio.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.txtRatio.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtRatio.Location = new System.Drawing.Point(195, 21);
- this.txtRatio.Margin = new System.Windows.Forms.Padding(2);
- this.txtRatio.Name = "txtRatio";
- this.txtRatio.Size = new System.Drawing.Size(28, 23);
- this.txtRatio.TabIndex = 428;
- this.txtRatio.Text = "10";
- //
- // txtTotalPage
- //
- this.txtTotalPage.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtTotalPage.Location = new System.Drawing.Point(78, 21);
- this.txtTotalPage.Margin = new System.Windows.Forms.Padding(2);
- this.txtTotalPage.Name = "txtTotalPage";
- this.txtTotalPage.Size = new System.Drawing.Size(35, 23);
- this.txtTotalPage.TabIndex = 381;
- this.txtTotalPage.Text = "99";
- //
- // label26
- //
- this.label26.AutoSize = true;
- this.label26.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label26.Location = new System.Drawing.Point(12, 24);
- this.label26.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label26.Name = "label26";
- this.label26.Size = new System.Drawing.Size(68, 17);
- this.label26.TabIndex = 380;
- this.label26.Text = "设置页数:";
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label1.Location = new System.Drawing.Point(132, 24);
- this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(68, 17);
- this.label1.TabIndex = 430;
- this.label1.Text = "佣金比例:";
- //
- // ucGroupBoxEx1
- //
- this.ucGroupBoxEx1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)));
- this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
- this.ucGroupBoxEx1.Controls.Add(this.btnRefresh);
- this.ucGroupBoxEx1.Location = new System.Drawing.Point(2, 2);
- this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
- this.ucGroupBoxEx1.Size = new System.Drawing.Size(144, 79);
- this.ucGroupBoxEx1.TabIndex = 399;
- this.ucGroupBoxEx1.TabStop = false;
- this.ucGroupBoxEx1.Text = "基础";
- //
- // btnRefresh
- //
- this.btnRefresh.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnRefresh.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnRefresh.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnRefresh.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnRefresh.ForeColor = System.Drawing.Color.White;
- this.btnRefresh.Location = new System.Drawing.Point(15, 31);
- this.btnRefresh.Margin = new System.Windows.Forms.Padding(2);
- this.btnRefresh.Name = "btnRefresh";
- this.btnRefresh.Size = new System.Drawing.Size(112, 26);
- this.btnRefresh.TabIndex = 398;
- this.btnRefresh.Text = "刷新店铺";
- this.btnRefresh.UseVisualStyleBackColor = false;
- this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
- //
- // splitContainer3
- //
- this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
- this.splitContainer3.Location = new System.Drawing.Point(0, 0);
- this.splitContainer3.Name = "splitContainer3";
- this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
- //
- // splitContainer3.Panel1
- //
- this.splitContainer3.Panel1.Controls.Add(this.splitContainer2);
- //
- // splitContainer3.Panel2
- //
- this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
- this.splitContainer3.Size = new System.Drawing.Size(1070, 522);
- this.splitContainer3.SplitterDistance = 492;
- this.splitContainer3.TabIndex = 1;
- //
- // splitContainer2
- //
- this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
- this.splitContainer2.Location = new System.Drawing.Point(0, 0);
- this.splitContainer2.Name = "splitContainer2";
- //
- // splitContainer2.Panel1
- //
- this.splitContainer2.Panel1.Controls.Add(this.rbNew);
- this.splitContainer2.Panel1.Controls.Add(this.rbAll);
- this.splitContainer2.Panel1.Controls.Add(this.btnPause);
- this.splitContainer2.Panel1.Controls.Add(this.dgvShop);
- this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 0, 0);
- //
- // splitContainer2.Panel2
- //
- this.splitContainer2.Panel2.Controls.Add(this.panelEx1);
- this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 0);
- this.splitContainer2.Size = new System.Drawing.Size(1070, 492);
- this.splitContainer2.SplitterDistance = 336;
- this.splitContainer2.TabIndex = 0;
- //
- // rbNew
- //
- this.rbNew.AutoSize = true;
- this.rbNew.Checked = true;
- this.rbNew.Location = new System.Drawing.Point(26, 46);
- this.rbNew.Name = "rbNew";
- this.rbNew.Size = new System.Drawing.Size(107, 16);
- this.rbNew.TabIndex = 396;
- this.rbNew.TabStop = true;
- this.rbNew.Text = "设置无佣金商品";
- this.rbNew.UseVisualStyleBackColor = true;
- this.rbNew.Visible = false;
- //
- // rbAll
- //
- this.rbAll.AutoSize = true;
- this.rbAll.Location = new System.Drawing.Point(26, 68);
- this.rbAll.Name = "rbAll";
- this.rbAll.Size = new System.Drawing.Size(95, 16);
- this.rbAll.TabIndex = 397;
- this.rbAll.Text = "设置所有商品";
- this.rbAll.UseVisualStyleBackColor = true;
- this.rbAll.Visible = false;
- //
- // btnPause
- //
- this.btnPause.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnPause.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnPause.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnPause.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnPause.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnPause.ForeColor = System.Drawing.Color.White;
- this.btnPause.Location = new System.Drawing.Point(25, 92);
- this.btnPause.Margin = new System.Windows.Forms.Padding(2);
- this.btnPause.Name = "btnPause";
- this.btnPause.Size = new System.Drawing.Size(72, 25);
- this.btnPause.TabIndex = 388;
- this.btnPause.Text = "暂停";
- this.btnPause.UseVisualStyleBackColor = false;
- this.btnPause.Visible = false;
- //
- // dgvShop
- //
- this.dgvShop.AllowUserToAddRows = false;
- this.dgvShop.AllowUserToDeleteRows = false;
- dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
- this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
- this.dgvShop.BackgroundColor = System.Drawing.Color.White;
- this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
- this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.colSelect,
- this.colShopId,
- this.colShopName,
- this.colLoginStatus,
- this.colMessage});
- this.dgvShop.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dgvShop.Location = new System.Drawing.Point(4, 0);
- this.dgvShop.Name = "dgvShop";
- this.dgvShop.ReadOnly = true;
- this.dgvShop.RowHeadersWidth = 30;
- dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.dgvShop.RowsDefaultCellStyle = dataGridViewCellStyle3;
- this.dgvShop.RowTemplate.Height = 23;
- this.dgvShop.Size = new System.Drawing.Size(332, 492);
- this.dgvShop.TabIndex = 6;
- this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
- //
- // colSelect
- //
- this.colSelect.HeaderText = "全选";
- this.colSelect.Name = "colSelect";
- this.colSelect.ReadOnly = true;
- this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.colSelect.Width = 28;
- //
- // colShopId
- //
- this.colShopId.HeaderText = "店铺";
- this.colShopId.Name = "colShopId";
- this.colShopId.ReadOnly = true;
- this.colShopId.Width = 55;
- //
- // colShopName
- //
- this.colShopName.FillWeight = 150F;
- this.colShopName.HeaderText = "店铺名称";
- this.colShopName.Name = "colShopName";
- this.colShopName.ReadOnly = true;
- this.colShopName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colShopName.Width = 75;
- //
- // colLoginStatus
- //
- this.colLoginStatus.HeaderText = "登录状态";
- this.colLoginStatus.Name = "colLoginStatus";
- this.colLoginStatus.ReadOnly = true;
- this.colLoginStatus.Width = 60;
- //
- // colMessage
- //
- this.colMessage.HeaderText = "消息";
- this.colMessage.Name = "colMessage";
- this.colMessage.ReadOnly = true;
- this.colMessage.Width = 120;
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.pnlShowError);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.panelEx1.Location = new System.Drawing.Point(0, 0);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Padding = new System.Windows.Forms.Padding(1);
- this.panelEx1.Size = new System.Drawing.Size(726, 492);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.White;
- this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.White;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 183;
- //
- // pnlShowError
- //
- this.pnlShowError.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.pnlShowError.CanvasColor = System.Drawing.Color.Empty;
- this.pnlShowError.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.pnlShowError.DisabledBackColor = System.Drawing.Color.Empty;
- this.pnlShowError.Location = new System.Drawing.Point(182, 192);
- this.pnlShowError.Name = "pnlShowError";
- this.pnlShowError.Size = new System.Drawing.Size(361, 100);
- this.pnlShowError.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.pnlShowError.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(163)))), ((int)(((byte)(226)))), ((int)(((byte)(255)))));
- this.pnlShowError.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(163)))), ((int)(((byte)(226)))), ((int)(((byte)(255)))));
- this.pnlShowError.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.pnlShowError.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
- this.pnlShowError.Style.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.pnlShowError.Style.ForeColor.Color = System.Drawing.Color.Red;
- this.pnlShowError.Style.GradientAngle = 90;
- this.pnlShowError.TabIndex = 187;
- this.pnlShowError.Text = "panelEx3";
- this.pnlShowError.Visible = false;
- //
- // splitContainer4
- //
- this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
- this.splitContainer4.Location = new System.Drawing.Point(0, 0);
- this.splitContainer4.Name = "splitContainer4";
- //
- // splitContainer4.Panel1
- //
- this.splitContainer4.Panel1.Controls.Add(this.statusBar);
- this.splitContainer4.Size = new System.Drawing.Size(1070, 26);
- this.splitContainer4.SplitterDistance = 663;
- this.splitContainer4.TabIndex = 3;
- //
- // statusBar
- //
- this.statusBar.BackColor = System.Drawing.Color.White;
- this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
- this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.statusBar.Location = new System.Drawing.Point(0, 0);
- this.statusBar.Margin = new System.Windows.Forms.Padding(0);
- this.statusBar.Name = "statusBar";
- this.statusBar.Size = new System.Drawing.Size(663, 26);
- this.statusBar.TabIndex = 2;
- //
- // CommissionForm
- //
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
- this.BackColor = System.Drawing.Color.White;
- this.ClientSize = new System.Drawing.Size(1070, 606);
- this.Controls.Add(this.splitContainer1);
- this.Name = "CommissionForm";
- this.Text = "CommissionForm";
- this.Load += new System.EventHandler(this.CommissionForm_Load);
- this.VisibleChanged += new System.EventHandler(this.CommissionForm_VisibleChanged);
- this.splitContainer1.Panel1.ResumeLayout(false);
- this.splitContainer1.Panel2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
- this.splitContainer1.ResumeLayout(false);
- this.ucGroupBoxEx2.ResumeLayout(false);
- this.ucGroupBoxEx2.PerformLayout();
- this.ucGroupBoxEx1.ResumeLayout(false);
- this.splitContainer3.Panel1.ResumeLayout(false);
- this.splitContainer3.Panel2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
- this.splitContainer3.ResumeLayout(false);
- this.splitContainer2.Panel1.ResumeLayout(false);
- this.splitContainer2.Panel1.PerformLayout();
- this.splitContainer2.Panel2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
- this.splitContainer2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.splitContainer4.Panel1.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit();
- this.splitContainer4.ResumeLayout(false);
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private System.Windows.Forms.SplitContainer splitContainer1;
- private UserControls.ButtonEx btnPause;
- private System.Windows.Forms.TextBox txtTotalPage;
- private System.Windows.Forms.Label label26;
- private System.Windows.Forms.SplitContainer splitContainer3;
- private System.Windows.Forms.SplitContainer splitContainer2;
- private UserComponent.DataGridViewEx dgvShop;
- private System.Windows.Forms.SplitContainer splitContainer4;
- private UserControls.StatusBarUserControl statusBar;
- private System.Windows.Forms.RadioButton rbAll;
- private System.Windows.Forms.RadioButton rbNew;
- private UserComponent.UcGroupBoxEx ucGroupBoxEx2;
- private UserComponent.UcGroupBoxEx ucGroupBoxEx1;
- private UserControls.ButtonEx btnRefresh;
- private System.Windows.Forms.Label label10;
- private System.Windows.Forms.TextBox txtRatio;
- private System.Windows.Forms.Label label1;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.PanelEx pnlShowError;
- private System.Windows.Forms.RadioButton rbFreeSample;
- private System.Windows.Forms.RadioButton rbNoSample;
- private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
- private System.Windows.Forms.DataGridViewTextBoxColumn colShopId;
- private System.Windows.Forms.DataGridViewTextBoxColumn colShopName;
- private System.Windows.Forms.DataGridViewTextBoxColumn colLoginStatus;
- private System.Windows.Forms.DataGridViewTextBoxColumn colMessage;
- private DevComponents.DotNetBar.PanelEx btnStop;
- private DevComponents.DotNetBar.PanelEx btnStart;
- private DevComponents.DotNetBar.PanelEx btnEditSampleRule;
- }
-}
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/CommissionForm.cs b/TEMUKJD/KJDForms/ProductForms/Old/CommissionForm.cs
deleted file mode 100644
index 015418a..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/CommissionForm.cs
+++ /dev/null
@@ -1,1095 +0,0 @@
-using AllBase.Helper;
-using AllBase.Model.Result;
-using CefSharp;
-using CefSharp.WinForms;
-using TemuKJD.Extension;
-using TemuKJD.Helper;
-using TemuKJD.KJDForms.BaseForms;
-using NaiBa.CefHelper;
-using NaiBa.CefHelper.Handler;
-using NaiBa.Util.Extension;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-
-namespace TemuKJD.KJDForms.ProductForms
-{
- public partial class CommissionForm : BaseForm
- {
- ChromiumWebBrowser webBrowser = null;
- int setPage = 99;
- int currentPage = 0;
- ///
- /// 佣金比例
- ///
- int commissionRate = 10;
- string sampleRule = "不支持申样";
- ///
- /// 指定佣金商品ID
- ///
- string commissionProductIds = "";
- bool isRun = false;
- public CommissionForm()
- {
- InitializeComponent();
- }
-
- private void CommissionForm_Load(object sender, EventArgs e)
- {
- LoadShops();
- this.dgvShop.AddSelectorColumn("colSelect");
- }
-
- public void LoadShops()
- {
- for (int i = 0; i < GlobalConfig.ShopLoginList.Count; i++)
- {
- var shop = GlobalConfig.ShopLoginList[i];
- var row = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value?.ToString() == shop.ShopId);
- if (row == null)
- dgvShop.Rows.Add(false, shop.ShopId, shop.ShopAccount, shop.LoginStatus);
- else
- {
- row.Cells["colLoginStatus"].Value = shop.LoginStatus;
- }
- }
- }
-
- private void CommissionForm_VisibleChanged(object sender, EventArgs e)
- {
- if (Visible)
- LoadShops();
- }
-
- private void btnRefresh_Click(object sender, EventArgs e)
- {
- LoadShops();
- }
-
- private void btnStart_Click(object sender, EventArgs e)
- {
- BaseMsgForm.ShowError("因抖店平台调整,本功能暂时不可用。");
- return;
-
- this.setPage = this.txtTotalPage.Text.ParseToInt();
- this.commissionRate = this.txtRatio.Text.ParseToInt();
- this.sampleRule = rbNoSample.Checked ? "不支持申样" : "免费申样";
- var shopIds = this.dgvShop.Rows.Cast().Where(r => r.Cells["colSelect"].Value.ParseToBool() == true && r.Cells["colLoginStatus"].Value?.ToString() == "登录成功")
- .Select(r => r.Cells["colShopId"].Value?.ToString()).ToList();
- var shops = GlobalConfig.ShopLoginList.Where(s => shopIds.Contains(s.ShopId)).ToList();
-
- isRun = true;
- btnStart.Enabled = false;
- AddCommissionWithCef(shops);
- Task.Run(() =>
- {
- Thread.Sleep(8000);
- Invoke(new Action(() => { btnStart.Enabled = true; }));
- });
- }
-
- ///
- /// 修改申样规则
- ///
- ///
- ///
- private void btnEditSampleRule_Click(object sender, EventArgs e)
- {
- BaseMsgForm.ShowError("因抖店平台调整,本功能暂时不可用。");
- return;
-
- this.setPage = this.txtTotalPage.Text.ParseToInt();
- this.commissionRate = this.txtRatio.Text.ParseToInt();
- this.sampleRule = rbNoSample.Checked ? "不支持申样" : "免费申样";
- var shopIds = this.dgvShop.Rows.Cast().Where(r => r.Cells["colSelect"].Value.ParseToBool() == true && r.Cells["colLoginStatus"].Value?.ToString() == "登录成功")
- .Select(r => r.Cells["colShopId"].Value?.ToString()).ToList();
- var shops = GlobalConfig.ShopLoginList.Where(s => shopIds.Contains(s.ShopId)).ToList();
-
- isRun = true;
- btnStart.Enabled = false;
- EditSampleRuleWithCef(shops);
- Task.Run(() =>
- {
- Thread.Sleep(8000);
- Invoke(new Action(() => { btnStart.Enabled = true; }));
- });
- }
-
- void InitWebBrowser()
- {
- webBrowser = CEFBrowser.CreateChromiumWebBrowser("about:blank", false);
- webBrowser.KeyboardHandler = new KeyboardHandler();
- webBrowser.Dock = DockStyle.Fill;
- webBrowser.LifeSpanHandler = new LifeSpanHandlerLocal(PopWindowType.SelfWindow);
- webBrowser.AddressChanged += WebBrowser_AddressChanged;
- webBrowser.FrameLoadEnd += webBrowser_FrameLoadEnd;
- webBrowser.SendToBack();
- this.panelEx1.Controls.Add(webBrowser);
- }
-
- ///
- /// 使用cef修改申样规则
- ///
- ///
- public void EditSampleRuleWithCef(List shops)
- {
- Task.Run(() =>
- {
- if (webBrowser == null)
- {
- Invoke(new Action(() =>
- {
- InitWebBrowser();
- }));
- }
-
- while (!webBrowser.IsBrowserInitialized || webBrowser.IsLoading)
- continue;
-
- for (int i = 0; i < shops.Count; i++)
- {
-
- var shop = shops[i];
- if (shop == null)
- {
- continue;
- }
-
- if (!isRun)
- {
- Invoke(new Action(() =>
- {
- var row1 = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value?.ToString() == shop.ShopId);
- if (row1 != null)
- row1.Cells["colMessage"].Value = "设置中断";
- }));
- break;
- }
-
- Invoke(new Action(() =>
- {
- this.statusBar.pgbTaskProgress.Maximum = shops.Count;
- this.statusBar.lblTaskStatus.Text = "正在设置店铺:" + shop.ShopAccount + " 页数:" + (currentPage + 1) + "/" + setPage;
- this.statusBar.pgbTaskProgress.Value = (i + 1);
- this.statusBar.pgbTaskProgress.Text = (i + 1) + "/" + shops.Count;
- }));
-
- var loadResult = LoadShopCommissionPage(shop);
- if (!string.IsNullOrEmpty(loadResult))
- {
- shop.Message = loadResult;
- Invoke(new Action(() =>
- {
- var row1 = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value?.ToString() == shop.ShopId);
- if (row1 != null)
- row1.Cells["colMessage"].Value = shop.Message;
- }));
- continue;
- }
- EditSampleRule(shop);
- }
-
- isRun = false;
- Invoke(new Action(() =>
- {
- this.statusBar.lblTaskStatus.Text = "设置完成";
- btnStart.Enabled = true;
- }));
- });
- }
-
- void EditSampleRule(ShopLoginInfo shop)
- {
- // 错误提示信息
- string failMsg = "";
- var productIds = commissionProductIds;
-
- #region 选择要设置的申样选项
-
- // 点击打开申样选择框
- var jsStr = clickJsElementStr +
- "function clickBtn2(txt1, txt2) {\r\n" +
- " var elem = getElement(txt1);\r\n" +
- " if(elem) {" +
- " elem = elem.parentNode.parentNode;\r\n" +
- " elem = getElement(txt2, elem);\r\n" +
- " if (elem) {\r\n" +
- " var e = document.createEvent('MouseEvents');\r\n" +
- " e.initMouseEvent('mousedown', true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);\r\n" +
- " elem.dispatchEvent(e); " +
- " return 'success';\r\n" +
- " }\r\n" +
- " }\r\n" +
- " return 'no_element';\r\n" +
- "}\r\n" +
- "clickBtn2('样品规则', '全部');\r\n";
-
- var t1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- t1.Wait();
- if (t1.Result?.Result?.ToString() == null || t1.Result?.Result?.ToString() != "success")
- {
- failMsg = "编辑申样设置选项打开失败。";
- goto showFail;
- }
-
- var selectSampleRule = "不支持申样";
- // 选择申样设置
- if (sampleRule == "不支持申样")
- {
- selectSampleRule = "免费申样";
- }
-
- Thread.Sleep(AllBase.Randomx.GetId(1500, 2500));
- jsStr = clickJsElementStr +
- "function clickSelect() {\r\n" +
- " var elem = getElement('>" + selectSampleRule + "<', document.getElementsByClassName('rc-virtual-list-holder-inner')[0]);\r\n" +
- " if (elem) elem.click(); return 'success';\r\n" +
- " return 'no_element';\r\n" +
- "}\r\n" +
- "clickSelect();\r\n";
- t1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- t1.Wait();
- if (t1.Result?.Result?.ToString() == null || t1.Result?.Result?.ToString() != "success")
- {
- failMsg = "编辑申样设置选项选择失败。";
- goto showFail;
- }
-
- #endregion
-
- while (currentPage < setPage)
- {
- if (!isRun)
- {
- Invoke(new Action(() =>
- {
- var row1 = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value?.ToString() == shop.ShopId);
- if (row1 != null)
- row1.Cells["colMessage"].Value = "编辑申样中断";
- }));
- break;
- }
-
- currentPage++;
- Invoke(new Action(() =>
- {
- this.statusBar.lblTaskStatus.Text = "正在编辑申样,店铺:" + shop.ShopAccount + " 页数:" + currentPage + "/" + setPage + "...";
- }));
-
- Thread.Sleep(AllBase.Randomx.GetId(1500, 2500));
- // 点击查询按钮
- jsStr = clickJsElementStr +
- "function clickSearch(){" +
- " var elem = getElement('查询 ');\r\n" +
- " if (elem) elem.click(); return 'success';\r\n" +
- " return 'no_element';\r\n" +
- "} " +
- "clickSearch();\r\n";
- t1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- t1.Wait();
- if (t1.Result?.Result?.ToString() != "success")
- {
- failMsg = "查询申样设置商品失败。";
- goto showFail;
- }
-
- Thread.Sleep(AllBase.Randomx.GetId(1500, 2500));
- // 获取页面上是否有数据
- t1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync("document.body.innerHTML.indexOf('暂无数据') >= 0");
- t1.Wait();
- // 如果暂无数据,说明已设置完成,跳转到设置完成。
- if (t1.Result?.Result?.ToString()?.ToLower() == "true")
- {
- goto SetEnd;
- }
-
- Thread.Sleep(AllBase.Randomx.GetId(1500, 2500));
- // 全选要设置的商品
- jsStr = "function selectAllProduct() { document.getElementsByClassName('auxo-checkbox-input')[0].click(); return 'success'; }" +
- "selectAllProduct();";
- t1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- t1.Wait();
- if (t1.Result?.Result?.ToString() != "success")
- {
- failMsg = "全选申样设置商品失败。";
- goto showFail;
- }
-
- Thread.Sleep(AllBase.Randomx.GetId(1500, 2500));
- // 点击设置申样门槛按钮
- jsStr = clickJsElementStr +
- "function clickSetSample(){" +
- " var elem = getElement('设置申样门槛');\r\n" +
- " if (elem) elem.click(); return 'success';\r\n" +
- " return 'no_element';\r\n" +
- "} " +
- "clickSetSample();\r\n";
- t1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- t1.Wait();
- if (t1.Result?.Result?.ToString() != "success")
- {
- failMsg = "点击设置申样门槛按钮失败";
- goto showFail;
- }
-
- Thread.Sleep(AllBase.Randomx.GetId(1500, 2500));
- // 选择申样规则
- if (sampleRule == "不支持申样")
- {
- // 系统默认选择 不支持申样,不做操作;
- }
- else
- {
- jsStr = clickJsElementStr +
- "function checkSampleRule(){" +
- " var elem = getElement('" + sampleRule + "', document.getElementsByClassName('auxo-drawer-wrapper-body')[0]);\r\n" +
- " if (elem) elem.click(); return 'success';\r\n" +
- " return 'no_element';\r\n" +
- "} " +
- "checkSampleRule();\r\n";
- t1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- t1.Wait();
- if (t1.Result?.Result?.ToString() != "success")
- {
- failMsg = "选择申样设置门槛失败。";
- goto showFail;
- }
- }
-
- Thread.Sleep(AllBase.Randomx.GetId(1500, 2500));
-
- jsStr = clickJsElementStr +
- "function checkSampleRule(){" +
- " var elem = getElement('确定', document.getElementsByClassName('auxo-drawer-wrapper-body')[0]);\r\n" +
- " if (elem) elem.click(); return 'success';\r\n" +
- " return 'no_element';\r\n" +
- "} " +
- "checkSampleRule();\r\n";
- t1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- t1.Wait();
- if (t1.Result?.Result?.ToString() != "success")
- {
- failMsg = "点击确定设置申样门槛失败。";
- goto showFail;
- }
- for (int k = 0; k < 5; k++)
- {
- Thread.Sleep(1000);
- }
- }
-
- SetEnd:
- Invoke(new Action(() =>
- {
- shop.Message = "设置完成";
- var row = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value?.ToString() == shop.ShopId);
- if (row != null)
- row.Cells["colMessage"].Value = "设置完成";
- }));
-
- showFail:
- if (!string.IsNullOrEmpty(failMsg))
- {
- if (failMsg.Contains("设置新增佣金商品不存在") || failMsg.Contains("佣金金额设置失败"))
- {
- shop.Message = "设置完成";
- }
- else
- {
- shop.Message = failMsg;
-
- Invoke(new Action(() =>
- {
- pnlShowError.Visible = true;
- pnlShowError.Text = " 设置佣金部分失败:" + failMsg + " " + productIds.Trim(',') + " ";
- this.pnlShowError.BringToFront();
- Task.Run(() =>
- {
- Thread.Sleep(8000);
- if (this.Created)
- Invoke(new Action(() =>
- {
- this.pnlShowError.Visible = false;
- }));
- });
- }));
- }
- Invoke(new Action(() =>
- {
- var row1 = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value?.ToString() == shop.ShopId);
- if (row1 != null)
- row1.Cells["colMessage"].Value = shop.Message;
- }));
- }
- }
-
- ///
- /// 添加普通佣金
- ///
- ///
- ///
- public void AddCommissionWithCef(List shops)
- {
- Task.Run(() =>
- {
- if (webBrowser == null)
- {
- Invoke(new Action(() =>
- {
- InitWebBrowser();
- }));
- }
-
- while (!webBrowser.IsBrowserInitialized || webBrowser.IsLoading)
- continue;
-
- for (int i = 0; i < shops.Count; i++)
- {
-
- var shop = shops[i];
- if (shop == null)
- {
- continue;
- }
-
- if (!isRun)
- {
- Invoke(new Action(() =>
- {
- var row1 = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value?.ToString() == shop.ShopId);
- if (row1 != null)
- row1.Cells["colMessage"].Value = "设置中断";
- }));
- break;
- }
-
- Invoke(new Action(() =>
- {
- this.statusBar.pgbTaskProgress.Maximum = shops.Count;
- this.statusBar.lblTaskStatus.Text = "正在设置店铺:" + shop.ShopAccount + " 页数:" + (currentPage + 1) + "/" + setPage;
- this.statusBar.pgbTaskProgress.Value = (i + 1);
- this.statusBar.pgbTaskProgress.Text = (i + 1) + "/" + shops.Count;
- }));
-
- var loadResult = LoadShopCommissionPage(shop);
- if (!string.IsNullOrEmpty(loadResult))
- {
- shop.Message = loadResult;
- Invoke(new Action(() =>
- {
- var row1 = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value?.ToString() == shop.ShopId);
- if (row1 != null)
- row1.Cells["colMessage"].Value = shop.Message;
- }));
- continue;
- }
- SetNewCommission(shop);
- }
-
- isRun = false;
- Invoke(new Action(() =>
- {
- this.statusBar.lblTaskStatus.Text = "设置完成";
- btnStart.Enabled = true;
- }));
- });
- }
-
- ///
- /// 登录店铺佣金页面
- ///
- ///
- private string LoadShopCommissionPage(ShopLoginInfo shop)
- {
- Thread.Sleep(1000);
-
- // 错误提示信息
- string failMsg = "";
- currentPage = 0;
- var cookie = shop.Cookies;
- CEFBrowser.DeleteCookie(webBrowser.RequestContext.GetCookieManager(null));
- var t = CEFBrowser.SetCookieAsync("jinritemai.com", cookie, webBrowser.RequestContext.GetCookieManager(null));
- t.Wait(8000);
-
- for (int j = 0; j < 50; j++)
- {
- Thread.Sleep(1500);
- //webBrowser.Load("https://buyin.jinritemai.com/dashboard/activity/common-plan");
- var jsStr = "window.location.href='https://fxg.jinritemai.com/ffa/mshop/homepage/index';";
- var t1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- t1.Wait(8000);
- do
- {
- Thread.Sleep(1000);
- }
- while (webBrowser.IsLoading);
- Thread.Sleep(AllBase.Randomx.GetId(2000, 3000));
-
- jsStr = clickJsElementStr + "getElement('精选联盟').click();";
- t1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- t1.Wait(8000);
- do
- {
- Thread.Sleep(1000);
- }
- while (webBrowser.IsLoading);
- Thread.Sleep(AllBase.Randomx.GetId(2000, 3000));
-
- jsStr = "window.location.href='https://buyin.jinritemai.com/dashboard/activity/common-plan';";
- t1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- t1.Wait(8000);
- do
- {
- Thread.Sleep(1000);
- }
- while (webBrowser.IsLoading);
- Thread.Sleep(AllBase.Randomx.GetId(4000, 5000));
-
- jsStr = clickJsElementStr +
- "function clickBtn(txt) {\r\n" +
- " var elem = getElement(txt);\r\n" +
- " if (elem) elem.click(); return 'success';\r\n" +
- " return 'no_element';\r\n" +
- "}\r\n" +
- "clickBtn('添加商品');\r\n";
-
- // 先判断页面是否加载失败
- t1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync("document.body.innerHTML.indexOf('加载失败') >= 0");
- t1.Wait();
- // 如果加载失败,通过点击计划按钮尝试再次加载
- if (t1.Result?.Result?.ToString()?.ToLower() == "true")
- {
- Thread.Sleep(1500 + AllBase.Randomx.GetId(1000));
- var jsStrx = jsStr.Replace("clickBtn('添加商品');", "clickBtn('定向计划');");
- var t1x = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStrx);
- t1x.Wait();
- if (t1x.Result?.Result?.ToString() == "success")
- {
- Thread.Sleep(1500 + AllBase.Randomx.GetId(1000));
- jsStrx = jsStr.Replace("clickBtn('添加商品');", "clickBtn('普通计划');");
- t1x = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStrx);
- t1x.Wait();
- }
- // 二次判断页面是否仍加载失败,如果加载仍失败,则重新load网页。
- Thread.Sleep(1500 + AllBase.Randomx.GetId(1000));
- t1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync("document.body.innerHTML.indexOf('加载失败') >= 0");
- t1.Wait();
- // 如果加载失败
- if (t1.Result?.Result?.ToString()?.ToLower() == "true")
- continue;
- else
- break;
- }
- else
- break;
- }
- Thread.Sleep(2000);
-
- for (int j = 0; j < 10; j++)
- {
- var jsCode = "function closeMask() {" +
- "if (document.body.innerHTML.indexOf('普通计划') < 0) return;" +
- "var mask1 = document.getElementsByClassName('ant-modal-root')[0];" +
- "if (mask1) mask1.parentNode.removeChild(mask1);" +
- "var mask2 = document.getElementsByClassName('y-guide')[0];" +
- "if (mask2) mask2.parentNode.removeChild(mask2);" +
- "var mask3 = document.getElementById('browser-support-tip');" +
- "if (mask3) mask3.parentNode.removeChild(mask3);" +
- "}" +
- "closeMask();";
- t = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsCode);
- t.Wait(3000);
- Thread.Sleep(300);
- }
-
- return failMsg;
- }
-
- ///
- /// 设置新佣金
- ///
- ///
- private void SetNewCommission(ShopLoginInfo shop)
- {
- // 错误提示信息
- string failMsg = "";
- var rate = commissionRate;
- var productIds = commissionProductIds;
-
- //var jsStr = clickJsElementStr +
- // "function clickBtn(txt) {\r\n" +
- // " var elem = getElement(txt);\r\n" +
- // " if (elem) elem.click(); return 'success';\r\n" +
- // " return 'no_element';\r\n" +
- // "}\r\n" +
- // "clickBtn('添加商品');\r\n";
-
- //// 打开新增佣金商品列表
- //var t0 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- //t0.Wait();
-
- //if (t0.Result?.Result?.ToString() != "success")
- //{
- // failMsg = "新增佣金商品列表打开失败。";
- // return failMsg;
- //}
-
- while (currentPage < setPage)
- {
- if (!isRun)
- {
- Invoke(new Action(() =>
- {
- var row1 = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value?.ToString() == shop.ShopId);
- if (row1 != null)
- row1.Cells["colMessage"].Value = "设置中断";
- }));
- break;
- }
-
- currentPage++;
- Invoke(new Action(() =>
- {
- this.statusBar.lblTaskStatus.Text = "正在设置店铺:" + shop.ShopAccount + " 页数:" + currentPage + "/" + setPage + "...";
- }));
-
- var jsStr = clickJsElementStr +
- "function clickBtn2(txt) {\r\n" +
- " if (document.body.innerHTML.indexOf('添加推广商品') >= 0)\r\n" +
- " return 'success';\r\n" +
- " var elem = getElement(txt);\r\n" +
- " if (elem) elem.click(); return 'success';\r\n" +
- " return 'no_element';\r\n" +
- "}\r\n" +
- "clickBtn2('添加商品');\r\n";
- var t1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- t1.Wait();
- if (t1.Result?.Result?.ToString() == "加载失败" || t1.Result?.Result?.ToString() == null)
- continue;
- if (t1.Result?.Result?.ToString() != "success")
- {
- failMsg = "新增佣金商品列表打开失败。";
- goto showFail;
- }
-
- int x = 0, y = 0;
- string jsStr1 = "", result = "";
- Task task = null;
- var host = webBrowser.GetBrowser().GetHost();
- #region 选择批量查询选项
- if (!string.IsNullOrEmpty(productIds))
- {
- x = 0;
- y = 0;
- jsStr1 = "function getPos() { var box = document.getElementsByClassName('search-product-select');" +
- "if (box[0] == null) return '-|-';" +
- "var actualLeft = box[0].offsetLeft;" +
- "var actualTop = box[0].offsetTop;" +
- "var current = box[0].offsetParent;" +
- "while (current !== null) { actualLeft += current.offsetLeft; actualTop += current.offsetTop; current = current.offsetParent; }" +
- "return '' + actualLeft + '|' + actualTop;}" +
- "getPos();";
- task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
- task.Wait();
- result = task.Result?.Result?.ToString();
-
- if (result != null && result != "-|-")
- {
- var arr = result.Split('|');
- if (arr.Length == 2)
- {
- x = Convert.ToInt32(arr[0]);
- y = Convert.ToInt32(arr[1]);
- }
- int x1 = x + new Random(DateTime.Now.Millisecond).Next(6, 30);
- int y1 = y + new Random(DateTime.Now.Millisecond).Next(6, 16);
- host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, false, 1, CefEventFlags.None); // 按下鼠标左键
- Thread.Sleep(70 + new Random(DateTime.Now.Millisecond).Next(50));
- host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, true, 1, CefEventFlags.None); // 松开鼠标左键
- Thread.Sleep(500 + new Random(DateTime.Now.Millisecond).Next(500));
-
- x1 = x + new Random(DateTime.Now.Millisecond).Next(6, 30);
- y1 = y + new Random(DateTime.Now.Millisecond).Next(84, 94);
- host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, false, 1, CefEventFlags.None); // 按下鼠标左键
- Thread.Sleep(70 + new Random(DateTime.Now.Millisecond).Next(50));
- host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, true, 1, CefEventFlags.None); // 松开鼠标左键
- Thread.Sleep(1500 + new Random(DateTime.Now.Millisecond).Next(500));
- }
- else
- {
- failMsg = "佣金商品列表获取失败。";
- goto showFail;
- }
- #endregion
-
- #region 输入商品编号并查询
-
- jsStr1 = "function getPos() { var box = document.getElementsByClassName('ant-select-show-search');" +
- "if (box[0] == null) return '-|-';" +
- "var actualLeft = box[0].offsetLeft;" +
- "var actualTop = box[0].offsetTop;" +
- "var current = box[0].offsetParent;" +
- "while (current !== null) { actualLeft += current.offsetLeft; actualTop += current.offsetTop; current = current.offsetParent; }" +
- "return '' + actualLeft + '|' + actualTop;}" +
- "getPos();";
- task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
- task.Wait();
- result = task.Result?.Result?.ToString();
-
- if (result != null && result != "-|-")
- {
- var arr = result.Split('|');
- if (arr.Length == 2)
- {
- x = Convert.ToInt32(arr[0]);
- y = Convert.ToInt32(arr[1]);
- }
- int x1 = x + new Random(DateTime.Now.Millisecond).Next(6, 30);
- int y1 = y + new Random(DateTime.Now.Millisecond).Next(6, 16);
- host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, false, 1, CefEventFlags.None); // 按下鼠标左键
- Thread.Sleep(70 + new Random(DateTime.Now.Millisecond).Next(50));
- host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, true, 1, CefEventFlags.None); // 松开鼠标左键
- Thread.Sleep(500 + new Random(DateTime.Now.Millisecond).Next(500));
-
- Invoke(new Action(() =>
- {
- Clipboard.Clear();
- Clipboard.SetDataObject("" + productIds.TrimEnd(',')); // 复制要搜索的商品ID到剪贴板
- }));
-
- // 黏贴 ctrl + v
- host.SendKeyEvent(new CefSharp.KeyEvent() { WindowsKeyCode = 86, Type = KeyEventType.RawKeyDown, Modifiers = CefEventFlags.ControlDown });
- Thread.Sleep(1250 + new Random(DateTime.Now.Millisecond).Next(250));
- }
- else
- {
- failMsg = "查询新增佣金商品失败。";
- goto showFail;
- }
- }
-
- // 点击查询按钮
- jsStr1 = "document.getElementsByClassName('search-btns-item-first')[0].click();";
- task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
- task.Wait();
- Thread.Sleep(2500 + new Random(DateTime.Now.Millisecond).Next(500));
-
- // 获取页面上是否有数据
- task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync("document.getElementsByClassName('auxo-drawer-wrapper-body')[0].innerHTML.indexOf('暂无数据') >= 0");
- task.Wait();
- // 如果暂无数据,说明已设置完成,跳转到设置完成。
- if (task.Result?.Result?.ToString()?.ToLower() == "true")
- {
- goto SetEnd;
- }
- #endregion
-
- #region 勾选商品信息
- jsStr1 = getFirstElementJsStr +
- "\r\nfunction getInnerHtml() {\r\n" +
- " var item = document.getElementsByClassName('ant-table-wrapper activity-list-table')[0];\r\n" +
- " if (item) {\r\n" +
- " return item.innerHTML;\r\n" +
- " }\r\n" +
- " return 'no_element';\r\n" +
- "}\r\n" +
- "getInnerHtml();";
- task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
- task.Wait();
- Thread.Sleep(1500 + new Random(DateTime.Now.Millisecond).Next(500));
- var idArray = productIds.TrimEnd(',').Split(',');
- if (task.Result?.Result?.ToString() == null || !idArray.Any(a => task.Result.Result.ToString().Contains(a)))
- {
- failMsg = "设置新增佣金商品不存在。";
- goto showFail;
- }
-
- jsStr1 = getFirstElementJsStr +
- "\r\nfunction clickCheckBox() {\r\n" +
- " var item = document.getElementsByClassName('auxo-table-wrapper activity-list-table')[0];\r\n" +
- " if (item) {\r\n" +
- " var tHead = getFirstElement('THEAD', item)\r\n" +
- " var tagItem = getFirstElement('INPUT', tHead)\r\n" +
- " if (tagItem) tagItem.click(); return 'success';\r\n" +
- " }\r\n" +
- " return 'no_element';\r\n" +
- "}\r\n" +
- "clickCheckBox();";
- task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
- task.Wait();
- Thread.Sleep(1500 + new Random(DateTime.Now.Millisecond).Next(500));
- if (task.Result?.Result?.ToString() != "success")
- {
- failMsg = "设置新增佣金商品选择失败。";
- goto showFail;
- }
- #endregion
-
- #region 点击确定设置佣金
- jsStr1 = "const originalPush = Router.prototype.push;" +
- "Router.prototype.push = function push(location) {" +
- " return originalPush.call(this, location).catch(err => err) " +
- "}" +
-
- "function clickSetCommMulti() {" +
- " var btn = document.getElementsByClassName('exclusive_commodity-filter-drawer-footer-operations__operation ant-btn-primary')[0];" +
- " if (btn) { btn.click(); return; }" +
- " btn = document.getElementsByClassName('auxo-btn-primary exclusive_commodity-filter-drawer-footer-operations__operation')[0];" +
- " if (btn) { btn.click(); return; }" +
- "}" +
- "clickSetCommMulti();";
- task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
- task.Wait();
- Thread.Sleep(1500 + new Random(DateTime.Now.Millisecond).Next(500));
- #endregion
-
- for (int i = 0; i < 9999; i++)
- {
- Thread.Sleep(1000);
- }
-
- #region 设置申样
- if (sampleRule == "不支持申样")
- {
- jsStr = clickJsElementStr +
- "function checkSampleRule(){" +
- " var elem = getElement('" + sampleRule + "', document.getElementsByClassName('auxo-drawer-wrapper-body')[0]);\r\n" +
- " if (elem) elem.click(); return 'success';\r\n" +
- " return 'no_element';\r\n" +
- "} " +
- "checkSampleRule();\r\n";
- t1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- t1.Wait();
- if (t1.Result?.Result?.ToString() != "success")
- {
- failMsg = "选择申样设置门槛失败。";
- goto showFail;
- }
- }
- #endregion
-
- #region 设置佣金金额
- jsStr1 = "function getPos() { var box = document.getElementsByClassName('auxo-input-number-input');" +
- "if (box[0] == null) return '-|-';" +
- "var actualLeft = box[0].offsetLeft;" +
- "var actualTop = box[0].offsetTop;" +
- "var current = box[0].offsetParent;" +
- "while (current !== null) { actualLeft += current.offsetLeft; actualTop += current.offsetTop; current = current.offsetParent; }" +
- "return '' + actualLeft + '|' + actualTop;}" +
- "getPos();";
- task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
- task.Wait();
- result = task.Result?.Result?.ToString();
-
- if (result != null && result != "-|-")
- {
- var arr = result.Split('|');
- if (arr.Length == 2)
- {
- x = Convert.ToInt32(arr[0]);
- y = Convert.ToInt32(arr[1]);
- }
- int x1 = x + new Random(DateTime.Now.Millisecond).Next(30, 60);
- int y1 = y + new Random(DateTime.Now.Millisecond).Next(6, 16);
- host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, false, 1, CefEventFlags.None); // 按下鼠标左键
- Thread.Sleep(70 + new Random(DateTime.Now.Millisecond).Next(50));
- host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, true, 1, CefEventFlags.None); // 松开鼠标左键
- Thread.Sleep(150 + new Random(DateTime.Now.Millisecond).Next(150));
-
- // 模拟输入退格键
- host.SendKeyEvent(new CefSharp.KeyEvent() { WindowsKeyCode = 8, Type = KeyEventType.RawKeyDown, Modifiers = CefEventFlags.None });
- Thread.Sleep(250 + new Random(DateTime.Now.Millisecond).Next(250));
- // 模拟输入退格键
- host.SendKeyEvent(new CefSharp.KeyEvent() { WindowsKeyCode = 8, Type = KeyEventType.RawKeyDown, Modifiers = CefEventFlags.None });
- Thread.Sleep(250 + new Random(DateTime.Now.Millisecond).Next(250));
-
- Invoke(new Action(() =>
- {
- Clipboard.Clear();
- Clipboard.SetDataObject("" + rate); // 复制要搜索的商品ID到剪贴板
- }));
-
- // 黏贴 ctrl + v
- host.SendKeyEvent(new CefSharp.KeyEvent() { WindowsKeyCode = 86, Type = KeyEventType.RawKeyDown, Modifiers = CefEventFlags.ControlDown });
- Thread.Sleep(1500 + new Random(DateTime.Now.Millisecond).Next(500));
- }
- else
- {
- failMsg = "佣金金额设置失败。";
- goto showFail;
- }
- #endregion
-
- #region 最后点击确定按钮设置佣金
- //apply-sample-modal-footer
- jsStr1 = clickJsElementStr +
- "function clickOkBtn(){" +
- " var elem = getElement('确定', document.getElementsByClassName('auxo-drawer-wrapper-body')[0]);\r\n" +
- " if (elem) elem.click(); return 'success';\r\n" +
- " return 'no_element';\r\n" +
- "} " +
- "clickOkBtn();\r\n";
- task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
- task.Wait();
- Thread.Sleep(500 + new Random(DateTime.Now.Millisecond).Next(500));
- #endregion
-
- Thread.Sleep(2000);
-
- //bool isRetry = false;
- //Retry:
- //var url = "https://buyin.jinritemai.com/api/promotion/createXdPromotions";
- ////if (!string.IsNullOrEmpty(sign))
- //// url += "?_signature=" + sign;
- //var request = new CommonSimRequest();
- //var referer = "https://buyin.jinritemai.com/dashboard/activity/common-plan";
- //var data = "cos_ratio=" + rate + "&apply_style=1&product_ids=" + productIds.Trim(',');
- //Dictionary headers = new Dictionary();
- //headers.Add("Origin", @"https://buyin.jinritemai.com");
- //var html = request.Request_Post(url, referer, headers, shop.Cookies, data);
- //if (html.Contains("\"msg\":\"success\"") && html.Contains("\"failed_ids\":{}"))
- //{
- //}
- //else
- //{
- // if (!isRetry)
- // {
- // isRetry = true;
- // goto Retry;
- // }
-
- //}
-
- var html = "";
- //lock (lstCommissionAddResult)
- //{
- // try
- // {
- // //if (html.Contains("\"msg\":\"success\"") && html.Contains("\"failed_ids\":{}"))
- // {
- // lstCommissionAddResult.RemoveAll(s => productIds.Contains(s.ProductId.ToString()) || s.ProductId == 0);
- // NaiBa.Util.ConfigHelper.SaveConfig("upload_commission_list", lstCommissionAddResult);
- // }
- // }
- // catch (Exception ex) { }
- //}
- for (int k = 0; k < 5; k++)
- {
- Thread.Sleep(1000);
- //if (lstCommissionAddResult.Count > 10 || Work.BLL.Upload.UploadProductBLL.ProductStock.Count < 1)
- // break;
- }
- }
-
- SetEnd:
- Invoke(new Action(() =>
- {
- shop.Message = "设置完成";
- var row = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value?.ToString() == shop.ShopId);
- if (row != null)
- row.Cells["colMessage"].Value = "设置完成";
- }));
-
- showFail:
- if (!string.IsNullOrEmpty(failMsg))
- {
- if (failMsg.Contains("设置新增佣金商品不存在") || failMsg.Contains("佣金金额设置失败"))
- {
- shop.Message = "设置完成";
- }
- else
- {
- shop.Message = failMsg;
-
- Invoke(new Action(() =>
- {
- pnlShowError.Visible = true;
- pnlShowError.Text = " 设置佣金部分失败:" + failMsg + " " + productIds.Trim(',') + " ";
- this.pnlShowError.BringToFront();
- Task.Run(() =>
- {
- Thread.Sleep(8000);
- if (this.Created)
- Invoke(new Action(() =>
- {
- this.pnlShowError.Visible = false;
- }));
- });
- }));
- }
- Invoke(new Action(() =>
- {
- var row1 = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value?.ToString() == shop.ShopId);
- if (row1 != null)
- row1.Cells["colMessage"].Value = shop.Message;
- }));
- }
- }
-
- private void WebBrowser_AddressChanged(object sender, CefSharp.AddressChangedEventArgs e)
- {
- }
-
- private void webBrowser_FrameLoadEnd(object sender, CefSharp.FrameLoadEndEventArgs e)
- {
- }
-
- public static string clickJsElementStr = "function getElement(txt, elem) {\r\n" +
- " var child = document.body.firstElementChild;\r\n" +
- " if (elem) child = elem\r\n" +
- " var element1 = null;\r\n" +
- " while (child) {\r\n" +
- " if (child.innerHTML.indexOf(txt) >= 0) {\r\n" +
- " element1 = child;\r\n" +
- " if (child.firstElementChild) {\r\n" +
- " child = child.firstElementChild; continue;\r\n" +
- " } else break;\r\n" +
- " }\r\n" +
- " child = child.nextElementSibling;\r\n" +
- " }\r\n" +
- " if (element1) {\r\n" +
- " return element1;\r\n" +
- " } else return error;\r\n" +
- "}\r\n";
-
- public static string getFirstElementJsStr = "function getFirstElement(tag_name, elem) {\r\n" +
- " var nodes = [];\r\n" +
- " var child = document.body.firstElementChild;\r\n" +
- " if (elem) child = elem\r\n" +
- " nodes.push(child);\r\n" +
- " for (i = 0; i < nodes.length; i++) {\r\n" +
- " if (nodes[i].tagName === tag_name) return nodes[i];\r\n" +
- " for (j = 0; j < nodes[i].childNodes.length; j++) {\r\n" +
- " var node = nodes[i].childNodes[j];\r\n" +
- " if ((node.nodeType != 3) && (node.nodeName != 'SCRIPT')) {\r\n" +
- " nodes.push(node);\r\n" +
- " }\r\n" +
- " }\r\n" +
- " }\r\n" +
- " return error;\r\n" +
- "}\r\n";
-
- private void dgvShop_CellContentClick(object sender, DataGridViewCellEventArgs e)
- {
- if (e.ColumnIndex < 0 || e.RowIndex < 0)
- return;
- string colId = dgvShop.Columns[e.ColumnIndex].Name;
- if (colId == "colSelect")
- {
- dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value = !dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value.ParseToBool();
- }
- }
-
- private void btnStop_Click(object sender, EventArgs e)
- {
- isRun = false;
- }
- }
-}
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/CommissionForm.resx b/TEMUKJD/KJDForms/ProductForms/Old/CommissionForm.resx
deleted file mode 100644
index 4a0af8d..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/CommissionForm.resx
+++ /dev/null
@@ -1,132 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/FilterForm.Designer.cs b/TEMUKJD/KJDForms/ProductForms/Old/FilterForm.Designer.cs
deleted file mode 100644
index 0384230..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/FilterForm.Designer.cs
+++ /dev/null
@@ -1,147 +0,0 @@
-namespace TemuKJD.KJDForms.ProductForms
-{
- partial class FilterForm
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FilterForm));
- this.splitContainer1 = new System.Windows.Forms.SplitContainer();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.btnSave = new TemuKJD.UserControls.ButtonEx();
- this.richTextBox1 = new System.Windows.Forms.RichTextBox();
- this.panel2 = new System.Windows.Forms.Panel();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
- this.splitContainer1.Panel1.SuspendLayout();
- this.splitContainer1.Panel2.SuspendLayout();
- this.splitContainer1.SuspendLayout();
- this.panel2.SuspendLayout();
- this.SuspendLayout();
- //
- // 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(0, 0);
- this.splitContainer1.Name = "splitContainer1";
- //
- // splitContainer1.Panel1
- //
- this.splitContainer1.Panel1.BackColor = System.Drawing.Color.White;
- this.splitContainer1.Panel1.Controls.Add(this.labelX1);
- this.splitContainer1.Panel1.Controls.Add(this.btnSave);
- //
- // splitContainer1.Panel2
- //
- this.splitContainer1.Panel2.Controls.Add(this.richTextBox1);
- this.splitContainer1.Panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.splitContainer1_Panel2_Paint);
- this.splitContainer1.Size = new System.Drawing.Size(630, 463);
- this.splitContainer1.SplitterDistance = 153;
- this.splitContainer1.TabIndex = 0;
- //
- // labelX1
- //
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labelX1.ForeColor = System.Drawing.SystemColors.ControlDark;
- this.labelX1.Location = new System.Drawing.Point(12, 84);
- this.labelX1.Name = "labelX1";
- this.labelX1.Size = new System.Drawing.Size(125, 119);
- this.labelX1.TabIndex = 401;
- this.labelX1.Text = "维护范例:(一行一词)\r\n\r\n耐克\r\n阿迪达斯\r\n李宁\r\n……";
- //
- // btnSave
- //
- this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSave.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnSave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnSave.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnSave.ForeColor = System.Drawing.Color.White;
- this.btnSave.Location = new System.Drawing.Point(35, 54);
- this.btnSave.Margin = new System.Windows.Forms.Padding(2);
- this.btnSave.Name = "btnSave";
- this.btnSave.Size = new System.Drawing.Size(75, 25);
- this.btnSave.TabIndex = 400;
- this.btnSave.Text = "保存";
- this.btnSave.UseVisualStyleBackColor = false;
- this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
- //
- // richTextBox1
- //
- this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
- this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.richTextBox1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.richTextBox1.Location = new System.Drawing.Point(0, 0);
- this.richTextBox1.Name = "richTextBox1";
- this.richTextBox1.Size = new System.Drawing.Size(473, 463);
- this.richTextBox1.TabIndex = 1;
- this.richTextBox1.Text = "";
- //
- // panel2
- //
- this.panel2.Controls.Add(this.splitContainer1);
- this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.panel2.Location = new System.Drawing.Point(1, 33);
- this.panel2.Name = "panel2";
- this.panel2.Size = new System.Drawing.Size(630, 463);
- this.panel2.TabIndex = 1;
- //
- // FilterForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
- this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.ClientSize = new System.Drawing.Size(632, 497);
- this.Controls.Add(this.panel2);
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.Name = "FilterForm";
- this.Text = "违规词管理";
- this.TitleText = "违规词管理";
- this.Load += new System.EventHandler(this.FilterForm_Load);
- this.Controls.SetChildIndex(this.panel2, 0);
- this.splitContainer1.Panel1.ResumeLayout(false);
- this.splitContainer1.Panel2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
- this.splitContainer1.ResumeLayout(false);
- this.panel2.ResumeLayout(false);
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private System.Windows.Forms.SplitContainer splitContainer1;
- private DevComponents.DotNetBar.LabelX labelX1;
- private UserControls.ButtonEx btnSave;
- private System.Windows.Forms.RichTextBox richTextBox1;
- private System.Windows.Forms.Panel panel2;
- }
-}
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/FilterForm.cs b/TEMUKJD/KJDForms/ProductForms/Old/FilterForm.cs
deleted file mode 100644
index 1381b4a..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/FilterForm.cs
+++ /dev/null
@@ -1,140 +0,0 @@
-using AllBase;
-using TemuKJD.KJDForms.BaseForms;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-using Work;
-using Work.BLL.Upload;
-
-namespace TemuKJD.KJDForms.ProductForms
-{
- public partial class FilterForm : LRBaseForm
- {
- string _type = "标题违规词";
-
- public FilterForm(string type = "标题违规词")
- {
- InitializeComponent();
-
- _type = type;
- this.Text = TitleText = type.Replace("属性违规词", "sku违规词") + "管理";
- }
-
- private void btnSave_Click(object sender, EventArgs e)
- {
- if (_type == "标题违规词")
- FileBase.WriteAllText("config/标题过滤词x.ini", richTextBox1.Text, Encoding.Default);
- if (_type == "标题去除词")
- FileBase.WriteAllText("config/标题去除词x.ini", richTextBox1.Text, Encoding.Default);
- else if (_type == "属性违规词")
- FileBase.WriteAllText("config/属性过滤词x.ini", richTextBox1.Text, Encoding.Default);
- else if (_type == "品牌违规词")
- FileBase.WriteAllText("config/品牌属性过滤词x.ini", richTextBox1.Text, Encoding.Default);
-
- LoadFilterWord();
- BaseMsgForm.ShowInfo("保存成功!", "提示", FormLevel.SMALL);
- this.Close();
- }
-
- private void FilterForm_Load(object sender, EventArgs e)
- {
- if (_type == "标题违规词")
- richTextBox1.Text = FileBase.ReadAllText("config/标题过滤词x.ini", Encoding.Default);
- if (_type == "标题去除词")
- richTextBox1.Text = FileBase.ReadAllText("config/标题去除词x.ini", Encoding.Default);
- else if (_type == "属性违规词")
- {
- richTextBox1.Text = FileBase.ReadAllText("config/属性过滤词x.ini", Encoding.Default);
- if (Work.Initialization.IsBase64(richTextBox1.Text))
- {
- richTextBox1.Text = Work.Initialization.Base64Decrypt(richTextBox1.Text);
- }
- }
- else if (_type == "品牌违规词")
- richTextBox1.Text = FileBase.ReadAllText("config/品牌属性过滤词x.ini", Encoding.Default);
-
- if (Initialization.IsBase64(richTextBox1.Text))
- {
- richTextBox1.Text = Initialization.Base64Decrypt(richTextBox1.Text);
- }
- }
-
- public static void LoadFilterWord()
- {
- UploadProductBLL.FilterTitleWordList.Clear();
- string[] l = FileBase.ReadAllLines("config/标题过滤词x.ini", Encoding.Default);
- if (l != null)
- {
- for (int i = 0; i < l.Length; i++)
- {
- if (string.IsNullOrEmpty(l[i]))
- continue;
- string s = l[i].Trim();
- if (string.IsNullOrEmpty(s))
- continue;
- UploadProductBLL.FilterTitleWordList.Add(s);
- }
- }
-
- UploadProductBLL.FilterRemoveTitleWordList.Clear();
- string[] lr = FileBase.ReadAllLines("config/标题去除词x.ini", Encoding.Default);
- if (lr != null)
- {
- for (int i = 0; i < lr.Length; i++)
- {
- if (string.IsNullOrEmpty(lr[i]))
- continue;
- string s = lr[i].Trim();
- if (string.IsNullOrEmpty(s))
- continue;
- UploadProductBLL.FilterRemoveTitleWordList.Add(s);
- }
- }
-
- UploadProductBLL.FilterSkuWordList.Clear();
- string[] t = FileBase.ReadAllLines("config/属性过滤词x.ini", Encoding.Default);
- if (t != null)
- {
- for (int i = 0; i < t.Length; i++)
- {
- if (Work.Initialization.IsBase64(t[i]))
- {
- t[i] = Work.Initialization.Base64Decrypt(t[i]);
- }
- if (string.IsNullOrEmpty(t[i]))
- continue;
- string s = t[i].Trim();
- if (string.IsNullOrEmpty(s))
- continue;
- UploadProductBLL.FilterSkuWordList.Add(s);
- }
- }
-
- UploadProductBLL.FilterBrandWordList.Clear();
- string[] b = FileBase.ReadAllLines("config/品牌属性过滤词x.ini", Encoding.Default);
- if (b != null)
- {
- for (int i = 0; i < b.Length; i++)
- {
- if (string.IsNullOrEmpty(b[i]))
- continue;
- string s = b[i].Trim();
- if (string.IsNullOrEmpty(s))
- continue;
- UploadProductBLL.FilterBrandWordList.Add(s);
- }
- }
- }
-
- private void splitContainer1_Panel2_Paint(object sender, PaintEventArgs e)
- {
-
- }
- }
-}
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/FilterForm.resx b/TEMUKJD/KJDForms/ProductForms/Old/FilterForm.resx
deleted file mode 100644
index 5139645..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/FilterForm.resx
+++ /dev/null
@@ -1,298 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
-
-
- AAABAAEAgIAQXAAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
- 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==
-
-
-
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/GetUpProductForm.Designer.cs b/TEMUKJD/KJDForms/ProductForms/Old/GetUpProductForm.Designer.cs
deleted file mode 100644
index 8ec9b43..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/GetUpProductForm.Designer.cs
+++ /dev/null
@@ -1,240 +0,0 @@
-namespace TemuKJD.KJDForms.ProductForms
-{
- partial class GetUpProductForm
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
- this.label1 = new System.Windows.Forms.Label();
- this.pbPaste = new System.Windows.Forms.PictureBox();
- this.txtIds = new DevComponents.DotNetBar.Controls.TextBoxX();
- this.labelX10 = new DevComponents.DotNetBar.LabelX();
- this.btnSearch = new DevComponents.DotNetBar.ButtonX();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
- this.dgvProduct = new TemuKJD.UserComponent.DataGridViewEx();
- this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
- this.colProductId = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colFrom = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colUpId = new System.Windows.Forms.DataGridViewTextBoxColumn();
- ((System.ComponentModel.ISupportInitialize)(this.pbPaste)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.dgvProduct)).BeginInit();
- this.SuspendLayout();
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.ForeColor = System.Drawing.Color.Gray;
- this.label1.Location = new System.Drawing.Point(245, 125);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(490, 17);
- this.label1.TabIndex = 31;
- this.label1.Text = "说明:多件商品请用逗号隔开,将同时弹出多个浏览器窗口。最大支持同时跳转20件商品。";
- //
- // pbPaste
- //
- this.pbPaste.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.pbPaste.BackColor = System.Drawing.Color.White;
- this.pbPaste.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.pbPaste.Image = global::TemuKJD.Properties.Resources.FullPaste;
- this.pbPaste.Location = new System.Drawing.Point(860, 75);
- this.pbPaste.Name = "pbPaste";
- this.pbPaste.Size = new System.Drawing.Size(33, 29);
- this.pbPaste.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
- this.pbPaste.TabIndex = 30;
- this.pbPaste.TabStop = false;
- this.pbPaste.Click += new System.EventHandler(this.pbPaste_Click);
- //
- // txtIds
- //
- this.txtIds.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- //
- //
- //
- this.txtIds.Border.Class = "TextBoxBorder";
- this.txtIds.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.txtIds.Font = new System.Drawing.Font("新宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtIds.Location = new System.Drawing.Point(137, 75);
- this.txtIds.Name = "txtIds";
- this.txtIds.PreventEnterBeep = true;
- this.txtIds.Size = new System.Drawing.Size(724, 29);
- this.txtIds.TabIndex = 28;
- //
- // labelX10
- //
- this.labelX10.BackColor = System.Drawing.Color.Transparent;
- //
- //
- //
- this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX10.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labelX10.Location = new System.Drawing.Point(53, 78);
- this.labelX10.Name = "labelX10";
- this.labelX10.Size = new System.Drawing.Size(92, 23);
- this.labelX10.TabIndex = 27;
- this.labelX10.Text = "宝贝ID";
- //
- // btnSearch
- //
- this.btnSearch.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.btnSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSearch.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnSearch.Location = new System.Drawing.Point(137, 119);
- this.btnSearch.Name = "btnSearch";
- this.btnSearch.Size = new System.Drawing.Size(89, 29);
- this.btnSearch.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeXP;
- this.btnSearch.TabIndex = 48;
- this.btnSearch.Text = "搜索";
- this.btnSearch.TextColor = System.Drawing.Color.White;
- this.btnSearch.ThemeAware = true;
- this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.buttonX1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.buttonX1.Location = new System.Drawing.Point(137, 163);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(233, 29);
- this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeXP;
- this.buttonX1.TabIndex = 49;
- this.buttonX1.Text = "搜索并列表显示";
- this.buttonX1.TextColor = System.Drawing.Color.White;
- this.buttonX1.ThemeAware = true;
- this.buttonX1.Visible = false;
- this.buttonX1.Click += new System.EventHandler(this.buttonX1_Click);
- //
- // dgvProduct
- //
- this.dgvProduct.AllowUserToAddRows = false;
- this.dgvProduct.AllowUserToDeleteRows = false;
- dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
- this.dgvProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
- this.dgvProduct.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.dgvProduct.BackgroundColor = System.Drawing.Color.White;
- this.dgvProduct.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
- this.dgvProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dgvProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.colSelect,
- this.colProductId,
- this.colFrom,
- this.colUpId});
- this.dgvProduct.Location = new System.Drawing.Point(137, 198);
- this.dgvProduct.Name = "dgvProduct";
- this.dgvProduct.ReadOnly = true;
- dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.dgvProduct.RowsDefaultCellStyle = dataGridViewCellStyle3;
- this.dgvProduct.RowTemplate.Height = 23;
- this.dgvProduct.Size = new System.Drawing.Size(756, 253);
- this.dgvProduct.TabIndex = 50;
- this.dgvProduct.Visible = false;
- //
- // colSelect
- //
- this.colSelect.FillWeight = 50F;
- this.colSelect.HeaderText = "选";
- this.colSelect.Name = "colSelect";
- this.colSelect.ReadOnly = true;
- this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.False;
- this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.colSelect.Visible = false;
- this.colSelect.Width = 41;
- //
- // colProductId
- //
- this.colProductId.HeaderText = "商品Id";
- this.colProductId.Name = "colProductId";
- this.colProductId.ReadOnly = true;
- this.colProductId.Width = 200;
- //
- // colFrom
- //
- this.colFrom.HeaderText = "来源";
- this.colFrom.Name = "colFrom";
- this.colFrom.ReadOnly = true;
- this.colFrom.Width = 90;
- //
- // colUpId
- //
- this.colUpId.HeaderText = "上家Id";
- this.colUpId.Name = "colUpId";
- this.colUpId.ReadOnly = true;
- this.colUpId.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colUpId.Width = 250;
- //
- // GetUpProductForm
- //
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
- this.BackColor = System.Drawing.Color.White;
- this.ClientSize = new System.Drawing.Size(947, 480);
- this.Controls.Add(this.dgvProduct);
- this.Controls.Add(this.buttonX1);
- this.Controls.Add(this.btnSearch);
- this.Controls.Add(this.label1);
- this.Controls.Add(this.pbPaste);
- this.Controls.Add(this.txtIds);
- this.Controls.Add(this.labelX10);
- this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.Name = "GetUpProductForm";
- this.Text = "GetUpProductForm";
- ((System.ComponentModel.ISupportInitialize)(this.pbPaste)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.dgvProduct)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.PictureBox pbPaste;
- private DevComponents.DotNetBar.Controls.TextBoxX txtIds;
- private DevComponents.DotNetBar.LabelX labelX10;
- private DevComponents.DotNetBar.ButtonX btnSearch;
- private DevComponents.DotNetBar.ButtonX buttonX1;
- private UserComponent.DataGridViewEx dgvProduct;
- private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
- private System.Windows.Forms.DataGridViewTextBoxColumn colProductId;
- private System.Windows.Forms.DataGridViewTextBoxColumn colFrom;
- private System.Windows.Forms.DataGridViewTextBoxColumn colUpId;
- }
-}
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/GetUpProductForm.cs b/TEMUKJD/KJDForms/ProductForms/Old/GetUpProductForm.cs
deleted file mode 100644
index 1a63172..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/GetUpProductForm.cs
+++ /dev/null
@@ -1,135 +0,0 @@
-using AllBase;
-using TemuKJD.KJDForms.BaseForms;
-using NaiBa.Util;
-using NaiBa.Util.Extension;
-using NaiBa.Util.Helper;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-using Work;
-
-namespace TemuKJD.KJDForms.ProductForms
-{
- public partial class GetUpProductForm : BaseForm
- {
- public GetUpProductForm()
- {
- InitializeComponent();
- }
-
- private void btnSearch_Click(object sender, EventArgs e)
- {
- if (string.IsNullOrEmpty(this.txtIds.Text.Trim()))
- {
- BaseMsgForm.ShowError("请输入商品ID!");
- return;
- }
-
- var idArr = this.txtIds.Text.Trim().Split(new string[] { "\r", "\n", ",", ",", ";", "-----" }, StringSplitOptions.RemoveEmptyEntries);
- idArr = idArr.Take(20).ToArray();
- foreach (var prodId in idArr)
- {
- var product_id = prodId.ParseToLong();
- if (product_id > 0)
- {
- string url = BaseClass.LoginApiUrl + "?obj=upshopid/upid_dd&act=get";
- string data = "&pid=" + product_id + "&table=" + (product_id % 1024);
- string html = GetHtml.PostUtf8(url, UserLogin.GetSignaturex("", "") + data);
- string upId = BaseRegex.GetMatchRegexString(html, @"([\d]+)");
- string upUrl = "";
- if (html.StartsWith("tb"))
- upUrl = "https://item.taobao.com/item.htm?id=" + upId;
- if (html.StartsWith("pd"))
- upUrl = "https://mobile.yangkeduo.com/goods.html?goods_id=" + upId;
- if (html.StartsWith("al"))
- upUrl = "https://detail.1688.com/offer/" + upId + ".html";
- if (html.StartsWith("jx"))
- upUrl = "https://item.jd.com/" + upId + ".html";
- if (html.StartsWith("dy"))
- upUrl = "https://haohuo.jinritemai.com/views/product/detail?id=" + upId;
- if (string.IsNullOrEmpty(upId))
- upUrl = "https://www.baidu.com";
- FileHelper.OpenUrl(upUrl + (upUrl.Contains("?") ? "&" : "?") + "lr_search_id=" + product_id);
- //GetHtml.OpenUrl(upUrl + (upUrl.Contains("?") ? "&" : "?") + "lr_search_id=" + product_id);
- }
- else
- {
- BaseMsgForm.ShowError("输入商品Id错误!");
- break;
- }
- }
- }
-
- private void pbPaste_Click(object sender, EventArgs e)
- {
- if (BaseClass.UserName == "18888888888")
- {
- this.buttonX1.Visible = true;
- }
-
- IDataObject iData = Clipboard.GetDataObject();
- if (iData != null && iData.GetDataPresent(DataFormats.Text))
- {
- txtIds.Text = (string)iData.GetData(DataFormats.Text);
- }
- }
-
- private void buttonX1_Click(object sender, EventArgs e)
- {
- if (string.IsNullOrEmpty(this.txtIds.Text.Trim()))
- {
- BaseMsgForm.ShowError("请输入商品ID!");
- return;
- }
-
- dgvProduct.Visible = true;
- dgvProduct.Rows.Clear();
-
- var idArr = this.txtIds.Text.Trim().Split(new string[] { "\r", "\n", ",", ",", ";", "-----" }, StringSplitOptions.RemoveEmptyEntries);
- //idArr = idArr.Take(20).ToArray();
- Task.Run(() =>
- {
- foreach (var prodId in idArr)
- {
- Thread.Sleep(50);
- var product_id = prodId.ParseToLong();
- if (product_id > 0)
- {
- string url = BaseClass.LoginApiUrl + "?obj=upshopid/upid_dd&act=get";
- string data = "&pid=" + product_id + "&table=" + (product_id % 1024);
- string html = GetHtml.PostUtf8(url, UserLogin.GetSignaturex("", "") + data);
- string upId = BaseRegex.GetMatchRegexString(html, @"([\d]+)");
- string upUrl = "";
- string from = "";
- if (html.StartsWith("tb"))
- from = "淘宝";
- if (html.StartsWith("pd"))
- from = "拼多多";
- if (html.StartsWith("al"))
- from = "阿里";
- if (html.StartsWith("jx"))
- from = "京东";
- if (html.StartsWith("dy"))
- from = "抖音";
- Invoke(new Action(() =>
- {
- this.dgvProduct.Rows.Add(false, product_id, from, html.Split('-').LastOrDefault());
- }));
- }
- else
- {
- BaseMsgForm.ShowError("输入商品Id错误!");
- break;
- }
- }
- });
- }
- }
-}
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/GetUpProductForm.resx b/TEMUKJD/KJDForms/ProductForms/Old/GetUpProductForm.resx
deleted file mode 100644
index 70aad3e..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/GetUpProductForm.resx
+++ /dev/null
@@ -1,132 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/IeForm.cs b/TEMUKJD/KJDForms/ProductForms/Old/IeForm.cs
deleted file mode 100644
index 3d37723..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/IeForm.cs
+++ /dev/null
@@ -1,897 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-using AllBase;
-using CefSharp.WinForms;
-using CefSharp;
-using Work;
-using System.Threading;
-using Work.CollectClass;
-using Work.Api;
-using TemuKJD.KJDForms.BaseForms;
-
-namespace TemuKJD.KJDForms
-{
- public partial class IeForm : LRBaseForm
- {
- public string Url = "";
- public string skipUrl = "";
- public bool isSlide = false;
- public bool isExecJsSuccess = false;
- public string x5Sec = "";
- public string Title { get { return Text; } set { Text = value; } }
- public string UrlString { get { return Url; } set { Url = value; } }
-
- public IeForm()
- {
- InitializeComponent();
- }
-
- public IeForm(string _url)
- {
- Url = _url;
- InitializeComponent();
- }
- public ChromiumWebBrowser cefWebBrowser3;
- private void IeForm_Load(object sender, EventArgs e)
- {
- if (BaseClass.Ico != null)
- Icon = BaseClass.Ico;
- if (string.IsNullOrEmpty(Url))
- {
- cefWebBrowser3 = new ChromiumWebBrowser("https://login.taobao.com/member/login.jhtml?style=mini&newMini2=true&redirectURL=https://s.taobao.com/search?q=se&imgfile=&commend=all&ssid=s5-e&search_type=item&sourceId=tb.index&spm=a21bo.2017.201856-taobao-item.1&ie=utf8&initiative_id=tbindexz_20170306");
- StartPosition = FormStartPosition.CenterScreen;
- }
- else
- {
- if (string.IsNullOrEmpty(TitleText))
- {
- Location = new Point(330, 220);
- TitleText = Text = "账号登录";
- cefWebBrowser3 = new ChromiumWebBrowser(Url);
- }
- else
- {
- cefWebBrowser3 = new ChromiumWebBrowser(Url);
- Text = TitleText;
- }
- }
- RequestContextSettings requestContextSettings = new RequestContextSettings();
- requestContextSettings.PersistSessionCookies = false;
- //cef138//requestContextSettings.PersistUserPreferences = false;
- cefWebBrowser3.RequestContext = new RequestContext(requestContextSettings);
- cefWebBrowser3.Dock = DockStyle.Fill;
- cefWebBrowser3.AutoSize = true;
-
- cefWebBrowser3.FrameLoadEnd += CefWebBrowser3_FrameLoadEnd;
- cefWebBrowser3.AddressChanged += CefWebBrowser3_AddressChanged;
- cefWebBrowser3.AddressChanged += cefWebBrowser3_UrlChanged;
-
- cefWebBrowser3.BrowserSettings = new BrowserSettings { /*Plugins = CefState.Disabled*/ /*cef92*/ };
- panel2.Controls.Add(cefWebBrowser3);
- DelCookies();
- ChromeCookies = "";
- new Thread(ReflashCookies).Start();
- new Thread(ResetUserList).Start();
- new Thread(SetTaoBaoCookies).Start();
- new Thread(AutoRrefreshCookies).Start();
- }
- public void SetTaoBaoCookies()
- {
- if (TaobaoMobileCollect.CookiesDic.Count > 0)
- {
- foreach (var kvp in TaobaoMobileCollect.CookiesDic)
- {
- AddList(kvp.Key, kvp.Value, 1);
- }
- }
- }
- private void ResetUserList()
- {
- Thread.Sleep(100);
- if (this.userComboBox.InvokeRequired)
- {
- this.Invoke(new Action(() => { userComboBox.Items.Clear(); }));
- }
- else
- {
- userComboBox.Items.Clear();
- }
- try
- {
- foreach (KeyValuePair item in UserCookies)
- {
- if (this.userComboBox.InvokeRequired)
- {
- this.Invoke(new Action(() =>
- {
- if (!userComboBox.Items.Contains(item.Key))
- userComboBox.Items.Add(item.Key);
- }));
- }
- else
- {
- if (userComboBox.Items.Contains(item.Key))
- continue;
- userComboBox.Items.Add(item.Key);
- }
- }
- }
- catch
- {
-
- }
- if (this.userComboBox.InvokeRequired)
- {
- this.Invoke(new Action(() => { userComboBox.Text = SetCookiesUserInfo.UserName; }));
- }
- else
- {
- userComboBox.Text = SetCookiesUserInfo.UserName;
- }
- }
- private void CefWebBrowser3_AddressChanged(object sender, AddressChangedEventArgs e)
- {
- Url = e.Address;
- }
-
- ///
- /// 限制滑块自动拖动次数
- ///
- private int iTryTimes = 0;
- private Random random = new Random();
- private int _locX;
- private int _locY;
- public bool isDoing = false;
- public bool LoginOk = false;
- public bool tradeOk = false;
- #region 获取网页js
- ///
- /// 获取网页某元素坐标X
- ///
- private string sJsGetElementPageLeft = @"function getElementPageLeft(element) {
- var actualLeft = element.offsetLeft;
- var parent = element.offsetParent;
- while (parent != null) {
- actualLeft += parent.offsetLeft + (parent.offsetWidth - parent.clientWidth) / 2;
- parent = parent.offsetParent;
- }
- return actualLeft;
- };
-getElementPageLeft(document.getElementById('nc_1_n1t'));";
-
- ///
- /// 获取网页某元素坐标Y
- ///
- private string sJsGetElementPageTop = @"function getElementPageTop(element) {
- var actualTop=element.offsetTop;
- var parent=element.offsetParent;
- while(parent!=null) {
- actualTop+=parent.offsetTop+(parent.offsetHeight-parent.clientHeight)/2;
- parent=parent.offsetParent;
- }
- return actualTop;
-};
-getElementPageTop(document.getElementById('nc_1_n1t'))";
- #endregion
-
- private void CefWebBrowser3_FrameLoadEnd(object sender, CefSharp.FrameLoadEndEventArgs e)
- {
- if (!cefWebBrowser3.IsBrowserInitialized)
- return;
-
- Task.Run(() =>
- {
- var t = cefWebBrowser3.GetBrowser().MainFrame.EvaluateScriptAsync("document.getElementById('J_Quick2Static').click();");
- t.Wait(2500);
-
- string url = cefWebBrowser3.Address;
- string loginOkUrl = "https://s.taobao.com/search?q=se";
- if ((url.Contains(loginOkUrl) && url.IndexOf(loginOkUrl) == 0) || url.Contains("https://buyertrade.taobao.com")) //登录成功
- {
- try
- {
- if (!LoginOk)
- {
- LoginOk = true;
- new Thread(GetLoginUserName).Start();
- Hide();
- }
- }
- catch
- {
- }
- }
- if (url.Contains("acs.m.taobao.com"))
- {
- var lst = UserCookies.ToList();
- for (int i = 0; i < lst.Count; i++)
- {
- DelCookies();
- SetTaoBao(lst[i].Key, true);
- }
- }
- if (url.Contains("www.taobao.com"))
- {
- if (!tradeOk)
- {
- tradeOk = true;
- cefWebBrowser3.Load("https://trade-acs.m.taobao.com");
- }
- }
- if (url.Contains("nc_session_id"))
- {
- cefWebBrowser3.Load("https://www.taobao.com/");
- }
- });
- }
- public static Dictionary UserCookies = new Dictionary();
- private void GetLoginUserName()
- {
- Thread.Sleep(2000);
- string url = "https://i.taobao.com/my_taobao.htm";
- string refere = "https://login.taobao.com/member/login.jhtml";
- if (string.IsNullOrEmpty(ChromeCookies))
- ChromeCookies = cookiesSrt;
- string html = GetPostTaobaoHtml.UploadTaobao(url, refere, true, ChromeCookies);
- string name = BaseRegex.GetMatchRegexString(ref html, @"[\s]*[\(]([\w]+)[\)]");
- if (string.IsNullOrEmpty(name))
- name = BaseRegex.GetMatchRegexString(ref ChromeCookies, @"dnk=([\w\W]+?);");
- if (string.IsNullOrEmpty(name))
- name = BaseRegex.GetMatchRegexString(ref ChromeCookies, @"_nk_=([\w\W]+?);");
- if (string.IsNullOrEmpty(name))
- return;
- //if (!BaseClass.CookiesAll.ContainsKey("taobao.com"))
- // return;
- if (string.IsNullOrEmpty(ChromeCookies))
- return;
-
- //if (TaobaoMobileCollect.CookiesDic.Count>0&&TaobaoMobileCollect.CookiesDic[name].Contains("x5sec"))
- //{
- // string cookies = TaobaoMobileCollect.CookiesDic[name].ToString();
- // BaseClass.x5Sec = BaseRegex.GetMatchRegexString(ref cookies, @"x5sec=([\w\W]+?);");
- // ChromeCookies += "x5sec=" + BaseClass.x5Sec + ";";
- //}
- if (name.Contains("%"))
- name = GetHtml.UrlDecode(name);
- TaobaoMobileCollect.CookiesDic[name] = ChromeCookies;
-
- AddList(name, ChromeCookies, 1);
- SaveCookies();
- }
- public static void SaveCookies()
- {
- string temp = "";
- foreach (var item in TaobaoMobileCollect.CookiesDic)
- {
- temp += item.Key + "-----" + item.Value + "\r\n";
- }
- FileBase.WriteAllText("temp/taobaocookies.txt", temp);
- }
- public void AddList(string name, string cookies, int site_id)
- {
- try
- {
- string[] l = cookies.Split(';');
- List cookie = new List();
- for (int j = 0; j < l.Length; j++)
- {
- if (string.IsNullOrEmpty(l[j]) || !l[j].Contains("="))
- continue;
- string[] ll = l[j].Split('=');
- if (site_id == 1)
- {
- System.Net.Cookie c = new System.Net.Cookie();
- c.Domain = "taobao.com";
- c.Expires = DateTime.Now.AddYears(1);
- c.Name = ll[0].Trim();
- c.Value = ll[1];
- c.Path = "/";
- cookie.Add(c);
- }
- }
- UserCookies uc = new UserCookies();
- uc.Cookies = cookie;
- uc.UserName = name;
- uc.SiteId = site_id;
- if (!UserCookies.ContainsKey(name))
- UserCookies.Add(name, uc);
- else
- UserCookies[name] = uc;
- SetCookiesUserInfo.UserName = name;
- ResetUserList();
- }
- catch
- {
- }
- }
-
- ///
- /// 模拟鼠标拖拽
- ///
- /// 浏览器Host
- /// 起始坐标X
- /// 起始坐标Y
- /// 终止坐标X
- /// 终止坐标Y
- public void CefMouseDrag(IBrowserHost host, int x1, int y1, int x2, int y2)
- {
- Random random = new Random();
-
- host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, false, 1, CefEventFlags.None);//按下鼠标左键
-
- Thread.Sleep(random.Next(5));
- double x = x1;
- double y = y1;
- int xlen = x2 - x1;
- while (x < x2)
- {
- int rs = random.Next(9, 15);
- if (x2 - x > (xlen - xlen / 3))
- {
- rs = random.Next(3);
- }
- x = x + rs;
- Thread.Sleep(1 + random.Next(rs));
- host.SendMouseMoveEvent((int)x, (int)y, false, CefEventFlags.LeftMouseButton); // 移动鼠标
- }
- host.SendMouseClickEvent(x2, y2, MouseButtonType.Left, true, 1, CefEventFlags.None); // 抬起鼠标左键
- }
- private void panelSettleSlide_Click_1(object sender, EventArgs e)
- {
- TbSettleSlideForm tbForm = new TbSettleSlideForm();
- //tbForm.freshType = 2;
- tbForm.slideUrl = Url;
- tbForm.tbDetailForm = this;
- tbForm.Show();
- }
- private void userComboBox_SelectedIndexChanged_1(object sender, EventArgs e)
- {
- string url = cefWebBrowser3.Address;
- if (SetCookiesUserInfo.UserName == userComboBox.Text && !url.Contains("login"))
- return;
- SetTaoBao(userComboBox.Text, true);
- LoginOk = false;
- cefWebBrowser3.Load("https://s.taobao.com/search?q=se");
- }
- private void delCookiesButtonX_Click_1(object sender, EventArgs e)
- {
- string cboname = userComboBox.Text;
- Task.Run(() =>
- {
- UserCookies.Remove(cboname);
- if (UserCookies.Count > 0)
- SetCookiesUserInfo.UserName = UserCookies.FirstOrDefault().Key;
- else
- SetCookiesUserInfo.UserName = "";
- TaobaoMobileCollect.CookiesDic.Remove(cboname);
- TaobaoMobileCollect.CookiesDic.Clear();
- DelCookies();
- ChromeCookies = "";
- BaseClass.IeFormCookies = "";
- ResetUserList();
- SaveCookies();
- SetTaoBao(SetCookiesUserInfo.UserName, true);
- LoginOk = false;
- cefWebBrowser3.Load("https://login.taobao.com/member/login.jhtml?style=mini&newMini2=true&redirectURL=https://s.taobao.com/search?q=se&imgfile=&commend=all&ssid=s5-e&search_type=item&sourceId=tb.index&spm=a21bo.2017.201856-taobao-item.1&ie=utf8&initiative_id=tbindexz_20170306");
- });
- }
- public override void PictureBox1_Click(object sender, EventArgs e)
- {
- if (Text == "淘宝验证窗口")
- {
- if (userComboBox.SelectedItem == null)
- Thread.Sleep(3000);
- this.Close();
- }
- else
- {
- Hide();
- return;
- }
- }
-
- #region 添加x5sec事件
- public void ExecX5secJs()
- {
- if (cefWebBrowser3 != null && cefWebBrowser3.IsBrowserInitialized)
- {
- string js = @"function setCookie(name,value)
- {
- var Days = 30;
- var exp = new Date();
- exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000);
- document.cookie = name + '=' + escape(value) + ';path=/;expires=' + exp.toGMTString();
- }
- ";
- js += @"function getCookie(name)
- {
- var arr, reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)');
-
- if (arr = document.cookie.match(reg))
-
- return unescape(arr[2]);
- else
- return null;
- }
- ";
- js += @"function delCookie(name)
- {
- var exp = new Date();
- exp.setTime(exp.getTime() - 1);
- var cval = getCookie(name);
- if (cval != null)
- document.cookie = name + '=' + cval + ';expires=' + exp.toGMTString();
- }
- ";
- var task = cefWebBrowser3.GetBrowser().MainFrame.EvaluateScriptAsync(js);
- task.Wait();
- var result = task.Result.Success;
- if (result)
- {
- js = "setCookie('x5sec','" + x5Sec + "')";
- task = cefWebBrowser3.GetBrowser().MainFrame.EvaluateScriptAsync(js);
- task.Wait();
- if (task.Result.Success)
- {
- isExecJsSuccess = true;
-
- cefWebBrowser3.Reload();
- }
-
- }
- }
-
- }
- #endregion
- private void panelSettleSlide_Click(object sender, EventArgs e)
- {
- TbSettleSlideForm tbForm = new TbSettleSlideForm();
- //tbForm.freshType = 2;
- tbForm.slideUrl = Url;
- tbForm.tbDetailForm = this;
- tbForm.Show();
- }
-
- private void cefWebBrowser3_UrlChanged(object sender, CefSharp.AddressChangedEventArgs e)
- {
- if (InvokeRequired)
- {
- Invoke(new Action(() =>
- {
- skipUrl = cefWebBrowser3.Address;
- }));
- }
- else
- {
- skipUrl = cefWebBrowser3.Address;
- }
- }
-
-
- private void panelBack_Click(object sender, EventArgs e)
- {
- if (cefWebBrowser3.IsBrowserInitialized && cefWebBrowser3.CanGoBack)
- {
- cefWebBrowser3.Back();
- }
- }
-
- private void panelForward_Click(object sender, EventArgs e)
- {
- if (cefWebBrowser3.IsBrowserInitialized && cefWebBrowser3.CanGoForward)
- {
- cefWebBrowser3.Forward();
- }
- }
-
- private void panelRefresh_Click(object sender, EventArgs e)
- {
- if (!string.IsNullOrEmpty(skipUrl))
- {
- cefWebBrowser3.Load(skipUrl);
- }
- else
- {
- cefWebBrowser3.Load(Url);
- }
- cefWebBrowser3.Refresh();
- }
-
- private void wwPictureBox_Click(object sender, EventArgs e)
- {
-
- }
-
- bool isH5 = false;
- private void userComboBox_SelectedIndexChanged(object sender, EventArgs e)
- {
- if (Url.Contains("https://login.m.taobao.com/") || Url.Contains("https://acs.m.taobao.com//h5"))
- {
- isH5 = true;
- return;
- }
- if (isH5)
- return;
- string url = cefWebBrowser3.Address;
- if (SetCookiesUserInfo.UserName == userComboBox.Text && !url.Contains("login"))
- return;
- SetTaoBao(userComboBox.Text, true);
- LoginOk = false;
- cefWebBrowser3.Load("https://s.taobao.com/search?q=se");
- }
- public bool SetTaoBao(string userName, bool refundFlag)
- {
- if (!UserCookies.ContainsKey(userName))
- {
- if (string.IsNullOrEmpty(userName))
- DeleteTaoBao();
- //MessageBox.Show("没有找到这个淘宝买家", "提示");
- return false;
- }
- DeleteTaoBao();
- //var cookieManager = CefSharp.Cef.GetGlobalCookieManager();
- var cookieManager = cefWebBrowser3.RequestContext.GetCookieManager(null);
- //List cookies =UserCookies[userName].Cookies;
- //Cef.GetGlobalCookieManager().SetStoragePath(Environment.CurrentDirectory, true);
- //BaseClass.IeFormCookies
- string[] l = BaseClass.IeFormCookies.Split(';');
- List cookies = new List();
- for (int j = 0; j < l.Length; j++)
- {
- if (string.IsNullOrEmpty(l[j]) || !l[j].Contains("="))
- continue;
- string[] ll = l[j].Split('=');
-
- System.Net.Cookie c = new System.Net.Cookie();
- c.Domain = "taobao.com";
- c.Expires = DateTime.Now.AddYears(1);
- c.Name = ll[0].Trim();
- c.Value = ll[1];
- c.Path = "/";
- cookies.Add(c);
- }
-
- string domain = "https://s.taobao.com/search?q=se";
- foreach (System.Net.Cookie c in cookies)
- {
- var cookie = new CefSharp.Cookie
- {
- Domain = c.Domain,
- Name = c.Name,
- Value = c.Value,
- Expires = DateTime.Now.AddYears(1),
- Path = "/"
- };
- Task task = cookieManager.SetCookieAsync(domain, cookie);
- while (!task.IsCompleted)
- {
- Thread.Sleep(1);
- continue;
- }
- }
- if (!refundFlag)
- {
- BaseMsgForm.ShowInfo("切换到账户:" + userName + " 成功", "提示");
- }
- SetCookiesUserInfo.UserName = userName;
- return true;
- }
-
- public void DeleteTaoBao()
- {
- var cookieManager = cefWebBrowser3.RequestContext.GetCookieManager(null); ;
- if (!string.IsNullOrEmpty(ChromeCookies))
- {
- var cookies = ChromeCookies;// BaseClass.CookiesAllString["taobao.com"];
- string[] l = cookies.Split(';');
- for (int i = 0; i < l.Length; i++)
- {
- if (string.IsNullOrEmpty(l[i]) || !l[i].Contains("="))
- continue;
- string name = l[i].Split('=')[0].Trim();
- try
- {
- cookieManager.DeleteCookies("https://s.taobao.com/search?q=se", name);
- cookieManager.DeleteCookies("https://login.taobao.com/member/login.jhtml", name);
- //cookieManager.Dispose();
- }
- catch
- {
- }
- }
- }
-
- }
- public void DelCookies()
- {
- ICookieManager cookieManager = null;
- if (this.cefWebBrowser3 != null && this.cefWebBrowser3.RequestContext != null)
- cookieManager = this.cefWebBrowser3.RequestContext.GetCookieManager(null);
- else
- cookieManager = Cef.GetGlobalCookieManager();
- Task deleteTask = cookieManager.DeleteCookiesAsync("taobao.com", null);
- deleteTask.Wait();
- }
- private void buttonEx4_Click(object sender, EventArgs e)
- {
- DelCookies();
- LoginOk = false;
- cefWebBrowser3.Load("https://login.taobao.com/member/login.jhtml?style=mini&newMini2=true&redirectURL=https://s.taobao.com/search?q=se&imgfile=&commend=all&ssid=s5-e&search_type=item&sourceId=tb.index&spm=a21bo.2017.201856-taobao-item.1&ie=utf8&initiative_id=tbindexz_20170306");
- }
- private void buttonX2_Click(object sender, EventArgs e)
- {
- DelCookies();
- LoginOk = false;
- cefWebBrowser3.Load("https://login.taobao.com/member/login.jhtml?style=mini&newMini2=true&redirectURL=https://s.taobao.com/search?q=se&imgfile=&commend=all&ssid=s5-e&search_type=item&sourceId=tb.index&spm=a21bo.2017.201856-taobao-item.1&ie=utf8&initiative_id=tbindexz_20170306");
- }
- public static string ChromeCookies = "";
- public static string oldSec = "";
- public static string cookiesSrt = "";
- public delegate void delegateView();
- public void ReflashCookies()
- {
-
- try
- {
- while (true)
- {
- Thread.Sleep(300);
- if (this == null || this.IsDisposed)
- return;
- Invoke(new delegateView(GetCookies));
- Thread.Sleep(300);
- string cookie = "";
- for (int i = 0; i < cookies.Count; i++)//初始化COOKIES缓存
- {
- var c = cookies[i];
- if (!c.Domain.Contains("taobao.com"))
- continue;
- cookie += c.Name + "=" + c.Value + "; ";
- string mainDomain = GetHtml.GetMainDomain(c.Domain);
- if (BaseClass.CookiesAll.ContainsKey(mainDomain))
- {
- if (BaseClass.CookiesAll[mainDomain].ContainsKey(c.Name))
- BaseClass.CookiesAll[mainDomain][c.Name] = c.Value;
- else
- BaseClass.CookiesAll[mainDomain].Add(c.Name, c.Value);
- }
- else
- {
- BaseClass.CookiesAll.Add(mainDomain, new Dictionary());
- BaseClass.CookiesAll[mainDomain].Add(c.Name, c.Value);
- }
- }
- if (!string.IsNullOrEmpty(cookie))
- {
- if (cookie.Contains("x5sec"))
- cookiesSrt = cookie;
- //if (cookie.Contains("x5sec")&&(cookie.Contains("tracknick") || cookie.Contains("dnk") || cookie.Contains("_w_tb_nick")))
- // BaseClass.IeFormCookies = ChromeCookies = cookie;
- //cookiesSrt = cookie;
- if ((cookie.Contains("tracknick") || cookie.Contains("dnk") || cookie.Contains("_w_tb_nick")))
- {
- BaseClass.IeFormCookies = ChromeCookies = cookie;
- BaseClass.x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "\"name\": \"x5sec\",[\\s\\S]+?\"value\": \"([\\s\\S]+?)\"");
- if (string.IsNullOrEmpty(BaseClass.x5Sec))
- BaseClass.x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "x5sec=([\\s\\S]+?);");
- }
- //if (cookie.Contains("x5sec")&&TitleText == "淘宝验证窗口" && isH5 && (cookie.Contains("tracknick") || cookie.Contains("dnk") || cookie.Contains("_w_tb_nick")))
- // BaseClass.IeFormCookies = cookie;
- //if (string.IsNullOrEmpty(BaseClass.x5Sec))
- //{
- // BaseClass.x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "\"name\": \"x5sec\",[\\s\\S]+?\"value\": \"([\\s\\S]+?)\"");
- // if (string.IsNullOrEmpty(BaseClass.x5Sec))
- // BaseClass.x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "x5sec=([\\s\\S]+?);");
- //}
- }
- //if (TaobaoMobileCollect.CookiesDic.Count==0)
- //{
- // GetLoginUserName();
- //}
- //string x5Sec = BaseRegex.GetMatchRegexString(ref IeForm.ChromeCookies, @"x5sec=([\w\W]+?);");
- //if (!string.IsNullOrEmpty(x5Sec) && x5Sec != oldSec)
- //{
- // BaseClass.x5Sec = x5Sec;
- // oldSec = x5Sec;
- //}
- }
- }
- catch
- {
- }
- }
-
- public List cookies = new List();
- ///
- /// 加载完成时,重设cookies
- ///
- ///
- private void visitor_SendCookie(CefSharp.Cookie obj)
- {
- cookies.Add(obj);
- }
- ///
- /// 获取cookies
- ///
- private void GetCookies()
- {
- cookies.Clear();
- var cookieManager = cefWebBrowser3.RequestContext.GetCookieManager(null);
- CookieVisitor visitor = new CookieVisitor();
- visitor.SendCookie += visitor_SendCookie;
- cookieManager.VisitAllCookies(visitor);
- }
-
- private void delCookiesButtonX_Click(object sender, EventArgs e)
- {
- string cboname = userComboBox.Text;
- Task.Run(() =>
- {
- UserCookies.Remove(cboname);
- if (UserCookies.Count > 0)
- SetCookiesUserInfo.UserName = UserCookies.FirstOrDefault().Key;
- else
- SetCookiesUserInfo.UserName = "";
- TaobaoMobileCollect.CookiesDic.Remove(cboname);
- DelCookies();
- ChromeCookies = "";
- ResetUserList();
- SaveCookies();
- SetTaoBao(SetCookiesUserInfo.UserName, true);
- LoginOk = false;
- cefWebBrowser3.Load("https://s.taobao.com/search?q=se");
- });
- }
-
- private void buttonEx1_Click(object sender, EventArgs e)
- {
- if (!string.IsNullOrEmpty(BaseClass.x5Sec))
- {
- MessageBox.Show("获取滑动参数成功。");
- return;
- }
- string cookies = string.Empty;
- IDataObject iData = Clipboard.GetDataObject();
- if (iData.GetDataPresent(DataFormats.Text))
- {
- cookies = (string)iData.GetData(DataFormats.Text);
- }
- if (string.IsNullOrEmpty(cookies))
- {
- BaseClass.x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "\"name\": \"x5sec\",[\\s\\S]+?\"value\": \"([\\s\\S]+?)\"");
- if (string.IsNullOrEmpty(BaseClass.x5Sec))
- BaseClass.x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "x5sec=([\\s\\S]+?);");
- if (string.IsNullOrEmpty(BaseClass.x5Sec))
- MessageBox.Show("获取滑动参数失败。");
- else
- MessageBox.Show("获取滑动参数成功。");
- return;
- }
- string x5Sec = BaseRegex.GetMatchRegexString(ref cookies, "\"name\": \"x5sec\",[\\s\\S]+?\"value\": \"([\\s\\S]+?)\"");
- if (string.IsNullOrEmpty(x5Sec))
- {
- x5Sec = BaseRegex.GetMatchRegexString(ref cookies, "x5sec=([\\s\\S]+?);");
- }
- if (string.IsNullOrEmpty(x5Sec))
- {
- x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "\"name\": \"x5sec\",[\\s\\S]+?\"value\": \"([\\s\\S]+?)\"");
- if (string.IsNullOrEmpty(x5Sec))
- x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "x5sec=([\\s\\S]+?);");
- }
- if (string.IsNullOrEmpty(x5Sec))
- {
- Thread.Sleep(2000);
- x5Sec = BaseRegex.GetMatchRegexString(ref IeForm.ChromeCookies, @"x5sec=([\w\W]+?);");
- }
- BaseClass.x5Sec = x5Sec;
- if (string.IsNullOrEmpty(x5Sec))
- {
- MessageBox.Show("获取滑动参数失败。");
- return;
- }
- else
- {
- MessageBox.Show("获取滑动参数成功。");
- return;
- }
- }
-
- public void AutoRrefreshCookies()
- {
- while (true)
- {
- try
- {
- Thread.Sleep(10 * 60 * 1000);
- var lst = UserCookies.ToList();
- for (int i = 0; i < lst.Count; i++)
- {
- DelCookies();
- SetTaoBao(lst[i].Key, true);
- LoginOk = false;
- cefWebBrowser3.Load("https://buyertrade.taobao.com/trade/itemlist/list_bought_items.htm");
- Thread.Sleep(8 * 1000);
- }
- }
- catch
- {
- }
- }
- }
-
- private void buttonEx2_Click(object sender, EventArgs e)
- {
- new Thread(AutoRrefreshCookies).Start();
- }
-
- private void buttonEx1_Click_1(object sender, EventArgs e)
- {
- if (!string.IsNullOrEmpty(BaseClass.x5Sec))
- {
- MessageBox.Show("获取滑动参数成功。");
- return;
- }
- string cookies = string.Empty;
- IDataObject iData = Clipboard.GetDataObject();
- if (iData.GetDataPresent(DataFormats.Text))
- {
- cookies = (string)iData.GetData(DataFormats.Text);
- }
- if (string.IsNullOrEmpty(cookies))
- {
- BaseClass.x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "\"name\": \"x5sec\",[\\s\\S]+?\"value\": \"([\\s\\S]+?)\"");
- if (string.IsNullOrEmpty(BaseClass.x5Sec))
- BaseClass.x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "x5sec=([\\s\\S]+?);");
- if (string.IsNullOrEmpty(BaseClass.x5Sec))
- MessageBox.Show("获取滑动参数失败。");
- else
- MessageBox.Show("获取滑动参数成功。");
- return;
- }
- string x5Sec = BaseRegex.GetMatchRegexString(ref cookies, "\"name\": \"x5sec\",[\\s\\S]+?\"value\": \"([\\s\\S]+?)\"");
- if (string.IsNullOrEmpty(x5Sec))
- {
- x5Sec = BaseRegex.GetMatchRegexString(ref cookies, "x5sec=([\\s\\S]+?);");
- }
- if (string.IsNullOrEmpty(x5Sec))
- {
- x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "\"name\": \"x5sec\",[\\s\\S]+?\"value\": \"([\\s\\S]+?)\"");
- if (string.IsNullOrEmpty(x5Sec))
- x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "x5sec=([\\s\\S]+?);");
- }
- if (string.IsNullOrEmpty(x5Sec))
- {
- Thread.Sleep(2000);
- x5Sec = BaseRegex.GetMatchRegexString(ref IeForm.ChromeCookies, @"x5sec=([\w\W]+?);");
- }
- BaseClass.x5Sec = x5Sec;
- if (string.IsNullOrEmpty(x5Sec))
- {
- MessageBox.Show("获取滑动参数失败。");
- return;
- }
- else
- {
- MessageBox.Show("获取滑动参数成功。");
- return;
- }
- }
-
- ///
- /// 本次软件运行期间是否不再显示淘宝登录/校验
- ///
- public static bool IsShowIeForm = true;
-
- private void checkBox1_CheckedChanged(object sender, EventArgs e)
- {
- IsShowIeForm = !checkBox1.Checked;
- }
- }
-}
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/IeForm.designer.cs b/TEMUKJD/KJDForms/ProductForms/Old/IeForm.designer.cs
deleted file mode 100644
index f6c9269..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/IeForm.designer.cs
+++ /dev/null
@@ -1,261 +0,0 @@
-namespace TemuKJD.KJDForms
-{
- partial class IeForm
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(IeForm));
- this.pnlBody = new System.Windows.Forms.Panel();
- this.panel2 = new System.Windows.Forms.Panel();
- this.panel3 = new System.Windows.Forms.Panel();
- this.buttonEx1 = new TemuKJD.UserControls.ButtonEx();
- this.panelSettleSlide = new DevComponents.DotNetBar.PanelEx();
- this.userComboBox = new System.Windows.Forms.ComboBox();
- this.label25 = new System.Windows.Forms.Label();
- this.delCookiesButtonX = new DevComponents.DotNetBar.PanelEx();
- this.buttonEx4 = new TemuKJD.UserControls.ButtonEx();
- this.checkBox1 = new System.Windows.Forms.CheckBox();
- this.label1 = new System.Windows.Forms.Label();
- this.pnlBody.SuspendLayout();
- this.panel3.SuspendLayout();
- this.SuspendLayout();
- //
- // pnlBody
- //
- this.pnlBody.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.pnlBody.Controls.Add(this.panel2);
- this.pnlBody.Controls.Add(this.panel3);
- this.pnlBody.Dock = System.Windows.Forms.DockStyle.Fill;
- this.pnlBody.Location = new System.Drawing.Point(2, 34);
- this.pnlBody.Margin = new System.Windows.Forms.Padding(0);
- this.pnlBody.Name = "pnlBody";
- this.pnlBody.Size = new System.Drawing.Size(1251, 660);
- this.pnlBody.TabIndex = 1;
- //
- // panel2
- //
- this.panel2.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.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.panel2.Location = new System.Drawing.Point(-1, 66);
- this.panel2.Name = "panel2";
- this.panel2.Size = new System.Drawing.Size(1251, 591);
- this.panel2.TabIndex = 6;
- //
- // panel3
- //
- this.panel3.Controls.Add(this.label1);
- this.panel3.Controls.Add(this.checkBox1);
- this.panel3.Controls.Add(this.buttonEx1);
- this.panel3.Controls.Add(this.panelSettleSlide);
- this.panel3.Controls.Add(this.userComboBox);
- this.panel3.Controls.Add(this.label25);
- this.panel3.Controls.Add(this.delCookiesButtonX);
- this.panel3.Controls.Add(this.buttonEx4);
- this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
- this.panel3.Location = new System.Drawing.Point(0, 0);
- this.panel3.Name = "panel3";
- this.panel3.Size = new System.Drawing.Size(1249, 70);
- this.panel3.TabIndex = 5;
- //
- // buttonEx1
- //
- this.buttonEx1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.buttonEx1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.buttonEx1.Cursor = System.Windows.Forms.Cursors.Hand;
- this.buttonEx1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.buttonEx1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.buttonEx1.ForeColor = System.Drawing.Color.White;
- this.buttonEx1.Location = new System.Drawing.Point(843, 36);
- this.buttonEx1.Margin = new System.Windows.Forms.Padding(2);
- this.buttonEx1.Name = "buttonEx1";
- this.buttonEx1.Size = new System.Drawing.Size(85, 25);
- this.buttonEx1.TabIndex = 553;
- this.buttonEx1.Text = "获取参数";
- this.buttonEx1.UseVisualStyleBackColor = false;
- this.buttonEx1.Click += new System.EventHandler(this.buttonEx1_Click_1);
- //
- // panelSettleSlide
- //
- this.panelSettleSlide.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.panelSettleSlide.CanvasColor = System.Drawing.Color.Red;
- this.panelSettleSlide.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelSettleSlide.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panelSettleSlide.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelSettleSlide.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.panelSettleSlide.Location = new System.Drawing.Point(1030, 8);
- this.panelSettleSlide.Name = "panelSettleSlide";
- this.panelSettleSlide.Size = new System.Drawing.Size(83, 21);
- this.panelSettleSlide.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelSettleSlide.Style.BackColor1.Color = System.Drawing.Color.Red;
- this.panelSettleSlide.Style.BackColor2.Color = System.Drawing.Color.Red;
- this.panelSettleSlide.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelSettleSlide.Style.BorderColor.Color = System.Drawing.Color.Red;
- this.panelSettleSlide.Style.CornerDiameter = 1;
- this.panelSettleSlide.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
- this.panelSettleSlide.Style.ForeColor.Color = System.Drawing.Color.White;
- this.panelSettleSlide.Style.GradientAngle = 90;
- this.panelSettleSlide.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.panelSettleSlide.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
- this.panelSettleSlide.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
- this.panelSettleSlide.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.panelSettleSlide.StyleMouseOver.BackColor2.Color = System.Drawing.Color.LightGray;
- this.panelSettleSlide.TabIndex = 546;
- this.panelSettleSlide.Text = "解除滑块";
- this.panelSettleSlide.Visible = false;
- this.panelSettleSlide.Click += new System.EventHandler(this.panelSettleSlide_Click_1);
- //
- // userComboBox
- //
- this.userComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.userComboBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.userComboBox.FormattingEnabled = true;
- this.userComboBox.Location = new System.Drawing.Point(1087, 36);
- this.userComboBox.Name = "userComboBox";
- this.userComboBox.Size = new System.Drawing.Size(107, 25);
- this.userComboBox.TabIndex = 538;
- this.userComboBox.Text = "点击下拉切换";
- this.userComboBox.SelectedIndexChanged += new System.EventHandler(this.userComboBox_SelectedIndexChanged_1);
- //
- // label25
- //
- this.label25.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.label25.AutoSize = true;
- this.label25.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label25.Location = new System.Drawing.Point(1027, 40);
- this.label25.Name = "label25";
- this.label25.Size = new System.Drawing.Size(56, 17);
- this.label25.TabIndex = 539;
- this.label25.Text = "淘宝号:";
- //
- // delCookiesButtonX
- //
- this.delCookiesButtonX.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.delCookiesButtonX.CanvasColor = System.Drawing.SystemColors.Control;
- this.delCookiesButtonX.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.delCookiesButtonX.Cursor = System.Windows.Forms.Cursors.Hand;
- this.delCookiesButtonX.DisabledBackColor = System.Drawing.Color.Empty;
- this.delCookiesButtonX.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.delCookiesButtonX.Location = new System.Drawing.Point(1200, 36);
- this.delCookiesButtonX.Name = "delCookiesButtonX";
- this.delCookiesButtonX.Size = new System.Drawing.Size(46, 25);
- this.delCookiesButtonX.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.delCookiesButtonX.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
- this.delCookiesButtonX.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191)))));
- this.delCookiesButtonX.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.delCookiesButtonX.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
- this.delCookiesButtonX.Style.CornerDiameter = 1;
- this.delCookiesButtonX.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
- this.delCookiesButtonX.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.delCookiesButtonX.Style.GradientAngle = 90;
- this.delCookiesButtonX.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.delCookiesButtonX.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
- this.delCookiesButtonX.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
- this.delCookiesButtonX.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.delCookiesButtonX.StyleMouseOver.BackColor2.Color = System.Drawing.Color.LightGray;
- this.delCookiesButtonX.TabIndex = 537;
- this.delCookiesButtonX.Text = "删除";
- this.delCookiesButtonX.Click += new System.EventHandler(this.delCookiesButtonX_Click_1);
- //
- // buttonEx4
- //
- this.buttonEx4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.buttonEx4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.buttonEx4.Cursor = System.Windows.Forms.Cursors.Hand;
- this.buttonEx4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.buttonEx4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.buttonEx4.ForeColor = System.Drawing.Color.White;
- this.buttonEx4.Location = new System.Drawing.Point(932, 36);
- this.buttonEx4.Margin = new System.Windows.Forms.Padding(2);
- this.buttonEx4.Name = "buttonEx4";
- this.buttonEx4.Size = new System.Drawing.Size(85, 25);
- this.buttonEx4.TabIndex = 404;
- this.buttonEx4.Text = "新用户登录";
- this.buttonEx4.UseVisualStyleBackColor = false;
- this.buttonEx4.Click += new System.EventHandler(this.buttonEx4_Click);
- //
- // checkBox1
- //
- this.checkBox1.AutoSize = true;
- this.checkBox1.Location = new System.Drawing.Point(10, 9);
- this.checkBox1.Name = "checkBox1";
- this.checkBox1.Size = new System.Drawing.Size(144, 16);
- this.checkBox1.TabIndex = 560;
- this.checkBox1.Text = "不再弹出淘宝登录校验";
- this.checkBox1.UseVisualStyleBackColor = true;
- this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label1.ForeColor = System.Drawing.Color.Gray;
- this.label1.Location = new System.Drawing.Point(155, 8);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(342, 17);
- this.label1.TabIndex = 561;
- this.label1.Text = "勾选后重启软件前将自动跳过登录/验证(默认登录/验证失败)";
- //
- // IeForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
- this.BackColor = System.Drawing.Color.White;
- this.ClientSize = new System.Drawing.Size(1255, 696);
- this.Controls.Add(this.pnlBody);
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.Name = "IeForm";
- this.Padding = new System.Windows.Forms.Padding(2);
- this.ShowMaximizeBox = true;
- this.Text = "为了正常上传,请登录淘宝买手号";
- this.TitleText = "为了正常上传,请登录淘宝买手号";
- this.Load += new System.EventHandler(this.IeForm_Load);
- this.Controls.SetChildIndex(this.pnlBody, 0);
- this.pnlBody.ResumeLayout(false);
- this.panel3.ResumeLayout(false);
- this.panel3.PerformLayout();
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private System.Windows.Forms.Panel pnlBody;
- private System.Windows.Forms.Panel panel2;
- private System.Windows.Forms.Panel panel3;
- private UserControls.ButtonEx buttonEx4;
- private DevComponents.DotNetBar.PanelEx delCookiesButtonX;
- private System.Windows.Forms.ComboBox userComboBox;
- private System.Windows.Forms.Label label25;
- private DevComponents.DotNetBar.PanelEx panelSettleSlide;
- private UserControls.ButtonEx buttonEx1;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.CheckBox checkBox1;
- //private UserControls.ButtonEx buttonEx1;
- }
-}
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/IeForm.resx b/TEMUKJD/KJDForms/ProductForms/Old/IeForm.resx
deleted file mode 100644
index bfcb127..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/IeForm.resx
+++ /dev/null
@@ -1,408 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
-
-
- AAABAAEAQEAAAAEAIAAoQgAAFgAAACgAAABAAAAAgAAAAAEAIAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAobIAPKKzAJegsADXnrAA85yu
- AP2crQD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/nK0A/5uuAP2frgDzoLEA1aGyAJOfsQA4AAAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACdrgA8obQAvaW2
- AP+qvAD/o7QA/56vAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/nq8A/6O1AP+qvQD/pLUA/6Kz
- ALegrgA2AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH9/
- AASfsQCPpLYA/6i6AP+erwD/nK0A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/nK0A/56vAP+puwD/obMA/5+vAIcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAAAAAJaiABagsQDDrb8A/5+wAP+crQD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/nK0A/5+xAP+tvwD/oLIAu4+fABAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAJ2pABSgsgDVqr0A/5ytAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na0A/6u+
- AP+gsADNmaoADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJmZAASesADHqr0A/5ytAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+crQD/nK0A/5ytAP+crQD/nK0A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+crQD/q74A/52tAL0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACaqwCTrb8A/5yt
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/nK0A/5qsAP+XqQD/lacA/5WnAP+WqAD/mKoA/5qrAP+aqwD/masA/5iqAP+WqAD/lacA/5Wn
- AP+XqQD/mqsA/5ytAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52tAP+tvwD/mqsAhwAAAAAAAAAAAAAAAAAA
- AACbrAA6prgA/5+wAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+ZqwD/lacA/5ipAP+jsxP/tMA+/8TOaf/T2o7/3uOq/+XpvP/p7cf/6u3J/+ns
- xv/l6bv/3eOo/9LajP/Ezmj/tME+/6SzFf+ZqgD/lKcA/5epAP+crQD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/n7EA/6O0
- AP+cqwAwAAAAAAAAAAAAAAAAm60Ayai6AP+crQD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/nK0A/5aoAP+WqAD/qbcj/8fQcf/k6Lv/+Pnu////////////////////
- ///////////////////////////////////////////////////5+e//5+vC/83VgP+wvjf/m6wA/5Sn
- AP+ZqwD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/5ytAP+puwD/mqwAvQAAAAAAAAAAna4APqa5AP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/l6kA/5ipAP+1wUT/3+Sv//z8+P//////////////
- ////////////////////////////////////////////////////////////////////////////////
- /////////////+zv0P/J0nj/prUd/5WnAP+YqgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/nq8A/6S2AP+csAA0AAAAAJ2uAKOqvAD/na0A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+arAD/lacA/7C+Of/j6Ln/////////
- ////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////r78//X3Zn/q7kq/5WnAP+ZqwD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5ytAP+rvQD/na4AlZmq
- AA6brQDlorMA/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+XqQD/na4I/9La
- jv//////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////////39
- +f/V3Jb/pbQc/5SnAP+brQD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/o7UA/5ysANmcrwBgm64A/Z6vAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+UpwD/q7ks/+zvz///////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////j57f/G0G//masA/5epAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/56vAP+drAD1m6wAt56vAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+UpgD/t8NJ//r68P//////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////////////////+bqwP+quSv/lKYA/5yt
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/m64A/ZytAPGdrgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+UpgD/vMhV//7+/f//////////////////////////////
- ///////////////////////////////////z9eD/xM5t/77IXv/l6bz/////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////+/vz/8HLYv+VpwD/mqwA/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5yt
- AP+esAD/nK0A/5ytAP+crQD/nK0A/5ytAP+crQD/nK0A/5ytAP+TpgD/uMRM//39/f/9/f3//f39//39
- /f/9/f3//f39//39/f/9/f3//f39//39/f/9/f3//f39//39/f/r7s7/nq4N/6W0Hv+frw3/kqUA/9DY
- hf/9/f3//f39//39/f/9/f3//f39//39/f/9/f3//f39//39/f/9/f3//f39//39/f/9/f3//f39//39
- /f/9/f3//f39//39/f/9/f3//f39//39/f/9/f3/1NuT/5iqAf+XqQD/nK0A/5ytAP+crQD/nK0A/5yt
- AP+crQD/nK0A/5ytAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+WqAD/rrww//v8
- 9v/////////////////////////////////////////////////////////////////8/Pj/p7Yc/8rT
- ev///////////626Lv+QowD/4ue0////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////k6Lf/n68O/5ep
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+ZqwD/n7AO//L03f//////////////////////////////////////////////////////////////
- ////////2+Gj/5KlAP+7x1D/zNR7/8jRcP+jshH/lacA/627KP/9/fv/////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- /////////////+vvy/+ishX/l6kA/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+crQD/lacA/93ipf//////////////////////////////////////////////
- /////////////////////////////7rGTP+WqAD/l6kA/5WnAP+VpwD/nK0A/52uAP+XqQD/6OvC////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////7vDR/6KyFv+ZqwD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/lacA/7vGTf//////////////////////////////
- //////////////////////////////////////////////////+ruSX/mKoA/52uAP+drgD/na4A/52u
- AP+drgD/lKYA/9TbkP//////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////n68D/m6wD/5yt
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/m6wA/52uB//y9N3/////////
- ///////////////////////////////////////////////////////////////////r7sv/obEP/5mr
- AP+drgD/na4A/52uAP+drgD/nK0A/5OmAP+0wED/9vfl////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////9vjp/6CwBv+brQD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5Sn
- AP/H0Gz/////////////////////////////////////////////////////////////////////////
- ///L03f/k6UA/56uBf+brAD/l6kA/52uAP+drgD/mKoA/5usAP+ruSP/m6wC/52uDv/r7sz/////////
- ////////////////////////////////////////////////////////////////////////////////
- /////////////////////////////+/y1/+drQH/nK0A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/5usAP+hsQ//+Pnu////////////////////////////////////////////////////
- ///////////////////Y35z/i54A/8nSdf/09eH/6+7L/7nFTP+YqgD/masA/6m4Jf/o7MX//v38//Hz
- 2/+ishn/o7IQ//39+///////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////p7MX/masA/5ytAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+arAD/orIU/+Xpu///////////////////////////////
- ////////////////////////////////////////z9aB/7nFTf//////////////////////rbss/5Wn
- AP/u8NH/////////////////7O/M/83Vfv/+/vz/////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////3+Sr/5ao
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5qrAP+WqAD/2d+c////
- ////////////////////////////////////////////////////////////////////////////////
- ///+/v7/0dmJ/56vDv+XqQD/w81j//v89v//////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- /////////////9HYh/+VpwD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/masA/5usA//w8tj/////////////////////////////////////////////////////////
- /////////////////////////v79/73IU/+XqQD/l6kA/6e2G//3+Ov/////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////By17/lagA/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+TpgD/xc9p////////////////////////////////////
- ////////////////////////////////////////////////////////7/LX/+rtzP/7+/X/////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////sL0y/5ipAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/maoA/6q4Iv/9/fv/////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////9/jq/6Gx
- C/+brAD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5ut
- AP+drgL/8fPc////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- /////////////+Xpu/+XqQD/nK0A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/l6kA/+Lntf///////////////////////////+/y1v/09uP/////////
- //////////////v89f/f5LH/+vvz//////////////////////////////////////////////////z8
- 9//q7sz////////////////////////////q7cr/6OvD////////////////////////////////////
- ///////////////////////////////////N1X3/lKcA/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5SnAP/R2Yn/////////////////////////
- //+1wT//lqgA/83Wf//o68L/6OvC/9DYhv+ishb/lKYA/+/y1///////////////////////////////
- ///////////////////t8NH/k6UA/7G+Ov/c4qX/6u3I/+Dlr/++yFj/jqEA/7nFSv//////////////
- ////////////////////////////////////////////////////////tMA7/5epAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+WqAD/vchU////
- ////////////////////////8PPa/7rFUv+YqQD/lacA/5WnAP+XqQD/tMBD/+nsxP//////////////
- /////////////////////////////////////////f77/9rgoP+ltB//lacA/5WnAP+UpwD/n7AP/8vT
- e//4+e7/////////////////////////////////////////////////////////////////9fbl/5+v
- CP+brAD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/masA/6i3Hf/9/fn/////////////////////////////////9fbm/+bqwv/m6sL/9Pbl////
- /////////////////////////////////////////////////////////////////////////////+3w
- 1P/k6L7/6+7O//z89///////////////////////////////////////////////////////////////
- /////////////9vhof+VpwD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/5ytAP+aqwD/7O/P////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////7+/v+4xEj/lqgA/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/lKcA/9DYh///////////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////9/vz/qrgj/5mqAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5ep
- AP+xvjL/////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////////////////////////////////8TN
- Zf+VpwD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+aqwD/l6kA/+vuzP//////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ///////////////////g5a7/lqgA/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+brAD/p7Ya/5mqAv/Ayln/////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////9vfo/6CwCf+brAD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/lacA/9DXhP/Q2IT/k6YA//L0
- 3f//////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////+yvzf/l6kA/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5ao
- AP/i57T//v7+/5+vEP+6xUz/////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////yNFw/5SnAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/5utAP+drgP/8PPa///////h5rH/kKMA/+Tot///////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- /////////////////////////////93jqP+WqAD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+ZqwD/qLcd//z9+f///////////7/KW/+drgv/+frw////
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////v8dX/nK0B/5ytAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/l6kA/7XCQP//////////////
- ///8/Pj/pbUe/7K/Pv//////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////+////////////////////////////////////////+/z2/6a1
- GP+aqwD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5Wo
- AP/CzGD///////////////////////L03P+ZqwT/v8pe////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////j57v/39ur/////////////////////////
- //////////////////+zwDr/l6kA/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+VpwD/zNR6////////////////////////////7O/M/5mqBP+/yV7/////////
- ////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////v79f/g5a//+/z2////
- ////////////////////////////////////////wMtc/5WoAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/lacA/9LZi///////////////////////////////
- ///v8dT/oLAV/7G+Pv/4+ev/////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////////39
- +//O1oD/8fPa/////////////////////////////////////////////////8zUe/+VpwD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5WnAP/U25D/////////
- //////////////////////////////j56/+wvTz/na4Q/93jqv//////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- //////////////n67/+7xlD/4OWu////////////////////////////////////////////////////
- ///W3JT/lacA/52uAP+drgD/na4A/52uAP+drgD/na4A/56wAP+crQD/nK0A/5ytAP+crQD/nK0A/5yt
- AP+UpgD/z9eF//39/f/9/f3//f39//39/f/9/f3//f39//39/f/9/f3//f39/8zUgP+bqwz/tsJM/+Xp
- wP/9/f3//f39//39/f/9/f3//f39//39/f/9/f3//f39//39/f/9/f3//f39//39/f/9/f3//f39//39
- /f/9/f3//f39//39/f/9/f3//f39/+Xpvv+otyb/0dmK//39/f/9/f3//f39//39/f/9/f3//f39//39
- /f/9/f3//f39//39/f/9/f3/2+Gl/5WnAP+crQD/nK0A/5ytAP+crQD/nK0A/52uAP+drADzna4A/52u
- AP+drgD/na4A/52uAP+drgD/lacA/8XPaf//////////////////////////////////////////////
- ////////09qK/5CjAP+YqgD/sr86/9Tbkf/v8db//v7+////////////////////////////////////
- ///////////////////////////////////5+vH/3+Su/7jETP+SpQD/xs9q////////////////////
- /////////////////////////////////////////////+Dlrv+XqQD/na4A/52uAP+drgD/na4A/52u
- AP+crQD/nKsAu56vAP+drgD/na4A/52uAP+drgD/na4A/5iqAP+wvTD/////////////////////////
- ////////////////////////1dyU/52uC/+brQD/nK0A/5epAP+VpwD/nK0B/6y6Kf+8yFT/zNR8/9nf
- nv/k6Ln/6+7N//Hz2v/z9eH/8/Xh//Hz2v/q7sr/4OWv/9DYh/+7xlD/pbQY/5aoAP+WqAD/masA/6e2
- JP/q7cj////////////////////////////////////////////////////////////f5K3/lqgA/52u
- AP+drgD/na4A/52uAP+drgD/m64A/ZyuAGSbrgD9nq8A/52uAP+drgD/na4A/52uAP+crQD/maoA/+jr
- wv/////////////////////////////////29+b/vslb/5WnAP+arAD/na4A/52uAP+drgD/na4A/5ut
- AP+YqgD/lqgA/5WnAP+VpwD/mKkA/5usAP+ergL/n7AG/5+wB/+ergL/mqsA/5epAP+VpwD/lqgA/5qr
- AP+drgD/na4A/52uAP+YqgD/na4K/93jqP//////////////////////////////////////////////
- ////////2eCe/5WnAP+drgD/na4A/52uAP+drgD/nq8A/52sAPWbqQASnK4A56KzAP+drgD/na4A/52u
- AP+drgD/na4A/5iqAP+otiL/7fDS//////////////////X25v/Q2In/o7IW/5WnAP+crQD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5ytAP+crQD/m60A/5usAP+brAD/m60A/5yt
- AP+crQD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5mrAP+WqQD/xs9v//v79P//////////////
- /////////////////////////////83Vff+UpwD/na4A/52uAP+drgD/na4A/6O0AP+drQDbAAAAAJ2u
- AKeqvAD/na0A/52uAP+drgD/na4A/52uAP+drgD/mKoA/56vBv+5xUr/wsxh/7fDRf+isg//lacA/5qr
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/nK0A/5Sn
- AP+quCj/3+St//////////////////////////////////////+1wT7/l6kA/52uAP+drgD/na4A/5yt
- AP+qvQD/nawAmwAAAACdsABEp7kA/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+brAD/lqgA/5Wn
- AP+XqQD/mqwA/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/mKoA/5aoAP+zwD//3uOr//v79f/////////////////l6bz/masC/5yt
- AP+drgD/na4A/52uAP+erwD/pbcA/5+xADgAAAAAAAAAAJqsAM+nuQD/nK0A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+crQD/l6kA/5aoAP+nth3/vslY/8zV
- fP/Fz2n/oLAM/5qrAP+drgD/na4A/52uAP+crQD/qLoA/5ysAMMAAAAAAAAAAAAAAACarQBCp7kA/56v
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/masA/5aoAP+VpwD/lacA/5usAP+drgD/na4A/52uAP+drgD/n7AA/6S2AP+dqwA2AAAAAAAA
- AAAAAAAAAAAAAJurAJ2svwD/nK0A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/nK0A/62/
- AP+bqwCPAAAAAAAAAAAAAAAAAAAAAAAAAACfvwAInbAAz6q8AP+crQD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/nK0A/6u9AP+crQDFf78ABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJepABqfsgDfqbwA/5yt
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/nK0A/6q9AP+gsgDVmbIAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAlacAHKGxAM2svwD/nq8A/5ytAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+crQD/n7AA/62/AP+hsgDFlqIAFgAAAAAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACNqQAIoLEAm6e5AP+nuQD/na4A/52tAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5ytAP+drgD/p7kA/6W3AP+gsgCTZpkABAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACerwBGobMAx6e5
- AP+puwD/obMA/56vAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/nq8A/6KzAP+qvAD/prgA/6C0
- AMOcsABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAACisQBIobEApaCxAOOerwD7nq8A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/nq8A/52w
- APmgsADhoLMAn6OyAEIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAChuwASorQAZqCyALeerwDvnrAA/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
- AP+esAD/n7AA66CzALOitQBgqrsADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAA/+AAAAAAA///gAAAAAAA//4AAAAAAAA//AAAAAAAAB/4AAAAAAAAD/AAAAAAAAAH4AAAAAAA
- AAPgAAAAAAAAA8AAAAAAAAABwAAAAAAAAAGAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAgAAAAAAA
- AACAAAAAAAAAAMAAAAAAAAABwAAAAAAAAAHgAAAAAAAAA+AAAAAAAAAD8AAAAAAAAAf4AAAAAAAAD/wA
- AAAAAAAf/gAAAAAAAD//gAAAAAAA///gAAAAAAP///wAAAAAH/8=
-
-
-
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/ShopProductForm.Designer.cs b/TEMUKJD/KJDForms/ProductForms/Old/ShopProductForm.Designer.cs
deleted file mode 100644
index fc2c333..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/ShopProductForm.Designer.cs
+++ /dev/null
@@ -1,608 +0,0 @@
-namespace TemuKJD.KJDForms.ProductForms
-{
- partial class ShopProductForm
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
- this.splitContainer1 = new System.Windows.Forms.SplitContainer();
- this.buttonEx1 = new TemuKJD.UserControls.ButtonEx();
- this.ucGroupBoxEx3 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
- this.btnStop = new TemuKJD.UserControls.ButtonEx();
- this.btnDelOffSale = new TemuKJD.UserControls.ButtonEx();
- this.btnDelOnSale = new TemuKJD.UserControls.ButtonEx();
- this.btnOffline = new TemuKJD.UserControls.ButtonEx();
- this.btnOnline = new TemuKJD.UserControls.ButtonEx();
- this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
- this.btnGetProductCount = new TemuKJD.UserControls.ButtonEx();
- this.btnRefreshShop = new TemuKJD.UserControls.ButtonEx();
- this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
- this.txtKeywords = new DevComponents.DotNetBar.Controls.TextBoxX();
- this.label1 = new System.Windows.Forms.Label();
- this.chkNotOperateChangeDays = new System.Windows.Forms.CheckBox();
- this.chkNotOperateHasSales = new System.Windows.Forms.CheckBox();
- this.txtNotOperateChangeDays = new System.Windows.Forms.TextBox();
- this.label2 = new System.Windows.Forms.Label();
- this.txtOperateCount = new System.Windows.Forms.TextBox();
- this.label12 = new System.Windows.Forms.Label();
- this.splitContainer2 = new System.Windows.Forms.SplitContainer();
- this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
- this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
- 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.colCanUse = new System.Windows.Forms.DataGridViewCheckBoxColumn();
- this.colDetail = new System.Windows.Forms.DataGridViewLinkColumn();
- this.colOnSaleCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colOffSaleCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colOperationCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.btnFailedDetail = new TemuKJD.UserControls.ButtonEx();
- this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
- this.splitContainer1.Panel1.SuspendLayout();
- this.splitContainer1.Panel2.SuspendLayout();
- this.splitContainer1.SuspendLayout();
- this.ucGroupBoxEx3.SuspendLayout();
- this.ucGroupBoxEx1.SuspendLayout();
- this.ucGroupBoxEx2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
- this.splitContainer2.Panel1.SuspendLayout();
- this.splitContainer2.Panel2.SuspendLayout();
- this.splitContainer2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
- this.SuspendLayout();
- //
- // splitContainer1
- //
- this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
- this.splitContainer1.Location = new System.Drawing.Point(0, 0);
- this.splitContainer1.Name = "splitContainer1";
- this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
- //
- // splitContainer1.Panel1
- //
- this.splitContainer1.Panel1.Controls.Add(this.buttonEx1);
- this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx3);
- this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx1);
- this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx2);
- //
- // splitContainer1.Panel2
- //
- this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
- this.splitContainer1.Size = new System.Drawing.Size(933, 637);
- this.splitContainer1.SplitterDistance = 120;
- this.splitContainer1.TabIndex = 378;
- //
- // buttonEx1
- //
- this.buttonEx1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.buttonEx1.Cursor = System.Windows.Forms.Cursors.Hand;
- this.buttonEx1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.buttonEx1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.buttonEx1.ForeColor = System.Drawing.Color.White;
- this.buttonEx1.Location = new System.Drawing.Point(842, 11);
- this.buttonEx1.Margin = new System.Windows.Forms.Padding(2);
- this.buttonEx1.Name = "buttonEx1";
- this.buttonEx1.Size = new System.Drawing.Size(80, 26);
- this.buttonEx1.TabIndex = 404;
- this.buttonEx1.Text = "测试延迟发货";
- this.buttonEx1.UseVisualStyleBackColor = false;
- this.buttonEx1.Visible = false;
- this.buttonEx1.Click += new System.EventHandler(this.buttonEx1_Click);
- //
- // ucGroupBoxEx3
- //
- this.ucGroupBoxEx3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.ucGroupBoxEx3.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
- this.ucGroupBoxEx3.Controls.Add(this.btnStop);
- this.ucGroupBoxEx3.Controls.Add(this.btnDelOffSale);
- this.ucGroupBoxEx3.Controls.Add(this.btnDelOnSale);
- this.ucGroupBoxEx3.Controls.Add(this.btnOffline);
- this.ucGroupBoxEx3.Controls.Add(this.btnOnline);
- this.ucGroupBoxEx3.Location = new System.Drawing.Point(506, 2);
- this.ucGroupBoxEx3.Name = "ucGroupBoxEx3";
- this.ucGroupBoxEx3.Size = new System.Drawing.Size(200, 120);
- this.ucGroupBoxEx3.TabIndex = 396;
- this.ucGroupBoxEx3.TabStop = false;
- this.ucGroupBoxEx3.Text = "操作";
- //
- // btnStop
- //
- this.btnStop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnStop.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnStop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnStop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnStop.ForeColor = System.Drawing.Color.White;
- this.btnStop.Location = new System.Drawing.Point(21, 83);
- this.btnStop.Margin = new System.Windows.Forms.Padding(2);
- this.btnStop.Name = "btnStop";
- this.btnStop.Size = new System.Drawing.Size(80, 26);
- this.btnStop.TabIndex = 379;
- this.btnStop.Text = "停止操作";
- this.btnStop.UseVisualStyleBackColor = false;
- this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
- //
- // btnDelOffSale
- //
- this.btnDelOffSale.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnDelOffSale.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnDelOffSale.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnDelOffSale.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnDelOffSale.ForeColor = System.Drawing.Color.White;
- this.btnDelOffSale.Location = new System.Drawing.Point(21, 53);
- this.btnDelOffSale.Margin = new System.Windows.Forms.Padding(2);
- this.btnDelOffSale.Name = "btnDelOffSale";
- this.btnDelOffSale.Size = new System.Drawing.Size(80, 26);
- this.btnDelOffSale.TabIndex = 378;
- this.btnDelOffSale.Text = "删除仓库";
- this.btnDelOffSale.UseVisualStyleBackColor = false;
- this.btnDelOffSale.Click += new System.EventHandler(this.btnDelOffSale_Click);
- //
- // btnDelOnSale
- //
- this.btnDelOnSale.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnDelOnSale.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnDelOnSale.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnDelOnSale.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnDelOnSale.ForeColor = System.Drawing.Color.White;
- this.btnDelOnSale.Location = new System.Drawing.Point(105, 53);
- this.btnDelOnSale.Margin = new System.Windows.Forms.Padding(2);
- this.btnDelOnSale.Name = "btnDelOnSale";
- this.btnDelOnSale.Size = new System.Drawing.Size(80, 26);
- this.btnDelOnSale.TabIndex = 377;
- this.btnDelOnSale.Text = "删除在售";
- this.btnDelOnSale.UseVisualStyleBackColor = false;
- this.btnDelOnSale.Click += new System.EventHandler(this.btnDelOnSale_Click);
- //
- // btnOffline
- //
- this.btnOffline.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnOffline.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnOffline.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnOffline.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnOffline.ForeColor = System.Drawing.Color.White;
- this.btnOffline.Location = new System.Drawing.Point(105, 23);
- this.btnOffline.Margin = new System.Windows.Forms.Padding(2);
- this.btnOffline.Name = "btnOffline";
- this.btnOffline.Size = new System.Drawing.Size(80, 26);
- this.btnOffline.TabIndex = 376;
- this.btnOffline.Text = "商品下架";
- this.btnOffline.UseVisualStyleBackColor = false;
- this.btnOffline.Click += new System.EventHandler(this.btnOffline_Click);
- //
- // btnOnline
- //
- this.btnOnline.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnOnline.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnOnline.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnOnline.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnOnline.ForeColor = System.Drawing.Color.White;
- this.btnOnline.Location = new System.Drawing.Point(21, 23);
- this.btnOnline.Margin = new System.Windows.Forms.Padding(2);
- this.btnOnline.Name = "btnOnline";
- this.btnOnline.Size = new System.Drawing.Size(80, 26);
- this.btnOnline.TabIndex = 375;
- this.btnOnline.Text = "商品上架";
- this.btnOnline.UseVisualStyleBackColor = false;
- this.btnOnline.Click += new System.EventHandler(this.btnOnline_Click);
- //
- // ucGroupBoxEx1
- //
- this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
- this.ucGroupBoxEx1.Controls.Add(this.btnGetProductCount);
- this.ucGroupBoxEx1.Controls.Add(this.btnRefreshShop);
- this.ucGroupBoxEx1.Location = new System.Drawing.Point(2, 2);
- this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
- this.ucGroupBoxEx1.Size = new System.Drawing.Size(144, 120);
- this.ucGroupBoxEx1.TabIndex = 393;
- this.ucGroupBoxEx1.TabStop = false;
- this.ucGroupBoxEx1.Text = "店铺刷新";
- //
- // btnGetProductCount
- //
- this.btnGetProductCount.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnGetProductCount.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnGetProductCount.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnGetProductCount.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnGetProductCount.ForeColor = System.Drawing.Color.White;
- this.btnGetProductCount.Location = new System.Drawing.Point(16, 67);
- this.btnGetProductCount.Margin = new System.Windows.Forms.Padding(2);
- this.btnGetProductCount.Name = "btnGetProductCount";
- this.btnGetProductCount.Size = new System.Drawing.Size(112, 26);
- this.btnGetProductCount.TabIndex = 375;
- this.btnGetProductCount.Text = "获取商品数量";
- this.btnGetProductCount.UseVisualStyleBackColor = false;
- this.btnGetProductCount.Click += new System.EventHandler(this.btnGetProduct_Click);
- //
- // btnRefreshShop
- //
- this.btnRefreshShop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnRefreshShop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnRefreshShop.ForeColor = System.Drawing.Color.White;
- this.btnRefreshShop.Location = new System.Drawing.Point(16, 30);
- this.btnRefreshShop.Margin = new System.Windows.Forms.Padding(2);
- this.btnRefreshShop.Name = "btnRefreshShop";
- this.btnRefreshShop.Size = new System.Drawing.Size(112, 26);
- this.btnRefreshShop.TabIndex = 374;
- this.btnRefreshShop.Text = "刷新店铺状态";
- this.btnRefreshShop.UseVisualStyleBackColor = false;
- this.btnRefreshShop.Click += new System.EventHandler(this.btnRefreshShop_Click);
- //
- // ucGroupBoxEx2
- //
- this.ucGroupBoxEx2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.ucGroupBoxEx2.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
- this.ucGroupBoxEx2.Controls.Add(this.txtKeywords);
- this.ucGroupBoxEx2.Controls.Add(this.label1);
- this.ucGroupBoxEx2.Controls.Add(this.chkNotOperateChangeDays);
- this.ucGroupBoxEx2.Controls.Add(this.chkNotOperateHasSales);
- this.ucGroupBoxEx2.Controls.Add(this.txtNotOperateChangeDays);
- this.ucGroupBoxEx2.Controls.Add(this.label2);
- this.ucGroupBoxEx2.Controls.Add(this.txtOperateCount);
- this.ucGroupBoxEx2.Controls.Add(this.label12);
- this.ucGroupBoxEx2.Location = new System.Drawing.Point(146, 2);
- this.ucGroupBoxEx2.Name = "ucGroupBoxEx2";
- this.ucGroupBoxEx2.Size = new System.Drawing.Size(360, 120);
- this.ucGroupBoxEx2.TabIndex = 395;
- this.ucGroupBoxEx2.TabStop = false;
- this.ucGroupBoxEx2.Text = "参数";
- //
- // txtKeywords
- //
- //
- //
- //
- this.txtKeywords.Border.Class = "TextBoxBorder";
- this.txtKeywords.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.txtKeywords.Location = new System.Drawing.Point(249, 25);
- this.txtKeywords.Multiline = true;
- this.txtKeywords.Name = "txtKeywords";
- this.txtKeywords.PreventEnterBeep = true;
- this.txtKeywords.Size = new System.Drawing.Size(96, 84);
- this.txtKeywords.TabIndex = 406;
- this.txtKeywords.WatermarkText = "仅下架或删除包含列表关键词的商品\r\n一行一个";
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(177, 28);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(68, 17);
- this.label1.TabIndex = 405;
- this.label1.Text = "包含关键词";
- //
- // chkNotOperateChangeDays
- //
- this.chkNotOperateChangeDays.AutoSize = true;
- this.chkNotOperateChangeDays.Checked = true;
- this.chkNotOperateChangeDays.CheckState = System.Windows.Forms.CheckState.Checked;
- this.chkNotOperateChangeDays.Location = new System.Drawing.Point(16, 59);
- this.chkNotOperateChangeDays.Name = "chkNotOperateChangeDays";
- this.chkNotOperateChangeDays.Size = new System.Drawing.Size(15, 14);
- this.chkNotOperateChangeDays.TabIndex = 403;
- this.chkNotOperateChangeDays.UseVisualStyleBackColor = true;
- this.chkNotOperateChangeDays.CheckedChanged += new System.EventHandler(this.chkNotOperateChangeDays_CheckedChanged);
- //
- // chkNotOperateHasSales
- //
- this.chkNotOperateHasSales.AutoSize = true;
- this.chkNotOperateHasSales.Checked = true;
- this.chkNotOperateHasSales.CheckState = System.Windows.Forms.CheckState.Checked;
- this.chkNotOperateHasSales.Location = new System.Drawing.Point(16, 86);
- this.chkNotOperateHasSales.Name = "chkNotOperateHasSales";
- this.chkNotOperateHasSales.Size = new System.Drawing.Size(123, 21);
- this.chkNotOperateHasSales.TabIndex = 403;
- this.chkNotOperateHasSales.Text = "商品有销量不清理";
- this.chkNotOperateHasSales.UseVisualStyleBackColor = true;
- this.chkNotOperateHasSales.CheckedChanged += new System.EventHandler(this.chkNotOperateHasSales_CheckedChanged);
- //
- // txtNotOperateChangeDays
- //
- this.txtNotOperateChangeDays.Location = new System.Drawing.Point(64, 55);
- this.txtNotOperateChangeDays.Name = "txtNotOperateChangeDays";
- this.txtNotOperateChangeDays.Size = new System.Drawing.Size(36, 23);
- this.txtNotOperateChangeDays.TabIndex = 402;
- this.txtNotOperateChangeDays.Text = "7";
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(33, 58);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(172, 17);
- this.label2.TabIndex = 397;
- this.label2.Text = "跳过 天内修改过的商品";
- //
- // txtOperateCount
- //
- this.txtOperateCount.Location = new System.Drawing.Point(71, 25);
- this.txtOperateCount.Name = "txtOperateCount";
- this.txtOperateCount.Size = new System.Drawing.Size(79, 23);
- this.txtOperateCount.TabIndex = 376;
- this.txtOperateCount.Text = "999999";
- //
- // label12
- //
- this.label12.AutoSize = true;
- this.label12.Location = new System.Drawing.Point(13, 28);
- this.label12.Name = "label12";
- this.label12.Size = new System.Drawing.Size(56, 17);
- this.label12.TabIndex = 378;
- this.label12.Text = "处理数量";
- this.label12.Click += new System.EventHandler(this.label12_Click);
- //
- // splitContainer2
- //
- this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
- this.splitContainer2.Location = new System.Drawing.Point(0, 0);
- this.splitContainer2.Name = "splitContainer2";
- this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
- //
- // splitContainer2.Panel1
- //
- this.splitContainer2.Panel1.Controls.Add(this.dgvShop);
- this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 4, 4, 0);
- //
- // splitContainer2.Panel2
- //
- this.splitContainer2.Panel2.Controls.Add(this.btnFailedDetail);
- this.splitContainer2.Panel2.Controls.Add(this.statusBar);
- this.splitContainer2.Size = new System.Drawing.Size(933, 513);
- this.splitContainer2.SplitterDistance = 483;
- this.splitContainer2.TabIndex = 7;
- //
- // dgvShop
- //
- this.dgvShop.AllowUserToAddRows = false;
- this.dgvShop.AllowUserToDeleteRows = false;
- dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
- this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
- this.dgvShop.BackgroundColor = System.Drawing.Color.White;
- this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
- this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.colSelect,
- this.colShopId,
- this.colShopName,
- this.colAuthStatus,
- this.colLoginStatus,
- this.colCanUse,
- this.colDetail,
- this.colOnSaleCount,
- this.colOffSaleCount,
- this.colOperationCount,
- this.colStatus});
- this.dgvShop.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dgvShop.Location = new System.Drawing.Point(4, 4);
- this.dgvShop.Name = "dgvShop";
- this.dgvShop.ReadOnly = true;
- dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.dgvShop.RowsDefaultCellStyle = dataGridViewCellStyle3;
- this.dgvShop.RowTemplate.Height = 23;
- this.dgvShop.Size = new System.Drawing.Size(925, 479);
- this.dgvShop.TabIndex = 6;
- this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
- //
- // colSelect
- //
- this.colSelect.FillWeight = 50F;
- this.colSelect.HeaderText = "选";
- this.colSelect.Name = "colSelect";
- this.colSelect.ReadOnly = true;
- this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.colSelect.Width = 41;
- //
- // colShopId
- //
- this.colShopId.HeaderText = "店铺Id";
- this.colShopId.Name = "colShopId";
- this.colShopId.ReadOnly = true;
- this.colShopId.Visible = false;
- this.colShopId.Width = 150;
- //
- // colShopName
- //
- this.colShopName.HeaderText = "店铺名称";
- this.colShopName.Name = "colShopName";
- this.colShopName.ReadOnly = true;
- this.colShopName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colShopName.Width = 250;
- //
- // colAuthStatus
- //
- this.colAuthStatus.HeaderText = "授权状态";
- this.colAuthStatus.Name = "colAuthStatus";
- this.colAuthStatus.ReadOnly = true;
- this.colAuthStatus.Width = 68;
- //
- // colLoginStatus
- //
- this.colLoginStatus.HeaderText = "登录状态";
- this.colLoginStatus.Name = "colLoginStatus";
- this.colLoginStatus.ReadOnly = true;
- this.colLoginStatus.Width = 68;
- //
- // colCanUse
- //
- this.colCanUse.HeaderText = "可用";
- this.colCanUse.Name = "colCanUse";
- this.colCanUse.ReadOnly = true;
- this.colCanUse.Width = 50;
- //
- // colDetail
- //
- this.colDetail.HeaderText = "查看详情";
- this.colDetail.Name = "colDetail";
- this.colDetail.ReadOnly = true;
- this.colDetail.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colDetail.Visible = false;
- this.colDetail.Width = 90;
- //
- // colOnSaleCount
- //
- this.colOnSaleCount.HeaderText = "出售中";
- this.colOnSaleCount.Name = "colOnSaleCount";
- this.colOnSaleCount.ReadOnly = true;
- this.colOnSaleCount.Width = 80;
- //
- // colOffSaleCount
- //
- this.colOffSaleCount.HeaderText = "仓库中";
- this.colOffSaleCount.Name = "colOffSaleCount";
- this.colOffSaleCount.ReadOnly = true;
- this.colOffSaleCount.Width = 80;
- //
- // colOperationCount
- //
- this.colOperationCount.HeaderText = "操作数量";
- this.colOperationCount.Name = "colOperationCount";
- this.colOperationCount.ReadOnly = true;
- //
- // colStatus
- //
- this.colStatus.HeaderText = "操作状态";
- this.colStatus.Name = "colStatus";
- this.colStatus.ReadOnly = true;
- this.colStatus.Width = 200;
- //
- // btnFailedDetail
- //
- this.btnFailedDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnFailedDetail.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnFailedDetail.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnFailedDetail.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnFailedDetail.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnFailedDetail.ForeColor = System.Drawing.Color.White;
- this.btnFailedDetail.Location = new System.Drawing.Point(850, -3);
- this.btnFailedDetail.Margin = new System.Windows.Forms.Padding(2);
- this.btnFailedDetail.Name = "btnFailedDetail";
- this.btnFailedDetail.Size = new System.Drawing.Size(80, 26);
- this.btnFailedDetail.TabIndex = 376;
- this.btnFailedDetail.Text = "失败详情";
- this.btnFailedDetail.UseVisualStyleBackColor = false;
- this.btnFailedDetail.Visible = false;
- this.btnFailedDetail.Click += new System.EventHandler(this.btnFailedDetail_Click);
- //
- // statusBar
- //
- this.statusBar.BackColor = System.Drawing.Color.White;
- this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
- this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.statusBar.Location = new System.Drawing.Point(0, 0);
- this.statusBar.Margin = new System.Windows.Forms.Padding(0);
- this.statusBar.Name = "statusBar";
- this.statusBar.Size = new System.Drawing.Size(933, 26);
- this.statusBar.TabIndex = 2;
- //
- // ShopProductForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
- this.BackColor = System.Drawing.Color.White;
- this.ClientSize = new System.Drawing.Size(933, 637);
- this.Controls.Add(this.splitContainer1);
- this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
- this.Name = "ShopProductForm";
- this.Text = "ShopProductForm";
- this.Load += new System.EventHandler(this.ShopProductForm_Load);
- this.VisibleChanged += new System.EventHandler(this.ShopProductForm_VisibleChanged);
- this.splitContainer1.Panel1.ResumeLayout(false);
- this.splitContainer1.Panel2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
- this.splitContainer1.ResumeLayout(false);
- this.ucGroupBoxEx3.ResumeLayout(false);
- this.ucGroupBoxEx1.ResumeLayout(false);
- this.ucGroupBoxEx2.ResumeLayout(false);
- this.ucGroupBoxEx2.PerformLayout();
- this.splitContainer2.Panel1.ResumeLayout(false);
- this.splitContainer2.Panel2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
- this.splitContainer2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private System.Windows.Forms.SplitContainer splitContainer1;
- private UserComponent.UcGroupBoxEx ucGroupBoxEx1;
- private UserControls.ButtonEx btnRefreshShop;
- private UserComponent.UcGroupBoxEx ucGroupBoxEx2;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.TextBox txtOperateCount;
- private System.Windows.Forms.Label label12;
- private UserComponent.DataGridViewEx dgvShop;
- private UserControls.ButtonEx btnGetProductCount;
- private UserComponent.UcGroupBoxEx ucGroupBoxEx3;
- private System.Windows.Forms.CheckBox chkNotOperateHasSales;
- private System.Windows.Forms.TextBox txtNotOperateChangeDays;
- private UserControls.ButtonEx btnDelOffSale;
- private UserControls.ButtonEx btnDelOnSale;
- private UserControls.ButtonEx btnOffline;
- private UserControls.ButtonEx btnOnline;
- private System.Windows.Forms.SplitContainer splitContainer2;
- private UserControls.StatusBarUserControl statusBar;
- private UserControls.ButtonEx btnFailedDetail;
- private UserControls.ButtonEx btnStop;
- private UserControls.ButtonEx buttonEx1;
- private System.Windows.Forms.CheckBox chkNotOperateChangeDays;
- private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
- private System.Windows.Forms.DataGridViewTextBoxColumn colShopId;
- private System.Windows.Forms.DataGridViewTextBoxColumn colShopName;
- private System.Windows.Forms.DataGridViewTextBoxColumn colAuthStatus;
- private System.Windows.Forms.DataGridViewTextBoxColumn colLoginStatus;
- private System.Windows.Forms.DataGridViewCheckBoxColumn colCanUse;
- private System.Windows.Forms.DataGridViewLinkColumn colDetail;
- private System.Windows.Forms.DataGridViewTextBoxColumn colOnSaleCount;
- private System.Windows.Forms.DataGridViewTextBoxColumn colOffSaleCount;
- private System.Windows.Forms.DataGridViewTextBoxColumn colOperationCount;
- private System.Windows.Forms.DataGridViewTextBoxColumn colStatus;
- private DevComponents.DotNetBar.Controls.TextBoxX txtKeywords;
- private System.Windows.Forms.Label label1;
- }
-}
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/ShopProductForm.cs b/TEMUKJD/KJDForms/ProductForms/Old/ShopProductForm.cs
deleted file mode 100644
index 4702af2..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/ShopProductForm.cs
+++ /dev/null
@@ -1,1619 +0,0 @@
-using AllBase;
-using AllBase.Helper;
-using AllBase.Model.Result;
-using CefSharp.WinForms;
-using TemuKJD.Extension;
-using TemuKJD.KJDForms.BaseForms;
-using NaiBa.CefHelper;
-using NaiBa.CefHelper.Handler;
-using NaiBa.Util.Extension;
-using Newtonsoft.Json.Linq;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Text.RegularExpressions;
-using System.Threading;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-using Work.BLL.Product;
-using Work.DouyinApiClass;
-
-namespace TemuKJD.KJDForms.ProductForms
-{
- public partial class ShopProductForm : BaseForm
- {
- ChromiumWebBrowser webBrowser = null;
- private int operateCount = 999999;
- private List keywords = null;
- private CheckBox chkSelectAll = null;
- private List lstShopId = new List();
- public string FailedMessages = "";
- public bool isNotOperateChangeDays = true;
- public bool isNotOperateHasSales = true;
- public DateTime notOperateChangeDays = DateTime.Now.Date.AddDays(-7);
- public long notOperateChangeDaysTick = 0;
- public List lstProductIdHasSales = new List();
- public List lstGetSalesSuccesShop = new List();
- public ShopLoginInfo currentShop = null;
- public bool isReadShopSales = false;
- ShopProductBLL shopProductBLL = new ShopProductBLL();
- CancellationTokenSource cancellationTokenSource = null;
- List lstOperateTask = new List();
-
- public ShopProductForm()
- {
- InitializeComponent();
- }
-
- private void btnGetProduct_Click(object sender, EventArgs e)
- {
- if (lstShopId.Count == 0)
- {
- BaseMsgForm.ShowInfo("请选择要获取商品数量的店铺");
- return;
- }
- this.btnGetProductCount.Enabled = false;
- foreach (DataGridViewRow row in dgvShop.Rows)
- {
- if (lstShopId.Contains(row.Cells["colShopId"]?.Value))
- row.Cells["colStatus"].Value = "";
- }
- Task.Run(() =>
- {
- GetShopProduct();
-
- Invoke(new Action(() =>
- {
- btnGetProductCount.Enabled = true;
- BaseMsgForm.ShowInfo("商品数量获取完成");
- }));
- });
- }
-
- void GetShopProduct(bool isShowProgress = true)
- {
- int i = 0;
- var shopList = GlobalConfig.ShopLoginList.Where(s => s.ApiAuthStatus == "授权成功" && lstShopId.Contains(s.ShopId));
- foreach (var shop in shopList)
- {
- this.Invoke(new Action(() =>
- {
- i++;
- var total = shopList.Count();
-
- if (isShowProgress)
- {
- this.statusBar.lblTaskStatus.Text = "正在获取...";
- this.statusBar.pgbTaskProgress.Value = i;
- this.statusBar.pgbTaskProgress.Text = i + "/" + total;
- this.statusBar.pgbTaskProgress.Maximum = total;
- }
- }));
-
- GetShopProduct(shop);
- Thread.Sleep(Randomx.GetId(50, 150));
- }
- if (shopList.Count() > 0)
- StartUp.SaveLocalShopLoginInfo();
- Invoke(new Action(() =>
- {
- if (isShowProgress)
- this.statusBar.lblTaskStatus.Text = "获取完成";
- }));
- }
-
- void GetShopProduct(ShopLoginInfo shop, bool isShowResult = true)
- {
- DataGridViewRow row = null;
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null)
- {
- if (isShowResult)
- row.Cells["colStatus"].Value = "正在获取店铺商品数量";
- }
- }));
-
- // 读取在售商品数量
- var resultOnline = shopProductBLL.GetShopProductListData(shop, 0, 1, 10);
- if (resultOnline.Contains("\"code\":10000"))
- {
- if (row != null)
- {
- var text = BaseRegex.GetStringJson(ref resultOnline, "total");
- shop.OnlineProductCount = text.ParseToInt();
-
- Invoke(new Action(() =>
- {
- row.Cells["colOnSaleCount"].Value = string.IsNullOrEmpty(text) ? "" : text;
- }));
- }
- }
- // 读取下架商品数量
- var resultOffline = shopProductBLL.GetShopProductListData(shop, 1, 1, 10);
- if (resultOffline.Contains("\"code\":10000"))
- {
- if (row != null)
- {
- var text = BaseRegex.GetStringJson(ref resultOffline, "total");
- shop.OfflineProductCount = text.ParseToInt();
-
- Invoke(new Action(() =>
- {
- row.Cells["colOffSaleCount"].Value = string.IsNullOrEmpty(text) ? "" : text;
- }));
- }
- }
-
- string resultShowText = "";
- if (resultOnline.Contains("\"code\":10000") && resultOffline.Contains("\"code\":10000"))
- {
- resultShowText = "商品数量获取成功";
- }
- else
- {
- resultShowText = "商品数量获取失败";
- if (!resultOnline.Contains("\"code\":10000"))
- {
- var html = BaseRegex.GetStringJson(ref resultOnline, "sub_msg");
- if (string.IsNullOrEmpty(html))
- html = resultOnline;
- resultShowText += ",获取在售商品错误:" + html;
- }
- if (!resultOffline.Contains("\"code\":10000"))
- {
- var html = BaseRegex.GetStringJson(ref resultOffline, "sub_msg");
- if (string.IsNullOrEmpty(html))
- html = resultOffline;
- resultShowText += ",获取仓库商品错误:" + html;
- }
- }
- Invoke(new Action(() =>
- {
- if (row != null)
- {
- if (isShowResult)
- row.Cells["colStatus"].Value = resultShowText;
- }
- }));
- }
-
- private void ShopProductForm_Load(object sender, EventArgs e)
- {
- chkSelectAll = dgvShop.Columns["colSelect"].AddHeaderCheckBox(HorizontalAlignment.Right, 0, 0, null, null, false);
- chkSelectAll.Width = chkSelectAll.Height = 13;
- chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged;
- }
-
- private void ShopProductForm_VisibleChanged(object sender, EventArgs e)
- {
- if (Visible == true)
- RefreshShop();
- }
-
- private void RefreshShop()
- {
- // 更新选中的上货店铺Id
- lstShopId = lstShopId.Where(id => GlobalConfig.ShopLoginList.Any(s => s.ShopId == id && s.LoginStatus == "已授权")).ToList();
- // 获取被删除的店铺
- List dgvRowList = dgvShop.Rows.Cast().Where(row
- => !GlobalConfig.ShopLoginList.Any(s => s.ShopId == row.Cells["colShopId"]?.Value?.ToString())).ToList();
- // 更新被删除的店铺列表
- foreach (var row in dgvRowList)
- {
- dgvShop.Rows.Remove(row);
- }
- // 绑定其他店铺(含新导入的店铺)
- foreach (ShopLoginInfo shopEntity in GlobalConfig.ShopLoginList)
- {
- BindShop(shopEntity);
- }
- }
-
- private void BindShop(ShopLoginInfo shopEntity)
- {
- var row = dgvShop.Rows.Cast().FirstOrDefault(p => p.Cells.GetCellValueFromColumnName("colShopId").ParseToString() == shopEntity.ShopId);
- if (row == null)
- {
- this.dgvShop.Rows.Add(
- false,
- shopEntity.ShopId,
- shopEntity.ShopAccount,
- shopEntity.ApiAuthStatus,
- shopEntity.LoginStatus,
- shopEntity.ApiAuthStatus == "授权成功" && shopEntity.LoginStatus == "登录成功" ? true : false,
- "查看详情",
- shopEntity.OnlineProductCount >= 0 ? shopEntity.OnlineProductCount.ToString() : "",
- shopEntity.OfflineProductCount >= 0 ? shopEntity.OfflineProductCount.ToString() : "",
- string.Empty,
- string.Empty
- );
- }
- else
- {
- row.Cells["colSelect"].Value = lstShopId.Contains(shopEntity.ShopId);
- row.Cells["colShopName"].Value = shopEntity.ShopAccount;
- row.Cells["colAuthStatus"].Value = shopEntity.ApiAuthStatus;
- row.Cells["colLoginStatus"].Value = shopEntity.LoginStatus;
- row.Cells["colCanUse"].Value = shopEntity.ApiAuthStatus == "授权成功" && shopEntity.LoginStatus == "登录成功" ? true : false;
- row.Cells["colOnSaleCount"].Value = shopEntity.OnlineProductCount >= 0 ? shopEntity.OnlineProductCount.ToString() : "";
- row.Cells["colOffSaleCount"].Value = shopEntity.OfflineProductCount >= 0 ? shopEntity.OfflineProductCount.ToString() : "";
- }
- }
-
- private void chkSelectAll_CheckedChanged(object sender, EventArgs e)
- {
- if (!chkSelectAll.Checked)
- {
- lstShopId.Clear();
- foreach (DataGridViewRow row in dgvShop.Rows)
- {
- row.Cells["colSelect"].Value = false;
- }
- }
- else
- {
- lstShopId.Clear();
- var list = GlobalConfig.ShopLoginList.Where(s => s.ApiAuthStatus == "授权成功" && s.LoginStatus == "登录成功").Select(ss => ss.ShopId);
- lstShopId.AddRange(list);
- foreach (DataGridViewRow row in dgvShop.Rows)
- {
- if (list.Any(l => l == row.Cells["colShopId"]?.Value?.ToString()))
- row.Cells["colSelect"].Value = true;
- }
- }
- }
-
- private void btnRefreshShop_Click(object sender, EventArgs e)
- {
- RefreshShop();
- }
-
- private void dgvShop_CellContentClick(object sender, DataGridViewCellEventArgs e)
- {
- if (e.ColumnIndex < 0 || e.RowIndex < 0)
- return;
- string headerText = dgvShop.Columns[e.ColumnIndex].HeaderText;
- long shopId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ParseToLong();
- string shopName = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ToString();
- var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
- switch (headerText)
- {
- case "操作":
- case "选":
- if (dgvShop.Rows[e.RowIndex].Cells["colCanuse"].Value.ParseToBool())
- {
- dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value = !dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value.ParseToBool();
- if (dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value.ParseToBool())
- lstShopId.Add(shopId.ToString());
- else
- lstShopId.Remove(shopId.ToString());
- }
- else
- {
- BaseMsgForm.ShowInfo("店铺未授权或未登录");
- }
- break;
- }
- }
-
- ///
- /// 商品上架
- ///
- ///
- ///
- private void btnOnline_Click(object sender, EventArgs e)
- {
- lstOperateTask.Clear();
-
- if (lstShopId.Count == 0)
- {
- BaseMsgForm.ShowInfo("请选择要上架商品的店铺");
- return;
- }
- try
- {
- this.operateCount = Convert.ToInt32(txtOperateCount.Text);
- this.keywords = txtKeywords.Text.Split(new string[] { ",", "\r\n" }, StringSplitOptions.RemoveEmptyEntries).ToList();
- }
- catch (Exception ex)
- {
- BaseMsgForm.ShowInfo("请输入正确的参数");
- return;
- }
- FailedMessages = "";
- this.btnFailedDetail.Visible = false;
- this.btnOnline.Enabled = this.btnOffline.Enabled = this.btnDelOffSale.Enabled = this.btnDelOnSale.Enabled = false;
- foreach (DataGridViewRow row in dgvShop.Rows)
- {
- if (lstShopId.Contains(row.Cells["colShopId"].Value?.ToString()))
- row.Cells["colStatus"].Value = "";
- }
- if (isNotOperateChangeDays)
- notOperateChangeDaysTick = BaseClass.DateTimeToTimestampSeconds(notOperateChangeDays);
- else
- notOperateChangeDaysTick = 0;
-
- int n = 0;
-
- cancellationTokenSource = new CancellationTokenSource();
- Task.Run(() =>
- {
- foreach (var shopId in lstShopId)
- {
- int shopOperatecount = operateCount;
- this.Invoke(new Action(() =>
- {
- n++;
- var total = lstShopId.Count();
-
- this.statusBar.lblTaskStatus.Text = "正在上架...";
- this.statusBar.pgbTaskProgress.Value = n;
- this.statusBar.pgbTaskProgress.Text = n + "/" + total;
- this.statusBar.pgbTaskProgress.Maximum = total;
- }));
-
- var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
- if (shop == null)
- continue;
-
- DataGridViewRow row = null;
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = "正在上架商品"; }
- }));
-
- var t = Task.Run(() =>
- {
- // 显示商品数
- GetShopProduct(shop, false);
-
- int totalNumBase = shop.OfflineProductCount; // 上架开始时的未上架商品数
- int totalNum = shop.OfflineProductCount; // 未上架商品数
- int setNum = 0; // 上架商品数量(因关键词存在因此少于或等于商品循环计数)
- int currentNum = 0; // 商品循环计数
- int page = 0;
- int pageSize = 50;
- string onSaleMessage = "";
- List productList = new List();
-
- var waitOnSaleHtml = "";
-
- while ((currentNum < shopOperatecount && currentNum < totalNumBase) || page == 0)
- {
- page += 1;
- currentNum += pageSize;
- if (cancellationTokenSource.IsCancellationRequested)
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { Invoke(new Action(() => { row.Cells["colStatus"].Value = "上架中断"; })); }
- break;
- }
-
- // 获取下架商品列表
- waitOnSaleHtml = shopProductBLL.GetShopProductListData(shop, 1, page, pageSize, notOperateChangeDaysTick);
- Thread.Sleep(Randomx.GetId(500, 1000));
-
- if (waitOnSaleHtml.Contains("\"code\":10000"))
- {
- totalNum = BaseRegex.GetIntJson(ref waitOnSaleHtml, "total");
- shop.OfflineProductCount = totalNum;
-
- if (shopOperatecount > totalNumBase)
- shopOperatecount = totalNumBase;
- if (currentNum > totalNumBase)
- currentNum = totalNumBase;
-
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null)
- {
- row.Cells["colOffSaleCount"].Value = totalNumBase;
- }
- }));
- if (totalNum == 0)
- {
- onSaleMessage = "上架结束,店铺没有未上架的商品";
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = onSaleMessage; }
- }));
- break;
- }
-
- try
- {
- JObject jObj = JObject.Parse(waitOnSaleHtml);
- var jObjDataStr = jObj["data"]?["data"]?.ToString();
- if (!string.IsNullOrEmpty(jObjDataStr))
- {
- var addList = JsonHelper.DeserializeJsonToList(jObjDataStr);
- // 筛选掉审核未通过或封禁的商品
- if (addList != null)
- {
- addList = addList.Where(p => p.check_status != 4 && p.check_status != 5).ToList();
- productList.AddRange(addList);
- }
- }
- onSaleMessage = "正在获取商品,第 " + currentNum + " 件商品,共 " + shopOperatecount + " 件商品";
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = onSaleMessage; }
- }));
- }
- catch (Exception ex)
- {
- BaseMsgForm.ShowError("获取商品发生错误:" + ex.Message);
- }
- }
- else
- {
- var failMessage = BaseRegex.GetStringJson(ref waitOnSaleHtml, "sub_msg");
- if (string.IsNullOrEmpty(failMessage))
- failMessage = waitOnSaleHtml;
- onSaleMessage = ("上架失败," + failMessage).TrimEnd(',');
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = onSaleMessage; }
- }));
- Thread.Sleep(1000);
- }
- }
-
- // 有关键词的过滤符合关键词
- if (keywords.Any())
- productList = productList.Where(p => keywords.Any(key => p.name.Contains(key))).ToList();
-
- // 操作数大于满足筛选条件商品数时,操作数改为商品数
- if (shopOperatecount > productList.Count)
- shopOperatecount = productList.Count;
-
- string list = "";
- for (int i = 0; i < productList.Count && i < shopOperatecount; i++)
- {
- if (cancellationTokenSource.IsCancellationRequested)
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { Invoke(new Action(() => { row.Cells["colStatus"].Value = "上架中断"; })); }
- break;
- }
-
- if (shop.PayStatus != 1 && shop.TrialOperateCount >= 100)
- {
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = "当前为试用版,请购买专业版"; }
- }));
- break;
- }
-
- Invoke(new Action(() =>
- {
- onSaleMessage = "正在上架,第 " + (i + 1) + " 件商品,共 " + shopOperatecount + " 件商品";
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = onSaleMessage; }
- }));
- Thread.Sleep(50);
-
- var product = productList[i];
- setNum++;
- list += product.product_id + ",";
- if (i % 1 == 0 || i == shopOperatecount - 1)
- {
- Thread.Sleep(Randomx.GetId(100, 300));
- list = list.TrimEnd(',');
- var onSaleResultCode = shopProductBLL.OnSaleProduct(shop, list);
- if (!onSaleResultCode.Contains("\"code\":10000"))
- {
- Thread.Sleep(Randomx.GetId(1000, 3000));
- onSaleResultCode = shopProductBLL.OnSaleProduct(shop, list);
- }
- Thread.Sleep(Randomx.GetId(100, 300));
- if (onSaleResultCode.Contains("\"code\":10000"))
- {
- //var matches = BaseRegex.GetMatchRegex(ref onSaleResultCode, "\"data\":\\d{1}([\\s\\S]+?)}");
- //foreach (Match m in matches)
- //{
- // var mStr = m.ToString();
- // if (mStr.Contains("\"success\":false"))
- // {
- // var id = BaseRegex.GetLongJson(ref mStr, "data");
- // var msg = BaseRegex.GetStringJson(ref mStr, "sub_msg");
- // FailedMessages += "店铺:" + shop.ShopName + ",商品id:" + id + ",错误信息:" + msg + "\r\n";
- // }
- //}
- updateTrailOperationCount(shop);
- onSaleMessage = "上架中,第 " + setNum + " 件商品,共 " + shopOperatecount + " 件商品";
- Thread.Sleep(Randomx.GetId(800, 1600));
- }
- else
- {
- var failMessage = BaseRegex.GetStringJson(ref onSaleResultCode, "sub_msg");
- if (string.IsNullOrEmpty(failMessage))
- failMessage = BaseRegex.GetStringJson(ref onSaleResultCode, "status_reason");
- if (string.IsNullOrEmpty(failMessage))
- failMessage = onSaleResultCode;
- FailedMessages += "店铺:" + shop.ShopAccount + ",商品id:" + list + ",错误信息:" + failMessage + "\r\n";
- onSaleMessage = ("上架失败," + failMessage).TrimEnd(',');
- }
- list = "";
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = onSaleMessage; }
- }));
- if (onSaleMessage.Contains("失败"))
- Thread.Sleep(1000);
- Thread.Sleep(Randomx.GetId(100, 200));
- if (onSaleMessage.Contains("违规") || onSaleMessage.Contains("禁售"))
- continue;
- if (onSaleMessage.Contains("失败"))
- continue;
- if (i == shopOperatecount - 1)
- {
- onSaleMessage = "上架完成";
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = onSaleMessage; }
- }));
- }
- }
-
- // 上架过程中更新显示仓库商品数
- if (i % 100 == 99 || i == shopOperatecount - 1)
- GetShopProduct(shop, false);
- }
- });
- lstOperateTask.Add(t);
- while (lstOperateTask.Where(ts => !ts.IsCompleted).ToList().Count >= 20)
- {
- Thread.Sleep(1000);
- }
- }
- Task.WaitAll(lstOperateTask.ToArray());
-
- Invoke(new Action(() =>
- {
- this.btnOnline.Enabled = this.btnOffline.Enabled = this.btnDelOffSale.Enabled = this.btnDelOnSale.Enabled = true;
- if (!cancellationTokenSource.IsCancellationRequested)
- {
- var text = "上架完成!";
- if (!string.IsNullOrEmpty(FailedMessages))
- {
- text += "部分商品上架失败,请查看详情。";
- btnFailedDetail.Visible = true;
- }
- this.statusBar.lblTaskStatus.Text = text;
- BaseMsgForm.ShowInfo(text);
- }
- else
- {
- var text = "上架中断!";
- if (!string.IsNullOrEmpty(FailedMessages))
- {
- text += "部分商品上架失败,请查看详情。";
- btnFailedDetail.Visible = true;
- }
- this.statusBar.lblTaskStatus.Text = text;
- BaseMsgForm.ShowInfo(text);
- }
- }));
- }, cancellationTokenSource.Token);
- }
-
- ///
- /// 商品下架
- ///
- ///
- ///
- private void btnOffline_Click(object sender, EventArgs e)
- {
- lstOperateTask.Clear();
-
- if (lstShopId.Count == 0)
- {
- BaseMsgForm.ShowInfo("请选择要下架商品的店铺");
- return;
- }
- try
- {
- this.operateCount = Convert.ToInt32(txtOperateCount.Text);
- this.keywords = txtKeywords.Text.Split(new string[] { ",", "\r\n" }, StringSplitOptions.RemoveEmptyEntries).ToList();
- }
- catch (Exception ex)
- {
- BaseMsgForm.ShowInfo("请输入正确的参数");
- return;
- }
- FailedMessages = "";
- this.btnFailedDetail.Visible = false;
- this.btnOnline.Enabled = this.btnOffline.Enabled = this.btnDelOffSale.Enabled = this.btnDelOnSale.Enabled = false;
- foreach (DataGridViewRow row in dgvShop.Rows)
- {
- if (lstShopId.Contains(row.Cells["colShopId"].Value?.ToString()))
- row.Cells["colStatus"].Value = "";
- }
-
- int n = 0;
- lstProductIdHasSales.Clear();
- lstGetSalesSuccesShop.Clear();
- cancellationTokenSource = new CancellationTokenSource();
- isNotOperateHasSales = chkNotOperateHasSales.Checked;
- notOperateChangeDays = DateTime.Now.Date.AddDays(0 - this.txtNotOperateChangeDays.Text.ParseToInt());
- // 只操作指定天数之前修改的商品
- if (isNotOperateChangeDays)
- notOperateChangeDaysTick = BaseClass.DateTimeToTimestampSeconds(notOperateChangeDays);
- else
- notOperateChangeDaysTick = 0;
- // todo:先读取所有店铺的符合条件商品,然后统一删除
- Dictionary dicShopOperateProductList = new Dictionary();
-
- Task.Run(() =>
- {
- foreach (var shopId in lstShopId)
- {
-
- int shopOperateCount = operateCount;
-
- this.Invoke(new Action(() =>
- {
- n++;
- var total = lstShopId.Count();
-
- this.statusBar.lblTaskStatus.Text = "正在下架...";
- this.statusBar.pgbTaskProgress.Value = n;
- this.statusBar.pgbTaskProgress.Text = n + "/" + total;
- this.statusBar.pgbTaskProgress.Maximum = total;
- }));
-
- var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
- if (shop == null)
- continue;
-
- DataGridViewRow row = null;
-
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = "正在初始化下架商品"; }
- }));
-
- if (cancellationTokenSource.IsCancellationRequested)
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { Invoke(new Action(() => { row.Cells["colStatus"].Value = "下架中断"; })); }
- break;
- }
-
- // 过滤有销量的商品
- if (isNotOperateHasSales)
- {
- if (ShopForms.ShopListForm.Instance == null)
- ShopForms.ShopListForm.Instance = new KJDForms.ShopForms.ShopListForm();
- ShopForms.ShopListForm.Instance.CheckShopLogin(new string[] { shop.ShopAccount }, false);
-
- if (shop.LoginStatus != "登录成功")
- {
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = "未登录店铺无法获取商品销量。"; }
- }));
- continue;
- }
- else
- {
- this.GetHasSales(shop);
-
- while (isReadShopSales)
- {
- Thread.Sleep(100);
- }
- if (!lstGetSalesSuccesShop.Contains(shop))
- {
- Invoke(new Action(() =>
- {
- this.btnOnline.Enabled = this.btnOffline.Enabled = this.btnDelOffSale.Enabled = this.btnDelOnSale.Enabled = true;
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = "店铺获取商品销量失败。"; }
- }));
- continue;
- }
- }
- }
-
- var t = Task.Run(() =>
- {
-
- // 显示商品数
- GetShopProduct(shop, false);
-
- int totalNumBase = shop.OnlineProductCount; // 下架开始时的在售商品数
- int totalNum = shop.OnlineProductCount; // 在售商品数
- int setNum = 0; // 下架商品数量(因关键词存在因此少于或等于商品循环计数)
- int currentNum = 0; // 商品循环计数
- int page = 0;
- int pageSize = 50;
- string offSaleMessage = "";
- List productList = new List();
- var waitOffSaleHtml = "";
-
- while ((productList.Count < shopOperateCount && currentNum < totalNumBase) || page == 0)
- {
- page += 1;
- currentNum += pageSize;
- if (cancellationTokenSource.IsCancellationRequested)
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { Invoke(new Action(() => { row.Cells["colStatus"].Value = "下架中断"; })); }
- break;
- }
-
- // 获取待下架商品列表
- waitOffSaleHtml = shopProductBLL.GetShopProductListData(shop, 0, page, pageSize, notOperateChangeDaysTick);
- Thread.Sleep(Randomx.GetId(500, 1000));
-
- if (waitOffSaleHtml.Contains("\"code\":10000"))
- {
- totalNum = BaseRegex.GetIntJson(ref waitOffSaleHtml, "total");
- shop.OfflineProductCount = totalNum;
-
- if (shopOperateCount > totalNumBase)
- shopOperateCount = totalNumBase;
- if (currentNum > totalNumBase)
- currentNum = totalNumBase;
-
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null)
- {
- row.Cells["colOnSaleCount"].Value = totalNumBase;
- }
- }));
- if (totalNum == 0)
- {
- offSaleMessage = "下架结束,店铺没有未下架的商品";
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = offSaleMessage; }
- }));
- break;
- }
-
- try
- {
- JObject jObj = JObject.Parse(waitOffSaleHtml);
- var jObjDataStr = jObj["data"]?["data"]?.ToString();
- if (!string.IsNullOrEmpty(jObjDataStr))
- {
- var addList = JsonHelper.DeserializeJsonToList(jObjDataStr);
- if (addList != null)
- {
- // 有关键词的过滤符合关键词
- if (keywords.Any())
- addList = addList.Where(p => keywords.Any(key => p.name.Contains(key))).ToList();
- // 过滤有销量的商品
- if (isNotOperateHasSales)
- addList = addList.Where(p => lstProductIdHasSales.Contains(p.product_id.ToString()) == false).ToList();
-
- productList.AddRange(addList);
- }
- }
- offSaleMessage = "已获取:" + currentNum + ",符合条件:" + productList.Count + ",在售商品获取中...";
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = offSaleMessage; }
- }));
- }
- catch (Exception ex)
- {
- BaseMsgForm.ShowError("获取商品发生错误:" + ex.Message);
- }
- }
- else
- {
- var failMessage = BaseRegex.GetStringJson(ref waitOffSaleHtml, "sub_msg");
- if (string.IsNullOrEmpty(failMessage))
- failMessage = waitOffSaleHtml;
- offSaleMessage = ("下架失败," + failMessage).TrimEnd(',');
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = offSaleMessage; }
- }));
- Thread.Sleep(1000);
- }
- }
-
- // 操作数大于满足筛选条件商品数时,操作数改为商品数
- if (shopOperateCount > productList.Count)
- shopOperateCount = productList.Count;
-
- if (productList.Count == 0)
- {
- offSaleMessage = "下架完成";
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = offSaleMessage; }
- }));
- }
-
- string list = "";
- for (int i = 0; i < productList.Count && i < shopOperateCount; i++)
- {
- if (cancellationTokenSource.IsCancellationRequested)
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { Invoke(new Action(() => { row.Cells["colStatus"].Value = "下架中断"; })); }
- break;
- }
-
- if (shop.PayStatus != 1 && shop.TrialOperateCount >= 100)
- {
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = "当前为试用版,请购买专业版"; }
- }));
- break;
- }
-
- Invoke(new Action(() =>
- {
- offSaleMessage = "正在下架,第 " + (i + 1) + " 件商品,共 " + shopOperateCount + " 件商品";
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = offSaleMessage; }
- }));
- Thread.Sleep(50);
-
- var product = productList[i];
-
- var pid = product.product_id;
-
- setNum++;
- list += product.product_id + ",";
- if (i % 1 == 0 || i == shopOperateCount - 1)
- {
- Thread.Sleep(Randomx.GetId(100, 300));
- list = list.TrimEnd(',');
- var offSaleResultCode = shopProductBLL.OffSaleProduct(shop, list);
- if (!offSaleResultCode.Contains("\"code\":10000"))
- {
- Thread.Sleep(Randomx.GetId(1000, 3000));
- offSaleResultCode = shopProductBLL.OffSaleProduct(shop, list);
- }
- Thread.Sleep(Randomx.GetId(100, 300));
- if (offSaleResultCode.Contains("\"code\":10000"))
- {
- updateTrailOperationCount(shop);
- offSaleMessage = "下架中,第 " + setNum + " 件商品,共 " + shopOperateCount + " 件商品";
- Thread.Sleep(Randomx.GetId(800, 1600));
- }
- else
- {
- var failMessage = BaseRegex.GetStringJson(ref offSaleResultCode, "sub_msg");
- if (string.IsNullOrEmpty(failMessage))
- failMessage = BaseRegex.GetStringJson(ref offSaleResultCode, "status_reason");
- if (string.IsNullOrEmpty(failMessage))
- failMessage = offSaleResultCode;
- FailedMessages += "店铺:" + shop.ShopAccount + ",商品id:" + list + ",错误信息:" + failMessage + "\r\n";
- offSaleMessage = ("下架失败," + failMessage).TrimEnd(',');
- }
- list = "";
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = offSaleMessage; }
- }));
- Thread.Sleep(Randomx.GetId(100, 200));
- if (offSaleMessage.Contains("违规") || offSaleMessage.Contains("禁售"))
- continue;
- if (offSaleMessage.Contains("失败"))
- continue;
- if (i == shopOperateCount - 1)
- {
- offSaleMessage = "下架完成";
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = offSaleMessage; }
- }));
- }
-
- }
- // 上架过程中更新显示仓库商品数
- if (i % 100 == 99 || i == shopOperateCount - 1)
- GetShopProduct(shop, false);
- }
- });
- lstOperateTask.Add(t);
- while (lstOperateTask.Where(ts => !ts.IsCompleted).ToList().Count >= 20)
- {
- Thread.Sleep(1000);
- }
- }
- Task.WaitAll(lstOperateTask.ToArray());
-
- Invoke(new Action(() =>
- {
- this.btnOnline.Enabled = this.btnOffline.Enabled = this.btnDelOffSale.Enabled = this.btnDelOnSale.Enabled = true;
- if (!cancellationTokenSource.IsCancellationRequested)
- {
- var text = "下架完成!";
- if (!string.IsNullOrEmpty(FailedMessages))
- {
- text += "部分商品下架失败,请查看详情。";
- btnFailedDetail.Visible = true;
- }
- this.statusBar.lblTaskStatus.Text = text;
- BaseMsgForm.ShowInfo(text);
- }
- else
- {
- var text = "下架中断!";
- if (!string.IsNullOrEmpty(FailedMessages))
- {
- text += "部分商品下架失败,请查看详情。";
- btnFailedDetail.Visible = true;
- }
- this.statusBar.lblTaskStatus.Text = text;
- BaseMsgForm.ShowInfo(text);
- }
- }));
- }, cancellationTokenSource.Token);
- }
-
- private void btnFailedDetail_Click(object sender, EventArgs e)
- {
-
- }
-
- private void btnDelOnSale_Click(object sender, EventArgs e)
- {
- DeleteProduct();
- }
-
- private void DeleteProduct(bool isDelOnline = true)
- {
- lstOperateTask.Clear();
-
- if (lstShopId.Count == 0)
- {
- BaseMsgForm.ShowInfo("请选择要删除商品的店铺");
- return;
- }
- try
- {
- this.operateCount = Convert.ToInt32(txtOperateCount.Text);
- this.keywords = txtKeywords.Text.Split(new string[] { ",", "\r\n" }, StringSplitOptions.RemoveEmptyEntries).ToList();
- }
- catch (Exception ex)
- {
- BaseMsgForm.ShowInfo("请输入正确的参数");
- return;
- }
- FailedMessages = "";
- this.btnFailedDetail.Visible = false;
- this.btnOnline.Enabled = this.btnOffline.Enabled = this.btnDelOffSale.Enabled = this.btnDelOnSale.Enabled = false;
- foreach (DataGridViewRow row in dgvShop.Rows)
- {
- if (lstShopId.Contains(row.Cells["colShopId"].Value?.ToString()))
- row.Cells["colStatus"].Value = "";
- }
-
- int n = 0;
- lstProductIdHasSales.Clear();
- lstGetSalesSuccesShop.Clear();
- cancellationTokenSource = new CancellationTokenSource();
- isNotOperateHasSales = chkNotOperateHasSales.Checked;
- notOperateChangeDays = DateTime.Now.Date.AddDays(0 - this.txtNotOperateChangeDays.Text.ParseToInt());
- // 只操作指定天数之前修改的商品
- if (isNotOperateChangeDays)
- notOperateChangeDaysTick = BaseClass.DateTimeToTimestampSeconds(notOperateChangeDays);
- else
- notOperateChangeDaysTick = 0;
-
- Task.Run(() =>
- {
- foreach (var shopId in lstShopId)
- {
- int shopOperatecount = operateCount;
-
- this.Invoke(new Action(() =>
- {
- n++;
- var total = lstShopId.Count();
-
- this.statusBar.lblTaskStatus.Text = "正在删除...";
- this.statusBar.pgbTaskProgress.Value = n;
- this.statusBar.pgbTaskProgress.Text = n + "/" + total;
- this.statusBar.pgbTaskProgress.Maximum = total;
- }));
-
- var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
- if (shop == null)
- continue;
-
- DataGridViewRow row = null;
-
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null)
- {
- if (isDelOnline)
- row.Cells["colStatus"].Value = "正在初始化删除在售商品";
- else
- row.Cells["colStatus"].Value = "正在初始化删除仓库商品";
- }
- }));
-
- // 过滤有销量的商品
- if (isNotOperateHasSales)
- {
- if (ShopForms.ShopListForm.Instance == null)
- ShopForms.ShopListForm.Instance = new ShopForms.ShopListForm();
- ShopForms.ShopListForm.Instance.CheckShopLogin(new string[] { shop.ShopAccount }, false);
-
- if (shop.LoginStatus != "登录成功")
- {
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = "未登录店铺无法获取商品销量。"; }
- }));
- continue;
- }
- else
- {
- this.GetHasSales(shop);
-
- while (isReadShopSales)
- {
- Thread.Sleep(100);
- }
- if (!lstGetSalesSuccesShop.Contains(shop))
- {
- Invoke(new Action(() =>
- {
- this.btnOnline.Enabled = this.btnOffline.Enabled = this.btnDelOffSale.Enabled = this.btnDelOnSale.Enabled = true;
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = "店铺获取商品销量失败。"; }
- }));
- continue;
- }
- }
- }
-
- var t = Task.Run(() =>
- {
- // 显示商品数
- GetShopProduct(shop, false);
-
- int totalNumBase = shop.OnlineProductCount; // 删除开始时的在售商品数
- int totalNum = shop.OnlineProductCount; // 在售商品数
- if (!isDelOnline)
- {
- totalNumBase = shop.OfflineProductCount;
- totalNum = shop.OfflineProductCount;
- }
- int setNum = 0; // 删除商品数量(因关键词和近日修改不删除因素存在,因此少于或等于商品循环计数)
- int currentNum = 0; // 商品循环计数
- int page = 0;
- int pageSize = 50;
- string deleteProductMessage = "";
- List productList = new List();
-
- var waitDeleteHtml = "";
-
- while ((productList.Count < shopOperatecount && currentNum < totalNumBase) || page == 0)
- {
- page += 1;
- currentNum += pageSize;
- if (cancellationTokenSource.IsCancellationRequested)
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { Invoke(new Action(() => { row.Cells["colStatus"].Value = "删除中断"; })); }
- break;
- }
-
- // 根据上下架信息,获取商品列表
- var productIsOnlineFlag = 0;
- if (!isDelOnline)
- productIsOnlineFlag = 1;
- waitDeleteHtml = shopProductBLL.GetShopProductListData(shop, productIsOnlineFlag, page, pageSize, notOperateChangeDaysTick);
- Thread.Sleep(Randomx.GetId(500, 1000));
-
- if (waitDeleteHtml.Contains("\"code\":10000"))
- {
- totalNum = BaseRegex.GetIntJson(ref waitDeleteHtml, "total");
- if (isDelOnline)
- shop.OnlineProductCount = totalNum;
- else
- shop.OfflineProductCount = totalNum;
-
- if (shopOperatecount > totalNumBase)
- shopOperatecount = totalNumBase;
- if (currentNum > totalNumBase)
- currentNum = totalNumBase;
-
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null)
- {
- if (isDelOnline)
- row.Cells["colOnSaleCount"].Value = totalNumBase;
- else
- row.Cells["colOffSaleCount"].Value = totalNumBase;
- }
- }));
- if (totalNum == 0)
- {
- deleteProductMessage = "删除结束,店铺没有在售商品";
- if (!isDelOnline)
- deleteProductMessage = "删除结束,店铺没有仓库商品";
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = deleteProductMessage; }
- }));
- break;
- }
-
- try
- {
- JObject jObj = JObject.Parse(waitDeleteHtml);
- var jObjDataStr = jObj["data"]?["data"]?.ToString();
- if (!string.IsNullOrEmpty(jObjDataStr))
- {
- var addList = JsonHelper.DeserializeJsonToList(jObjDataStr);
- if (addList != null)
- {
- // 有关键词的过滤符合关键词
- if (keywords.Any())
- addList = addList.Where(p => keywords.Any(key => p.name.Contains(key))).ToList();
- // 过滤有销量的商品
- if (isNotOperateHasSales)
- addList = addList.Where(p => lstProductIdHasSales.Contains(p.product_id.ToString()) == false).ToList();
-
- productList.AddRange(addList);
- }
- }
- deleteProductMessage = "已获取:" + currentNum + ",符合条件:" + productList.Count + ",在售商品获取中...";
- if (!isDelOnline)
- deleteProductMessage = "已获取:" + currentNum + ",符合条件:" + productList.Count + ",仓库商品获取中...";
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = deleteProductMessage; }
- }));
- }
- catch (Exception ex)
- {
- BaseMsgForm.ShowError("获取商品发生错误:" + ex.Message);
- }
- }
- else
- {
- var failMessage = BaseRegex.GetStringJson(ref waitDeleteHtml, "sub_msg");
- if (string.IsNullOrEmpty(failMessage))
- failMessage = waitDeleteHtml;
- deleteProductMessage = ("删除失败," + failMessage).TrimEnd(',');
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = deleteProductMessage; }
- }));
- Thread.Sleep(1000);
- }
- }
-
- // 操作数大于满足筛选条件商品数时,操作数改为商品数
- if (shopOperatecount > productList.Count)
- shopOperatecount = productList.Count;
-
- if (shopOperatecount == 0)
- {
- deleteProductMessage = "删除完成";
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = deleteProductMessage; }
- }));
- }
-
- if (productList.Count == 0)
- {
- deleteProductMessage = "删除完成";
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = deleteProductMessage; }
- }));
- }
-
- string list = "";
- for (int i = 0; i < productList.Count && i < shopOperatecount; i++)
- {
- if (cancellationTokenSource.IsCancellationRequested)
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { Invoke(new Action(() => { row.Cells["colStatus"].Value = "删除中断"; })); }
- break;
- }
-
- if (shop.PayStatus != 1 && shop.TrialOperateCount >= 100)
- {
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = "当前为试用版,请购买专业版"; }
- }));
- break;
- }
-
- Invoke(new Action(() =>
- {
- deleteProductMessage = "正在删除在售商品,第 " + (i + 1) + " 件商品,共 " + shopOperatecount + " 件商品";
- if (!isDelOnline)
- deleteProductMessage = "正在删除仓库商品,第 " + (i + 1) + " 件商品,共 " + shopOperatecount + " 件商品";
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = deleteProductMessage; }
- }));
- Thread.Sleep(50);
-
- var product = productList[i];
- setNum++;
- list += product.product_id + ",";
- if (i % 1 == 0 || i == shopOperatecount - 1)
- {
- Thread.Sleep(Randomx.GetId(100, 300));
- list = list.TrimEnd(',');
- var delResultCode = shopProductBLL.DeleteProduct(shop, list);
- if (!delResultCode.Contains("\"code\":10000"))
- {
- Thread.Sleep(Randomx.GetId(1000, 3000));
- delResultCode = shopProductBLL.DeleteProduct(shop, list);
- }
- Thread.Sleep(Randomx.GetId(100, 300));
- if (delResultCode.Contains("\"code\":10000"))
- {
- updateTrailOperationCount(shop);
- deleteProductMessage = "正在删除在售商品,第 " + setNum + " 件商品,共 " + shopOperatecount + " 件商品";
- if (!isDelOnline)
- deleteProductMessage = "正在删除仓库商品,第 " + setNum + " 件商品,共 " + shopOperatecount + " 件商品";
- Thread.Sleep(Randomx.GetId(800, 1600));
- }
- else
- {
- var failMessage = BaseRegex.GetStringJson(ref delResultCode, "sub_msg");
- if (string.IsNullOrEmpty(failMessage))
- failMessage = BaseRegex.GetStringJson(ref delResultCode, "status_reason");
- if (string.IsNullOrEmpty(failMessage))
- failMessage = delResultCode;
- FailedMessages += "店铺:" + shop.ShopAccount + ",商品id:" + list + ",错误信息:" + failMessage + "\r\n";
- deleteProductMessage = ("删除失败," + failMessage).TrimEnd(',');
- }
- list = "";
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = deleteProductMessage; }
- }));
- Thread.Sleep(Randomx.GetId(100, 200));
- if (deleteProductMessage.Contains("违规") || deleteProductMessage.Contains("禁售"))
- continue;
- if (deleteProductMessage.Contains("失败"))
- continue;
- if (i == shopOperatecount - 1)
- {
- deleteProductMessage = "删除完成";
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = deleteProductMessage; }
- }));
- }
- }
-
- // 上架过程中更新显示仓库商品数
- if (i % 100 == 99 || i == shopOperatecount - 1)
- GetShopProduct(shop, false);
- }
- });
- lstOperateTask.Add(t);
- while (lstOperateTask.Where(ts => !ts.IsCompleted).ToList().Count >= 20)
- {
- Thread.Sleep(1000);
- }
- }
- Task.WaitAll(lstOperateTask.ToArray());
-
- Invoke(new Action(() =>
- {
- this.btnOnline.Enabled = this.btnOffline.Enabled = this.btnDelOffSale.Enabled = this.btnDelOnSale.Enabled = true;
- if (!cancellationTokenSource.IsCancellationRequested)
- {
- var text = "删除完成!";
- if (!string.IsNullOrEmpty(FailedMessages))
- {
- text += "部分商品删除失败,请查看详情。";
- btnFailedDetail.Visible = true;
- }
- this.statusBar.lblTaskStatus.Text = text;
- BaseMsgForm.ShowInfo(text);
- }
- else
- {
- var text = "删除中断!";
- if (!string.IsNullOrEmpty(FailedMessages))
- {
- text += "部分商品删除失败,请查看详情。";
- btnFailedDetail.Visible = true;
- }
- this.statusBar.lblTaskStatus.Text = text;
- BaseMsgForm.ShowInfo(text);
- }
- }));
- }, cancellationTokenSource.Token);
- }
-
- private void btnDelOffSale_Click(object sender, EventArgs e)
- {
- DeleteProduct(false);
- }
-
- private void btnStop_Click(object sender, EventArgs e)
- {
- if (cancellationTokenSource != null)
- cancellationTokenSource.Cancel();
- }
-
- private void buttonEx1_Click(object sender, EventArgs e)
- {
- //DouyinApi api = new DouyinApi(shop);
- //api.JsonData = new Dictionary();
- //api.JsonData.Add("product_id", 3527978631504783585.ToString());
- //api.JsonData.Add("show_draft", "false");
- //string detailHtml = api.GetProductDetail();
-
- //Thread.Sleep(Randomx.GetId(100, 300));
- //list = list.TrimEnd(',');
- //var resultHtml = GetProductUpdateRule(shop, list);
-
- //api.JsonData = new Dictionary();
- //api.JsonData.Add("product_id", "3527978631504783585");
- //api.JsonData.Add("delay_rule", "{\\\"enable\\\":\\\"true\\\",\\\"config_type\\\":\\\"1\\\",\\\"config_value\\\":\\\"1644595100\\\",\\\"start_time\\\":\\\"1643040000\\\",\\\"end_time\\\":\\\"1644249599\\\"}");
- ////api.JsonData.Add("delivery_delay_day", "2");
- //api.JsonData.Add("commit", "true");
- //string editHtml = api.GetProductEdit();
- }
-
- // /product/getProductUpdateRule
- string GetProductUpdateRule(ShopLoginInfo shop, string catId)
- {
- Dictionary dictionary = new Dictionary();
- dictionary.Add("category_id", catId);
- DouyinApi douApi = new DouyinApi(shop);
- douApi.JsonData = dictionary;
- var resultUpdateRule = douApi.GetResultUpdateRule();
- return resultUpdateRule;
- }
-
- private void chkNotOperateChangeDays_CheckedChanged(object sender, EventArgs e)
- {
- isNotOperateChangeDays = chkNotOperateChangeDays.Checked;
- }
-
- private void chkNotOperateHasSales_CheckedChanged(object sender, EventArgs e)
- {
- isNotOperateHasSales = chkNotOperateHasSales.Checked;
- }
-
- ///
- /// 获取有订单商品Id列表
- ///
- private void GetHasSales(ShopLoginInfo shop)
- {
- currentShop = shop;
-
- if (webBrowser == null)
- {
- Invoke(new Action(() =>
- {
- webBrowser = CEFBrowser.CreateChromiumWebBrowser("about:blank", false);
- webBrowser.KeyboardHandler = new KeyboardHandler();
- webBrowser.Dock = DockStyle.Fill;
- Helper.CustomResourceRequestHandlerLocal resourceRequestHandler = new Helper.CustomResourceRequestHandlerLocal();
- resourceRequestHandler.ResourceLoadCompleteEvent += RequestHandler_ResourceLoadCompleteEvent;
- webBrowser.RequestHandler = new CustomRequestHandler(resourceRequestHandler);
- //webBrowser.AddressChanged += WebBrowser_AddressChanged;
- //webBrowser.FrameLoadEnd += webBrowser_FrameLoadEnd;
- webBrowser.SendToBack();
- this.splitContainer2.Panel1.Controls.Add(webBrowser);
- }));
- }
-
- while (!webBrowser.IsBrowserInitialized || webBrowser.IsLoading)
- continue;
-
- var cookie = shop.Cookies;
- CEFBrowser.DeleteCookie(webBrowser.RequestContext.GetCookieManager(null));
- var t = CEFBrowser.SetCookieAsync("jinritemai.com", cookie, webBrowser.RequestContext.GetCookieManager(null));
- t.Wait(2000);
- Thread.Sleep(500);
-
- webBrowser.Load("https://fxg.jinritemai.com/ffa/g/list");
- while (webBrowser.IsLoading)
- {
- Thread.Sleep(1000);
- }
- Thread.Sleep(3000);
-
- //var jsStr = clickJsElementStr +
- // "function clickBtn(txt) {\r\n" +
- // " var elem = getElement(txt);\r\n" +
- // " if (elem) elem.click(); return 'success';\r\n" +
- // " return 'no_element';\r\n" +
- // "}\r\n" +
- // "clickBtn('>销量<');\r\n";
- //var t1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- //t1.Wait();
- Thread.Sleep(7000);
- }
-
- private void RequestHandler_ResourceLoadCompleteEvent(object sender, string url, string postData, string responseData, CefSharp.IRequest iRequest)
- {
- //https://fxg.jinritemai.com/product/tproduct/list?page=0&sort=desc&order_field=sell_num&pageSize=20&draft_status=0&comment_percent=&group_id=&pay_type=&business_type=4&is_online=1&check_status=3&status=0&supply_status=&appid=1&__token=683a0546937232e2e0d21188589a5530&_bid=ffa_goods&_lid=302249513096&msToken=udDi1jFk2Fmdc_1qNCDWVU5dz9pW5BKEY7AkYNVyxTstwAO1HINoZ7Fyqooa6nrFa8BEveaiPGNj6blY4FcT1o7teFMphSe5mhhkCXNSuGkeXYnTs_b8gVkFXzyOvoklyQ==&X-Bogus=DFSzswRYKvxANJnIS-a5lnCr9FFo&_signature=_02B4Z6wo00001qBs2XQAAIDBaNAQaeqXQfKgbP3AAModrEa90knffDfTcbggWfyLBAglax928BpmhSvK4SBwi8ISWvslk-q001kEk4JvaFx83ukywUiOKp8Z7WhPdXURXs68gTqdXo8RiELhe5
- if (url.StartsWith("https://fxg.jinritemai.com/product/tproduct/list?page=0") && url.Contains("&pay_type=")/* && url.Contains("sort=desc&order_field=sell_num")*/)
- {
- var listUrl = url;
- var referrerUrl = iRequest.ReferrerUrl;
- var result = responseData;
- Dictionary Headers = new Dictionary();
- foreach (var hk in iRequest.Headers.AllKeys)
- {
- Headers[hk] = iRequest.Headers[hk];
- }
- if (currentShop != null)
- {
- isReadShopSales = true;
-
- Task.Run(() =>
- {
- int total = -1;
- int number = 0;
- for (int i = 0; i < 10000; i++)
- {
- number += 20;
- result = "";
- for (int j = 0; j < 3 && !result.Contains("\"st\":0"); j++)
- {
- CommonSimRequest simRequest = new CommonSimRequest();
- simRequest.Accept = "application/json, text/plain, */*";
- if (Headers.ContainsKey("Accept"))
- simRequest.Accept = Headers["Accept"];
- if (Headers.ContainsKey("UserAgent"))
- simRequest.UserAgent = Headers["UserAgent"];
- var cookie = currentShop.Cookies;
-
- result = simRequest.Request_Get(listUrl.Replace("page=0", "page=" + i).Replace("&pay_type=", "&pay_type=&sell_num_min=1"), referrerUrl, new Dictionary(), cookie);
- if (j > 0)
- {
- Thread.Sleep(Randomx.GetId(2000, 3000));
- }
- }
-
- if (result.Contains("\"st\":0") && !cancellationTokenSource.IsCancellationRequested)
- {
- if (!lstGetSalesSuccesShop.Contains(currentShop))
- lstGetSalesSuccesShop.Add(currentShop);
-
- if (total == -1)
- {
- total = BaseRegex.GetIntJson(ref result, "total");
- }
- var jObj = JObject.Parse(result);
- var jArr = jObj["data"] as JArray;
- foreach (var productObj in jArr)
- {
- var prod = JsonHelper.SerializeObject(productObj);
- var pId = BaseRegex.GetStringJson(ref prod, "product_id");
- var sales = BaseRegex.GetIntJson(ref prod, "sell_num");
- if (sales == 0)
- {
- number = 99999999;
- break;
- }
- else
- {
- lstProductIdHasSales.Add(pId);
- }
- }
- Thread.Sleep(Randomx.GetId(2000, 3000));
- result = "";
- }
- else
- {
- while (lstGetSalesSuccesShop.Contains(currentShop))
- lstGetSalesSuccesShop.Remove(currentShop);
- break;
- }
-
- if (number >= total)
- break;
- }
-
- currentShop = null;
- Thread.Sleep(3000);
- isReadShopSales = false;
- });
- }
- else
- {
- }
- }
- }
-
- bool isWebBrowserTop = false;
- private void label12_Click(object sender, EventArgs e)
- {
- if (webBrowser == null)
- return;
- if (isWebBrowserTop)
- {
- isWebBrowserTop = false;
- webBrowser.SendToBack();
- }
- else
- {
- isWebBrowserTop = true;
- webBrowser.BringToFront();
- }
- }
-
- private void updateTrailOperationCount(ShopLoginInfo shop)
- {
- if (shop.PayStatus != 1)
- {
- shop.TrialOperateCount++;
- StartUp.SaveLocalShopLoginInfo();
- }
- }
-
- string clickJsElementStr = "function getElement(txt, elem) {\r\n" +
- " var child = document.body.firstElementChild;\r\n" +
- " if (elem) child = elem\r\n" +
- " var element1 = null;\r\n" +
- " while (child) {\r\n" +
- " if (child.innerHTML.indexOf(txt) >= 0) {\r\n" +
- " element1 = child;\r\n" +
- " if (child.firstElementChild) {\r\n" +
- " child = child.firstElementChild; continue;\r\n" +
- " } else break;\r\n" +
- " }\r\n" +
- " child = child.nextElementSibling;\r\n" +
- " }\r\n" +
- " if (element1) {\r\n" +
- " return element1;\r\n" +
- " } else return error;\r\n" +
- "}\r\n";
- }
-}
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/ShopProductForm.resx b/TEMUKJD/KJDForms/ProductForms/Old/ShopProductForm.resx
deleted file mode 100644
index b788926..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/ShopProductForm.resx
+++ /dev/null
@@ -1,153 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/SpecialDelaySendForm.Designer.cs b/TEMUKJD/KJDForms/ProductForms/Old/SpecialDelaySendForm.Designer.cs
deleted file mode 100644
index 780b6b4..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/SpecialDelaySendForm.Designer.cs
+++ /dev/null
@@ -1,474 +0,0 @@
-namespace TemuKJD.KJDForms.ProductForms
-{
- partial class SpecialDelaySendForm
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
- this.splitContainer1 = new System.Windows.Forms.SplitContainer();
- this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
- this.label1 = new System.Windows.Forms.Label();
- this.txtNotOperateDays = new System.Windows.Forms.TextBox();
- this.txtTotalCount = new System.Windows.Forms.TextBox();
- this.label26 = new System.Windows.Forms.Label();
- this.chkIsNotOperateDays = new System.Windows.Forms.CheckBox();
- this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
- this.btnRefresh = new TemuKJD.UserControls.ButtonEx();
- this.btnStop = new TemuKJD.UserControls.ButtonEx();
- this.btnStart = new TemuKJD.UserControls.ButtonEx();
- this.splitContainer3 = new System.Windows.Forms.SplitContainer();
- this.splitContainer2 = new System.Windows.Forms.SplitContainer();
- this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
- this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
- this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colLoginStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.pnlShowError = new DevComponents.DotNetBar.PanelEx();
- this.splitContainer4 = new System.Windows.Forms.SplitContainer();
- this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
- this.splitContainer1.Panel1.SuspendLayout();
- this.splitContainer1.Panel2.SuspendLayout();
- this.splitContainer1.SuspendLayout();
- this.ucGroupBoxEx2.SuspendLayout();
- this.ucGroupBoxEx1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
- this.splitContainer3.Panel1.SuspendLayout();
- this.splitContainer3.Panel2.SuspendLayout();
- this.splitContainer3.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
- this.splitContainer2.Panel1.SuspendLayout();
- this.splitContainer2.Panel2.SuspendLayout();
- this.splitContainer2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
- this.panelEx1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
- this.splitContainer4.Panel1.SuspendLayout();
- this.splitContainer4.SuspendLayout();
- this.SuspendLayout();
- //
- // splitContainer1
- //
- this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
- this.splitContainer1.Location = new System.Drawing.Point(0, 0);
- this.splitContainer1.Name = "splitContainer1";
- this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
- //
- // splitContainer1.Panel1
- //
- this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx2);
- this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx1);
- this.splitContainer1.Panel1.Controls.Add(this.btnStop);
- this.splitContainer1.Panel1.Controls.Add(this.btnStart);
- //
- // splitContainer1.Panel2
- //
- this.splitContainer1.Panel2.Controls.Add(this.splitContainer3);
- this.splitContainer1.Size = new System.Drawing.Size(1139, 601);
- this.splitContainer1.SplitterDistance = 81;
- this.splitContainer1.TabIndex = 4;
- //
- // ucGroupBoxEx2
- //
- this.ucGroupBoxEx2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)));
- this.ucGroupBoxEx2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.ucGroupBoxEx2.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.SQUARE;
- this.ucGroupBoxEx2.Controls.Add(this.label1);
- this.ucGroupBoxEx2.Controls.Add(this.txtNotOperateDays);
- this.ucGroupBoxEx2.Controls.Add(this.txtTotalCount);
- this.ucGroupBoxEx2.Controls.Add(this.label26);
- this.ucGroupBoxEx2.Controls.Add(this.chkIsNotOperateDays);
- this.ucGroupBoxEx2.Location = new System.Drawing.Point(117, 2);
- this.ucGroupBoxEx2.Name = "ucGroupBoxEx2";
- this.ucGroupBoxEx2.Size = new System.Drawing.Size(272, 81);
- this.ucGroupBoxEx2.TabIndex = 400;
- this.ucGroupBoxEx2.TabStop = false;
- this.ucGroupBoxEx2.Text = "参数";
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label1.Location = new System.Drawing.Point(98, 51);
- this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(104, 17);
- this.label1.TabIndex = 406;
- this.label1.Text = "天内修改过的商品";
- //
- // txtNotOperateDays
- //
- this.txtNotOperateDays.Location = new System.Drawing.Point(60, 49);
- this.txtNotOperateDays.Name = "txtNotOperateDays";
- this.txtNotOperateDays.Size = new System.Drawing.Size(36, 21);
- this.txtNotOperateDays.TabIndex = 404;
- this.txtNotOperateDays.Text = "7";
- this.txtNotOperateDays.TextChanged += new System.EventHandler(this.txtNotOperateDays_TextChanged);
- //
- // txtTotalCount
- //
- this.txtTotalCount.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtTotalCount.Location = new System.Drawing.Point(78, 18);
- this.txtTotalCount.Margin = new System.Windows.Forms.Padding(2);
- this.txtTotalCount.Name = "txtTotalCount";
- this.txtTotalCount.Size = new System.Drawing.Size(54, 23);
- this.txtTotalCount.TabIndex = 381;
- this.txtTotalCount.Text = "999999";
- //
- // label26
- //
- this.label26.AutoSize = true;
- this.label26.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label26.Location = new System.Drawing.Point(12, 21);
- this.label26.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label26.Name = "label26";
- this.label26.Size = new System.Drawing.Size(68, 17);
- this.label26.TabIndex = 380;
- this.label26.Text = "设置数量:";
- //
- // chkIsNotOperateDays
- //
- this.chkIsNotOperateDays.AutoSize = true;
- this.chkIsNotOperateDays.Location = new System.Drawing.Point(15, 51);
- this.chkIsNotOperateDays.Name = "chkIsNotOperateDays";
- this.chkIsNotOperateDays.Size = new System.Drawing.Size(48, 16);
- this.chkIsNotOperateDays.TabIndex = 405;
- this.chkIsNotOperateDays.Text = "跳过";
- this.chkIsNotOperateDays.UseVisualStyleBackColor = true;
- //
- // ucGroupBoxEx1
- //
- this.ucGroupBoxEx1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)));
- this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.SQUARE;
- this.ucGroupBoxEx1.Controls.Add(this.btnRefresh);
- this.ucGroupBoxEx1.Location = new System.Drawing.Point(2, 2);
- this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
- this.ucGroupBoxEx1.Size = new System.Drawing.Size(116, 81);
- this.ucGroupBoxEx1.TabIndex = 399;
- this.ucGroupBoxEx1.TabStop = false;
- this.ucGroupBoxEx1.Text = "基础";
- //
- // btnRefresh
- //
- this.btnRefresh.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnRefresh.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnRefresh.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnRefresh.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnRefresh.ForeColor = System.Drawing.Color.White;
- this.btnRefresh.Location = new System.Drawing.Point(12, 31);
- this.btnRefresh.Margin = new System.Windows.Forms.Padding(2);
- this.btnRefresh.Name = "btnRefresh";
- this.btnRefresh.Size = new System.Drawing.Size(90, 25);
- this.btnRefresh.TabIndex = 398;
- this.btnRefresh.Text = "刷新店铺";
- this.btnRefresh.UseVisualStyleBackColor = false;
- this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
- //
- // btnStop
- //
- this.btnStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnStop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnStop.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnStop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnStop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnStop.ForeColor = System.Drawing.Color.White;
- this.btnStop.Location = new System.Drawing.Point(1058, 8);
- this.btnStop.Margin = new System.Windows.Forms.Padding(2);
- this.btnStop.Name = "btnStop";
- this.btnStop.Size = new System.Drawing.Size(72, 25);
- this.btnStop.TabIndex = 395;
- this.btnStop.Text = "停止设置";
- this.btnStop.UseVisualStyleBackColor = false;
- this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
- //
- // btnStart
- //
- this.btnStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnStart.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnStart.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnStart.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnStart.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnStart.ForeColor = System.Drawing.Color.White;
- this.btnStart.Location = new System.Drawing.Point(982, 8);
- this.btnStart.Margin = new System.Windows.Forms.Padding(2);
- this.btnStart.Name = "btnStart";
- this.btnStart.Size = new System.Drawing.Size(72, 25);
- this.btnStart.TabIndex = 387;
- this.btnStart.Text = "开始设置";
- this.btnStart.UseVisualStyleBackColor = false;
- this.btnStart.Click += new System.EventHandler(this.btnStart_Click);
- //
- // splitContainer3
- //
- this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
- this.splitContainer3.Location = new System.Drawing.Point(0, 0);
- this.splitContainer3.Name = "splitContainer3";
- this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
- //
- // splitContainer3.Panel1
- //
- this.splitContainer3.Panel1.Controls.Add(this.splitContainer2);
- //
- // splitContainer3.Panel2
- //
- this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
- this.splitContainer3.Size = new System.Drawing.Size(1139, 516);
- this.splitContainer3.SplitterDistance = 486;
- this.splitContainer3.TabIndex = 1;
- //
- // splitContainer2
- //
- this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
- this.splitContainer2.Location = new System.Drawing.Point(0, 0);
- this.splitContainer2.Name = "splitContainer2";
- //
- // splitContainer2.Panel1
- //
- this.splitContainer2.Panel1.Controls.Add(this.dgvShop);
- this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 0, 0);
- //
- // splitContainer2.Panel2
- //
- this.splitContainer2.Panel2.Controls.Add(this.panelEx1);
- this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 0);
- this.splitContainer2.Size = new System.Drawing.Size(1139, 486);
- this.splitContainer2.SplitterDistance = 347;
- this.splitContainer2.TabIndex = 0;
- //
- // dgvShop
- //
- this.dgvShop.AllowUserToAddRows = false;
- this.dgvShop.AllowUserToDeleteRows = false;
- dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
- this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
- this.dgvShop.BackgroundColor = System.Drawing.Color.White;
- this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
- this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.colSelect,
- this.colShopId,
- this.colShopName,
- this.colLoginStatus,
- this.colMessage});
- this.dgvShop.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dgvShop.Location = new System.Drawing.Point(4, 0);
- this.dgvShop.Name = "dgvShop";
- this.dgvShop.ReadOnly = true;
- dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.dgvShop.RowsDefaultCellStyle = dataGridViewCellStyle3;
- this.dgvShop.RowTemplate.Height = 23;
- this.dgvShop.Size = new System.Drawing.Size(343, 486);
- this.dgvShop.TabIndex = 6;
- this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
- //
- // colSelect
- //
- this.colSelect.FillWeight = 50F;
- this.colSelect.HeaderText = "选";
- this.colSelect.Name = "colSelect";
- this.colSelect.ReadOnly = true;
- this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.colSelect.Width = 40;
- //
- // colShopId
- //
- this.colShopId.HeaderText = "店铺";
- this.colShopId.Name = "colShopId";
- this.colShopId.ReadOnly = true;
- this.colShopId.Width = 70;
- //
- // colShopName
- //
- this.colShopName.FillWeight = 150F;
- this.colShopName.HeaderText = "店铺名称";
- this.colShopName.Name = "colShopName";
- this.colShopName.ReadOnly = true;
- this.colShopName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colShopName.Width = 90;
- //
- // colLoginStatus
- //
- this.colLoginStatus.HeaderText = "可用";
- this.colLoginStatus.Name = "colLoginStatus";
- this.colLoginStatus.ReadOnly = true;
- this.colLoginStatus.Width = 60;
- //
- // colMessage
- //
- this.colMessage.HeaderText = "消息";
- this.colMessage.Name = "colMessage";
- this.colMessage.ReadOnly = true;
- this.colMessage.Width = 120;
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Controls.Add(this.pnlShowError);
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.panelEx1.Location = new System.Drawing.Point(0, 0);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Padding = new System.Windows.Forms.Padding(1);
- this.panelEx1.Size = new System.Drawing.Size(784, 486);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.White;
- this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.White;
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.TabIndex = 183;
- //
- // pnlShowError
- //
- this.pnlShowError.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.pnlShowError.CanvasColor = System.Drawing.Color.Empty;
- this.pnlShowError.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.pnlShowError.DisabledBackColor = System.Drawing.Color.Empty;
- this.pnlShowError.Location = new System.Drawing.Point(182, 192);
- this.pnlShowError.Name = "pnlShowError";
- this.pnlShowError.Size = new System.Drawing.Size(419, 100);
- this.pnlShowError.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.pnlShowError.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(163)))), ((int)(((byte)(226)))), ((int)(((byte)(255)))));
- this.pnlShowError.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(163)))), ((int)(((byte)(226)))), ((int)(((byte)(255)))));
- this.pnlShowError.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.pnlShowError.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
- this.pnlShowError.Style.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.pnlShowError.Style.ForeColor.Color = System.Drawing.Color.Red;
- this.pnlShowError.Style.GradientAngle = 90;
- this.pnlShowError.TabIndex = 187;
- this.pnlShowError.Text = "panelEx3";
- this.pnlShowError.Visible = false;
- //
- // splitContainer4
- //
- this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
- this.splitContainer4.Location = new System.Drawing.Point(0, 0);
- this.splitContainer4.Name = "splitContainer4";
- //
- // splitContainer4.Panel1
- //
- this.splitContainer4.Panel1.Controls.Add(this.statusBar);
- this.splitContainer4.Size = new System.Drawing.Size(1139, 26);
- this.splitContainer4.SplitterDistance = 732;
- this.splitContainer4.TabIndex = 3;
- //
- // statusBar
- //
- this.statusBar.BackColor = System.Drawing.Color.White;
- this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
- this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.statusBar.Location = new System.Drawing.Point(0, 0);
- this.statusBar.Margin = new System.Windows.Forms.Padding(0);
- this.statusBar.Name = "statusBar";
- this.statusBar.Size = new System.Drawing.Size(732, 26);
- this.statusBar.TabIndex = 2;
- //
- // SpecialDelaySendForm
- //
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
- this.BackColor = System.Drawing.Color.White;
- this.ClientSize = new System.Drawing.Size(1139, 601);
- this.Controls.Add(this.splitContainer1);
- this.Name = "SpecialDelaySendForm";
- this.Text = "SpecialDelaySendForm";
- this.Load += new System.EventHandler(this.SpecialDelaySendForm_Load);
- this.VisibleChanged += new System.EventHandler(this.SpecialDelaySendForm_VisibleChanged);
- this.splitContainer1.Panel1.ResumeLayout(false);
- this.splitContainer1.Panel2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
- this.splitContainer1.ResumeLayout(false);
- this.ucGroupBoxEx2.ResumeLayout(false);
- this.ucGroupBoxEx2.PerformLayout();
- this.ucGroupBoxEx1.ResumeLayout(false);
- this.splitContainer3.Panel1.ResumeLayout(false);
- this.splitContainer3.Panel2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
- this.splitContainer3.ResumeLayout(false);
- this.splitContainer2.Panel1.ResumeLayout(false);
- this.splitContainer2.Panel2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
- this.splitContainer2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
- this.panelEx1.ResumeLayout(false);
- this.splitContainer4.Panel1.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit();
- this.splitContainer4.ResumeLayout(false);
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private System.Windows.Forms.SplitContainer splitContainer1;
- private UserComponent.UcGroupBoxEx ucGroupBoxEx2;
- private System.Windows.Forms.TextBox txtTotalCount;
- private System.Windows.Forms.Label label26;
- private UserComponent.UcGroupBoxEx ucGroupBoxEx1;
- private UserControls.ButtonEx btnRefresh;
- private UserControls.ButtonEx btnStop;
- private UserControls.ButtonEx btnStart;
- private System.Windows.Forms.SplitContainer splitContainer3;
- private System.Windows.Forms.SplitContainer splitContainer2;
- private UserComponent.DataGridViewEx dgvShop;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private DevComponents.DotNetBar.PanelEx pnlShowError;
- private System.Windows.Forms.SplitContainer splitContainer4;
- private UserControls.StatusBarUserControl statusBar;
- private System.Windows.Forms.TextBox txtNotOperateDays;
- private System.Windows.Forms.CheckBox chkIsNotOperateDays;
- private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
- private System.Windows.Forms.DataGridViewTextBoxColumn colShopId;
- private System.Windows.Forms.DataGridViewTextBoxColumn colShopName;
- private System.Windows.Forms.DataGridViewTextBoxColumn colLoginStatus;
- private System.Windows.Forms.DataGridViewTextBoxColumn colMessage;
- private System.Windows.Forms.Label label1;
- }
-}
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/SpecialDelaySendForm.cs b/TEMUKJD/KJDForms/ProductForms/Old/SpecialDelaySendForm.cs
deleted file mode 100644
index c9e0475..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/SpecialDelaySendForm.cs
+++ /dev/null
@@ -1,557 +0,0 @@
-using AllBase;
-using AllBase.Helper;
-using AllBase.Model.Result;
-using CefSharp.WinForms;
-using TemuKJD.Extension;
-using TemuKJD.KJDForms.BaseForms;
-using NaiBa.CefHelper;
-using NaiBa.CefHelper.Handler;
-using NaiBa.Util.Extension;
-using Newtonsoft.Json.Linq;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-using Work.DouyinApiClass;
-
-namespace TemuKJD.KJDForms.ProductForms
-{
- public partial class SpecialDelaySendForm : BaseForm
- {
- private CheckBox chkSelectAll = null;
- bool isNotOperateDays = true;
- public DateTime notOperateDate = DateTime.Now.Date.AddDays(-7);
- CancellationTokenSource cancellationTokenSource = null;
- ChromiumWebBrowser webBrowser = null;
- int operateCount = 999999;
- string keyWords = "";
- bool isRun = false;
- public SpecialDelaySendForm()
- {
- InitializeComponent();
- }
-
- private void btnRefresh_Click(object sender, EventArgs e)
- {
- LoadShops();
- }
-
- private void SpecialDelaySendForm_VisibleChanged(object sender, EventArgs e)
- {
- if (Visible)
- LoadShops();
- }
-
- private void txtNotOperateDays_TextChanged(object sender, EventArgs e)
- {
- if (txtNotOperateDays.ParseToInt() > 15)
- txtNotOperateDays.Text = "15";
- }
-
- public void LoadShops()
- {
- for (int i = 0; i < GlobalConfig.ShopLoginList.Count; i++)
- {
- var shop = GlobalConfig.ShopLoginList[i];
- var row = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value?.ToString() == shop.ShopId);
- if (row == null)
- dgvShop.Rows.Add(false, shop.ShopId, shop.ShopAccount, shop.LoginStatus == "登录成功" && shop.ApiAuthStatus == "授权成功" ? "可用" : "");
- else
- {
- row.Cells["colLoginStatus"].Value = shop.LoginStatus;
- }
- }
- }
-
- public string GetShopProductListData(ShopLoginInfo shop, int productStatus = 0, int page = 1, int pageSize = 50)
- {
- // 读取在售商品数量
- Dictionary dictionary = new Dictionary();
- dictionary.Add("page", page.ToString());
- dictionary.Add("size", pageSize.ToString());
- if (productStatus == 0)
- dictionary.Add("check_status", "3");
- dictionary["status"] = productStatus.ToString();
- DouyinApi douApi = new DouyinApi(shop);
- douApi.JsonData = dictionary;
- var resultOnline = douApi.GetProductList();
- return resultOnline;
- }
- void GetShopProduct(ShopLoginInfo shop, bool isShowResult = true)
- {
- DataGridViewRow row = null;
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null)
- {
- if (isShowResult)
- row.Cells["colMessage"].Value = "正在获取店铺商品数量";
- }
- }));
-
- // 读取在售商品数量
- var resultOnline = GetShopProductListData(shop, 0, 1, 10);
- if (resultOnline.Contains("\"code\":10000"))
- {
- if (row != null)
- {
- var text = BaseRegex.GetStringJson(ref resultOnline, "total");
- shop.OnlineProductCount = text.ParseToInt();
-
- Invoke(new Action(() =>
- {
- //row.Cells["colOnSaleCount"].Value = string.IsNullOrEmpty(text) ? "" : text;
- }));
- }
- }
- // 读取下架商品数量
- var resultOffline = GetShopProductListData(shop, 1, 1, 10);
- if (resultOffline.Contains("\"code\":10000"))
- {
- if (row != null)
- {
- var text = BaseRegex.GetStringJson(ref resultOffline, "total");
- shop.OfflineProductCount = text.ParseToInt();
-
- Invoke(new Action(() =>
- {
- //row.Cells["colOffSaleCount"].Value = string.IsNullOrEmpty(text) ? "" : text;
- }));
- }
- }
-
- string resultShowText = "";
- if (resultOnline.Contains("\"code\":10000") && resultOffline.Contains("\"code\":10000"))
- {
- resultShowText = "商品数量获取成功";
- }
- else
- {
- resultShowText = "商品数量获取失败";
- if (!resultOnline.Contains("\"code\":10000"))
- {
- var html = BaseRegex.GetStringJson(ref resultOnline, "sub_msg");
- if (string.IsNullOrEmpty(html))
- html = resultOnline;
- resultShowText += ",获取在售商品错误:" + html;
- }
- if (!resultOffline.Contains("\"code\":10000"))
- {
- var html = BaseRegex.GetStringJson(ref resultOffline, "sub_msg");
- if (string.IsNullOrEmpty(html))
- html = resultOffline;
- resultShowText += ",获取仓库商品错误:" + html;
- }
- }
- Invoke(new Action(() =>
- {
- if (row != null)
- {
- if (isShowResult)
- row.Cells["colMessage"].Value = resultShowText;
- }
- }));
- }
-
- private void btnStart_Click(object sender, EventArgs e)
- {
- this.operateCount = this.txtTotalCount.Text.ParseToInt();
- var shopIds = this.dgvShop.Rows.Cast().Where(r => r.Cells["colSelect"].Value.ParseToBool() == true)
- .Select(r => r.Cells["colShopId"].Value?.ToString()).ToList();
- var shops = GlobalConfig.ShopLoginList.Where(s => shopIds.Contains(s.ShopId)).ToList();
- if (shops.Count == 0)
- {
- BaseMsgForm.ShowError("请选择要操作的店铺");
- return;
- }
-
- isRun = true;
- isNotOperateDays = chkIsNotOperateDays.Checked;
- notOperateDate = DateTime.Now.Date.AddDays(0 - this.txtNotOperateDays.Text.ParseToInt());
- btnStart.Enabled = false;
- cancellationTokenSource = new CancellationTokenSource();
- SetDelaySendCef(shops);
- Task.Run(() =>
- {
- Thread.Sleep(8000);
- Invoke(new Action(() => { btnStart.Enabled = true; }));
- });
- }
-
- void SetDelaySendCef(List shops)
- {
- Task.Run(() =>
- {
- InitCef();
-
- while (!webBrowser.IsBrowserInitialized || webBrowser.IsLoading)
- continue;
-
- for (int num = 0; num < shops.Count; num++)
- {
- Thread.Sleep(500);
-
- var shop = shops[num];
- if (shop == null)
- {
- continue;
- }
-
- if (!isRun)
- {
- Invoke(new Action(() =>
- {
- var row1 = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value?.ToString() == shop.ShopId);
- if (row1 != null)
- row1.Cells["colMessage"].Value = "设置中断";
- }));
- break;
- }
- Invoke(new Action(() =>
- {
- this.statusBar.pgbTaskProgress.Maximum = shops.Count;
- this.statusBar.lblTaskStatus.Text = "正在获取店铺:" + shop.ShopAccount + "商品";
- this.statusBar.pgbTaskProgress.Value = (num + 1);
- this.statusBar.pgbTaskProgress.Text = (num + 1) + "/" + shops.Count;
- }));
-
- // 获取商品数
- GetShopProduct(shop);
-
- int totalNumBase = shop.OnlineProductCount; // 下架开始时的在售商品数
- int totalNum = shop.OnlineProductCount; // 在售商品数
- int setNum = 0; // 下架商品数量(因关键词存在因此少于或等于商品循环计数)
- int currentNum = 0; // 商品循环计数
- int page = 0;
- int pageSize = 50;
- string offSaleMessage = "";
- List productList = new List();
-
- var onlineProductHtml = "";
-
- while ((currentNum < operateCount && currentNum < totalNumBase) || page == 0)
- {
- page += 1;
- currentNum += pageSize;
- if (cancellationTokenSource != null && cancellationTokenSource.IsCancellationRequested)
- {
- var row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { Invoke(new Action(() => { row.Cells["colMessage"].Value = "下架中断"; })); }
- break;
- }
-
- // 获取商品列表
- onlineProductHtml = GetShopProductListData(shop, 0, page);
- Thread.Sleep(Randomx.GetId(500, 1000));
-
- if (onlineProductHtml.Contains("\"code\":10000"))
- {
- totalNum = BaseRegex.GetIntJson(ref onlineProductHtml, "total");
- shop.OfflineProductCount = totalNum;
-
- if (operateCount > totalNumBase)
- operateCount = totalNumBase;
- if (currentNum > totalNumBase)
- currentNum = totalNumBase;
-
- Invoke(new Action(() =>
- {
- var row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null)
- {
- //row.Cells["colOnSaleCount"].Value = totalNumBase;
- }
- }));
- if (totalNum == 0)
- {
- offSaleMessage = "设置结束,店铺没有在售的商品";
- Invoke(new Action(() =>
- {
- var row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colMessage"].Value = offSaleMessage; }
- }));
- break;
- }
-
- try
- {
- JObject jObj = JObject.Parse(onlineProductHtml);
- var jObjDataStr = jObj["data"]?["data"]?.ToString();
- if (!string.IsNullOrEmpty(jObjDataStr))
- {
- var addList = JsonHelper.DeserializeJsonToList(jObjDataStr);
- if (addList != null)
- productList.AddRange(addList);
- }
- offSaleMessage = "正在获取商品,第" + currentNum + "件商品,共" + operateCount + "件商品";
- Invoke(new Action(() =>
- {
- var row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colMessage"].Value = offSaleMessage; }
- }));
- }
- catch (Exception ex)
- {
- BaseMsgForm.ShowError("获取商品发生错误:" + ex.Message);
- }
- }
- else
- {
- var failMessage = BaseRegex.GetStringJson(ref onlineProductHtml, "sub_msg");
- if (string.IsNullOrEmpty(failMessage))
- failMessage = onlineProductHtml;
- offSaleMessage = ("设置发货延迟失败," + failMessage).TrimEnd(',');
- Invoke(new Action(() =>
- {
- var row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colMessage"].Value = offSaleMessage; }
- }));
- }
- }
-
- // 有关键词的过滤符合关键词
- if (keyWords.Any())
- productList = productList.Where(p => keyWords.Any(key => p.name.Contains(key))).ToList();
-
- // 只操作指定天数之前修改的商品
- if (isNotOperateDays)
- productList = productList.Where(p => p.update_time < BaseClass.DateTimeToTimestampSeconds(notOperateDate)).ToList();
-
- // 操作数大于满足筛选条件商品数时,操作数改为商品数
- if (operateCount > productList.Count)
- operateCount = productList.Count;
-
- for (int i = 0; i < productList.Count && i < operateCount; i++)
- {
- if (cancellationTokenSource != null && cancellationTokenSource.IsCancellationRequested)
- {
- var row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { Invoke(new Action(() => { row.Cells["colMessage"].Value = "设置发货延迟中断"; })); }
- break;
- }
-
- Invoke(new Action(() =>
- {
- offSaleMessage = "正在设置发货延迟,第 " + (i + 1) + " 件商品,共 " + operateCount + " 件商品";
- var row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colMessage"].Value = offSaleMessage; }
- this.statusBar.lblTaskStatus.Text = offSaleMessage;
- }));
- Thread.Sleep(50);
-
- var product = productList[i];
- setNum++;
-
- var pid = product.product_id;
- var cid = product.category_detail.fourth_cid;
- if (cid == 0)
- cid = product.category_detail.third_cid;
- if (cid == 0)
- cid = product.category_detail.second_cid;
- if (cid == 0)
- cid = product.category_detail.first_cid;
- Thread.Sleep(Randomx.GetId(100, 300));
-
- var cookie = shop.Cookies;
- CEFBrowser.DeleteCookie(webBrowser.RequestContext.GetCookieManager(null));
- var t = CEFBrowser.SetCookieAsync("jinritemai.com", cookie, webBrowser.RequestContext.GetCookieManager(null));
- t.Wait(2000);
- Thread.Sleep(500);
- this.webBrowser.Load("https://fxg.jinritemai.com/ffa/g/create?product_id=" + pid + "&cid=" + cid + "&entrance=edit");
- Thread.Sleep(3000);
- while (webBrowser.IsLoading)
- {
- Thread.Sleep(1000);
- }
- var jsStr = getJsElementStr +
- "function getPos(elem) { var box = elem;" +
- "if (box == null) return '-|-';" +
- "var actualLeft = box.offsetLeft;" +
- "var actualTop = box.offsetTop;" +
- "var current = box.offsetParent;" +
- "while (current !== null) { actualLeft += current.offsetLeft; actualTop += current.offsetTop; current = current.offsetParent; }" +
- "return '' + actualLeft + '|' + actualTop;}\r\n" +
- "getPos(getElement('特殊日期延迟发货时间'));";
-
- var result = "";
- for (int x = 0; x < 100 && string.IsNullOrEmpty(result); x++)
- {
- var task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- task.Wait();
- result = task.Result?.Result?.ToString();
- Thread.Sleep(1000);
- }
- Thread.Sleep(3000);
-
- if (string.IsNullOrEmpty(result) || result == "-|-")
- {
- continue;
- }
-
- jsStr = "document.getElementById('goodsEditScrollContainer').scrollTop = " + result.Split('|').LastOrDefault() + ";";
- {
- var task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- task.Wait();
- result = task.Result?.Result?.ToString();
- Thread.Sleep(1500);
- }
-
- jsStr = "function clickSwitchButton() { if (document.body.innerHTML.indexOf('最晚发货时间') < 0) document.getElementsByClassName('ant-switch')[0].click(); }\r\n" +
- "clickSwitchButton();";
- {
- var task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- task.Wait();
- result = task.Result?.Result?.ToString();
- Thread.Sleep(1500 + Randomx.GetId(1000));
- }
-
- jsStr = "document.getElementsByClassName('ant-btn sp-tooltip ant-btn-primary')[0].click();";
- {
- var task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- task.Wait();
- result = task.Result?.Result?.ToString();
- Thread.Sleep(5000);
- }
-
- if (i == operateCount - 1)
- {
- offSaleMessage = "设置特殊发货时间完成";
- Invoke(new Action(() =>
- {
- var row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colMessage"].Value = offSaleMessage; }
- }));
- }
- // 操作过程中更新显示仓库商品数
- if (i % 50 == 49 || i == operateCount - 1)
- GetShopProduct(shop, false);
- }
- }
- Invoke(new Action(() =>
- {
- this.btnStart.Enabled = true;
- if (cancellationTokenSource != null && !cancellationTokenSource.IsCancellationRequested)
- {
- var text = "设置特殊发货时间完成!";
- //if (!string.IsNullOrEmpty(FailedMessages))
- //{
- // text += "部分商品设置发货延迟失败,请查看详情。";
- // btnFailedDetail.Visible = true;
- //}
- this.statusBar.lblTaskStatus.Text = text;
- BaseMsgForm.ShowInfo(text);
- }
- else
- {
- var text = "设置特殊发货时间完成!";
- //if (!string.IsNullOrEmpty(FailedMessages))
- //{
- // text += "部分商品设置发货延迟失败,请查看详情。";
- // btnFailedDetail.Visible = true;
- //}
- this.statusBar.lblTaskStatus.Text = text;
- BaseMsgForm.ShowInfo(text);
- }
- }));
- }, cancellationTokenSource.Token);
- }
-
- void InitCef()
- {
- if (webBrowser == null)
- {
- Invoke(new Action(() =>
- {
- webBrowser = CEFBrowser.CreateChromiumWebBrowser("about:blank", false);
- webBrowser.KeyboardHandler = new KeyboardHandler();
- webBrowser.Dock = DockStyle.Fill;
- webBrowser.SendToBack();
- this.panelEx1.Controls.Add(webBrowser);
- }));
- }
- }
-
- private void dgvShop_CellContentClick(object sender, DataGridViewCellEventArgs e)
- {
- if (e.ColumnIndex < 0 || e.RowIndex < 0)
- return;
- string headerText = dgvShop.Columns[e.ColumnIndex].HeaderText;
- long shopId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ParseToLong();
- string shopName = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ToString();
- var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
- switch (headerText)
- {
- case "操作":
- case "全选":
- case "选":
- if (shop.LoginStatus == "登录成功" && shop.ApiAuthStatus == "授权成功")
- {
- dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value = !dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value.ParseToBool();
- }
- else
- {
- BaseMsgForm.ShowInfo("店铺未授权或未登录");
- }
- break;
- }
- }
-
- private void SpecialDelaySendForm_Load(object sender, EventArgs e)
- {
- chkSelectAll = dgvShop.Columns["colSelect"].AddHeaderCheckBox(HorizontalAlignment.Right, 0, 0, null, null, false);
- chkSelectAll.Width = chkSelectAll.Height = 13;
- chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged;
- }
-
- private void chkSelectAll_CheckedChanged(object sender, EventArgs e)
- {
- if (!chkSelectAll.Checked)
- {
- foreach (DataGridViewRow row in dgvShop.Rows)
- {
- row.Cells["colSelect"].Value = false;
- }
- }
- else
- {
- var list = GlobalConfig.ShopLoginList.Where(s => s.ApiAuthStatus == "授权成功" && s.LoginStatus == "登录成功").Select(ss => ss.ShopId);
- foreach (DataGridViewRow row in dgvShop.Rows)
- {
- if (list.Any(l => l == row.Cells["colShopId"]?.Value?.ToString()))
- row.Cells["colSelect"].Value = true;
- }
- }
- }
-
- public string getJsElementStr = "function getElement(txt, elem) {\r\n" +
- " var child = document.body.firstElementChild;\r\n" +
- " if (elem) child = elem\r\n" +
- " var element1 = null;\r\n" +
- " while (child) {\r\n" +
- " if (child.innerHTML.indexOf(txt) >= 0) {\r\n" +
- " element1 = child;\r\n" +
- " if (child.firstElementChild) {\r\n" +
- " child = child.firstElementChild; continue;\r\n" +
- " } else break;\r\n" +
- " }\r\n" +
- " child = child.nextElementSibling;\r\n" +
- " }\r\n" +
- " if (element1) {\r\n" +
- " return element1;\r\n" +
- " } else return error;\r\n" +
- "}\r\n";
-
- private void btnStop_Click(object sender, EventArgs e)
- {
- if (cancellationTokenSource != null)
- cancellationTokenSource.Cancel();
- }
- }
-}
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/SpecialDelaySendForm.resx b/TEMUKJD/KJDForms/ProductForms/Old/SpecialDelaySendForm.resx
deleted file mode 100644
index 4a0af8d..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/SpecialDelaySendForm.resx
+++ /dev/null
@@ -1,132 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/StockSyncForm.Designer.cs b/TEMUKJD/KJDForms/ProductForms/Old/StockSyncForm.Designer.cs
deleted file mode 100644
index 5401777..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/StockSyncForm.Designer.cs
+++ /dev/null
@@ -1,457 +0,0 @@
-namespace TemuKJD.KJDForms.ProductForms
-{
- partial class StockSyncForm
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
- this.splitContainer1 = new System.Windows.Forms.SplitContainer();
- this.txtKeywords = new System.Windows.Forms.TextBox();
- this.ucGroupBoxEx3 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
- this.btnStop = new TemuKJD.UserControls.ButtonEx();
- this.btnSetStock = new TemuKJD.UserControls.ButtonEx();
- this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
- this.btnGetProductCount = new TemuKJD.UserControls.ButtonEx();
- this.btnRefreshShop = new TemuKJD.UserControls.ButtonEx();
- this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
- this.txtStockCount = new System.Windows.Forms.TextBox();
- this.label2 = new System.Windows.Forms.Label();
- this.txtOperateCount = new System.Windows.Forms.TextBox();
- this.label12 = new System.Windows.Forms.Label();
- this.splitContainer2 = new System.Windows.Forms.SplitContainer();
- this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
- this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
- this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colCanUse = new System.Windows.Forms.DataGridViewCheckBoxColumn();
- this.colDetail = new System.Windows.Forms.DataGridViewLinkColumn();
- this.colOnSaleCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colOffSaleCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colOperationCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.btnFailedDetail = new TemuKJD.UserControls.ButtonEx();
- this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
- this.splitContainer1.Panel1.SuspendLayout();
- this.splitContainer1.Panel2.SuspendLayout();
- this.splitContainer1.SuspendLayout();
- this.ucGroupBoxEx3.SuspendLayout();
- this.ucGroupBoxEx1.SuspendLayout();
- this.ucGroupBoxEx2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
- this.splitContainer2.Panel1.SuspendLayout();
- this.splitContainer2.Panel2.SuspendLayout();
- this.splitContainer2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
- this.SuspendLayout();
- //
- // splitContainer1
- //
- this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
- this.splitContainer1.Location = new System.Drawing.Point(0, 0);
- this.splitContainer1.Name = "splitContainer1";
- this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
- //
- // splitContainer1.Panel1
- //
- this.splitContainer1.Panel1.Controls.Add(this.txtKeywords);
- this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx3);
- this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx1);
- this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx2);
- //
- // splitContainer1.Panel2
- //
- this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
- this.splitContainer1.Size = new System.Drawing.Size(856, 542);
- this.splitContainer1.SplitterDistance = 120;
- this.splitContainer1.TabIndex = 379;
- //
- // txtKeywords
- //
- this.txtKeywords.Location = new System.Drawing.Point(772, 12);
- this.txtKeywords.Name = "txtKeywords";
- this.txtKeywords.Size = new System.Drawing.Size(79, 23);
- this.txtKeywords.TabIndex = 398;
- this.txtKeywords.Visible = false;
- //
- // ucGroupBoxEx3
- //
- this.ucGroupBoxEx3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.ucGroupBoxEx3.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
- this.ucGroupBoxEx3.Controls.Add(this.btnStop);
- this.ucGroupBoxEx3.Controls.Add(this.btnSetStock);
- this.ucGroupBoxEx3.Location = new System.Drawing.Point(312, 2);
- this.ucGroupBoxEx3.Name = "ucGroupBoxEx3";
- this.ucGroupBoxEx3.Size = new System.Drawing.Size(200, 120);
- this.ucGroupBoxEx3.TabIndex = 396;
- this.ucGroupBoxEx3.TabStop = false;
- this.ucGroupBoxEx3.Text = "操作";
- //
- // btnStop
- //
- this.btnStop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnStop.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnStop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnStop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnStop.ForeColor = System.Drawing.Color.White;
- this.btnStop.Location = new System.Drawing.Point(21, 67);
- this.btnStop.Margin = new System.Windows.Forms.Padding(2);
- this.btnStop.Name = "btnStop";
- this.btnStop.Size = new System.Drawing.Size(80, 26);
- this.btnStop.TabIndex = 379;
- this.btnStop.Text = "停止操作";
- this.btnStop.UseVisualStyleBackColor = false;
- this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
- //
- // btnSetStock
- //
- this.btnSetStock.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSetStock.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnSetStock.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnSetStock.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnSetStock.ForeColor = System.Drawing.Color.White;
- this.btnSetStock.Location = new System.Drawing.Point(21, 30);
- this.btnSetStock.Margin = new System.Windows.Forms.Padding(2);
- this.btnSetStock.Name = "btnSetStock";
- this.btnSetStock.Size = new System.Drawing.Size(80, 26);
- this.btnSetStock.TabIndex = 375;
- this.btnSetStock.Text = "设置库存";
- this.btnSetStock.UseVisualStyleBackColor = false;
- this.btnSetStock.Click += new System.EventHandler(this.btnSetStock_Click);
- //
- // ucGroupBoxEx1
- //
- this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
- this.ucGroupBoxEx1.Controls.Add(this.btnGetProductCount);
- this.ucGroupBoxEx1.Controls.Add(this.btnRefreshShop);
- this.ucGroupBoxEx1.Location = new System.Drawing.Point(2, 2);
- this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
- this.ucGroupBoxEx1.Size = new System.Drawing.Size(144, 120);
- this.ucGroupBoxEx1.TabIndex = 393;
- this.ucGroupBoxEx1.TabStop = false;
- this.ucGroupBoxEx1.Text = "店铺刷新";
- //
- // btnGetProductCount
- //
- this.btnGetProductCount.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnGetProductCount.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnGetProductCount.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnGetProductCount.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnGetProductCount.ForeColor = System.Drawing.Color.White;
- this.btnGetProductCount.Location = new System.Drawing.Point(15, 67);
- this.btnGetProductCount.Margin = new System.Windows.Forms.Padding(2);
- this.btnGetProductCount.Name = "btnGetProductCount";
- this.btnGetProductCount.Size = new System.Drawing.Size(113, 26);
- this.btnGetProductCount.TabIndex = 375;
- this.btnGetProductCount.Text = "获取商品数量";
- this.btnGetProductCount.UseVisualStyleBackColor = false;
- this.btnGetProductCount.Click += new System.EventHandler(this.btnGetProductCount_Click);
- //
- // btnRefreshShop
- //
- this.btnRefreshShop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnRefreshShop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnRefreshShop.ForeColor = System.Drawing.Color.White;
- this.btnRefreshShop.Location = new System.Drawing.Point(15, 30);
- this.btnRefreshShop.Margin = new System.Windows.Forms.Padding(2);
- this.btnRefreshShop.Name = "btnRefreshShop";
- this.btnRefreshShop.Size = new System.Drawing.Size(113, 26);
- this.btnRefreshShop.TabIndex = 374;
- this.btnRefreshShop.Text = "刷新店铺状态";
- this.btnRefreshShop.UseVisualStyleBackColor = false;
- this.btnRefreshShop.Click += new System.EventHandler(this.btnRefreshShop_Click);
- //
- // ucGroupBoxEx2
- //
- this.ucGroupBoxEx2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.ucGroupBoxEx2.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
- this.ucGroupBoxEx2.Controls.Add(this.txtStockCount);
- this.ucGroupBoxEx2.Controls.Add(this.label2);
- this.ucGroupBoxEx2.Controls.Add(this.txtOperateCount);
- this.ucGroupBoxEx2.Controls.Add(this.label12);
- this.ucGroupBoxEx2.Location = new System.Drawing.Point(147, 2);
- this.ucGroupBoxEx2.Name = "ucGroupBoxEx2";
- this.ucGroupBoxEx2.Size = new System.Drawing.Size(164, 120);
- this.ucGroupBoxEx2.TabIndex = 395;
- this.ucGroupBoxEx2.TabStop = false;
- this.ucGroupBoxEx2.Text = "参数";
- //
- // txtStockCount
- //
- this.txtStockCount.Location = new System.Drawing.Point(106, 70);
- this.txtStockCount.Name = "txtStockCount";
- this.txtStockCount.Size = new System.Drawing.Size(44, 23);
- this.txtStockCount.TabIndex = 402;
- this.txtStockCount.Text = "99";
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(11, 73);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(92, 17);
- this.label2.TabIndex = 397;
- this.label2.Text = "设置商品库存为";
- //
- // txtOperateCount
- //
- this.txtOperateCount.Location = new System.Drawing.Point(71, 33);
- this.txtOperateCount.Name = "txtOperateCount";
- this.txtOperateCount.Size = new System.Drawing.Size(79, 23);
- this.txtOperateCount.TabIndex = 376;
- this.txtOperateCount.Text = "999999";
- //
- // label12
- //
- this.label12.AutoSize = true;
- this.label12.Location = new System.Drawing.Point(13, 36);
- this.label12.Name = "label12";
- this.label12.Size = new System.Drawing.Size(56, 17);
- this.label12.TabIndex = 378;
- this.label12.Text = "处理数量";
- //
- // splitContainer2
- //
- this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
- this.splitContainer2.Location = new System.Drawing.Point(0, 0);
- this.splitContainer2.Name = "splitContainer2";
- this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
- //
- // splitContainer2.Panel1
- //
- this.splitContainer2.Panel1.Controls.Add(this.dgvShop);
- this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0);
- //
- // splitContainer2.Panel2
- //
- this.splitContainer2.Panel2.Controls.Add(this.btnFailedDetail);
- this.splitContainer2.Panel2.Controls.Add(this.statusBar);
- this.splitContainer2.Size = new System.Drawing.Size(856, 418);
- this.splitContainer2.SplitterDistance = 388;
- this.splitContainer2.TabIndex = 7;
- //
- // dgvShop
- //
- this.dgvShop.AllowUserToAddRows = false;
- this.dgvShop.AllowUserToDeleteRows = false;
- dataGridViewCellStyle4.BackColor = System.Drawing.Color.WhiteSmoke;
- this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4;
- this.dgvShop.BackgroundColor = System.Drawing.Color.White;
- this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
- this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.colSelect,
- this.colShopId,
- this.colShopName,
- this.colCanUse,
- this.colDetail,
- this.colOnSaleCount,
- this.colOffSaleCount,
- this.colOperationCount,
- this.colStatus});
- this.dgvShop.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dgvShop.Location = new System.Drawing.Point(4, 0);
- this.dgvShop.Name = "dgvShop";
- this.dgvShop.ReadOnly = true;
- dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.dgvShop.RowsDefaultCellStyle = dataGridViewCellStyle6;
- this.dgvShop.RowTemplate.Height = 23;
- this.dgvShop.Size = new System.Drawing.Size(848, 388);
- this.dgvShop.TabIndex = 6;
- this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
- //
- // colSelect
- //
- this.colSelect.FillWeight = 50F;
- this.colSelect.HeaderText = "选";
- this.colSelect.Name = "colSelect";
- this.colSelect.ReadOnly = true;
- this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.colSelect.Width = 41;
- //
- // colShopId
- //
- this.colShopId.HeaderText = "店铺Id";
- this.colShopId.Name = "colShopId";
- this.colShopId.ReadOnly = true;
- this.colShopId.Visible = false;
- this.colShopId.Width = 150;
- //
- // colShopName
- //
- this.colShopName.HeaderText = "店铺名称";
- this.colShopName.Name = "colShopName";
- this.colShopName.ReadOnly = true;
- this.colShopName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colShopName.Width = 250;
- //
- // colCanUse
- //
- this.colCanUse.HeaderText = "可用";
- this.colCanUse.Name = "colCanUse";
- this.colCanUse.ReadOnly = true;
- this.colCanUse.Width = 50;
- //
- // colDetail
- //
- this.colDetail.HeaderText = "查看详情";
- this.colDetail.Name = "colDetail";
- this.colDetail.ReadOnly = true;
- this.colDetail.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colDetail.Visible = false;
- this.colDetail.Width = 90;
- //
- // colOnSaleCount
- //
- this.colOnSaleCount.HeaderText = "出售中";
- this.colOnSaleCount.Name = "colOnSaleCount";
- this.colOnSaleCount.ReadOnly = true;
- this.colOnSaleCount.Width = 80;
- //
- // colOffSaleCount
- //
- this.colOffSaleCount.HeaderText = "仓库中";
- this.colOffSaleCount.Name = "colOffSaleCount";
- this.colOffSaleCount.ReadOnly = true;
- this.colOffSaleCount.Width = 80;
- //
- // colOperationCount
- //
- this.colOperationCount.HeaderText = "操作数量";
- this.colOperationCount.Name = "colOperationCount";
- this.colOperationCount.ReadOnly = true;
- //
- // colStatus
- //
- this.colStatus.HeaderText = "操作状态";
- this.colStatus.Name = "colStatus";
- this.colStatus.ReadOnly = true;
- this.colStatus.Width = 200;
- //
- // btnFailedDetail
- //
- this.btnFailedDetail.Anchor = System.Windows.Forms.AnchorStyles.Right;
- this.btnFailedDetail.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnFailedDetail.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnFailedDetail.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnFailedDetail.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnFailedDetail.ForeColor = System.Drawing.Color.White;
- this.btnFailedDetail.Location = new System.Drawing.Point(772, -3);
- this.btnFailedDetail.Margin = new System.Windows.Forms.Padding(2);
- this.btnFailedDetail.Name = "btnFailedDetail";
- this.btnFailedDetail.Size = new System.Drawing.Size(80, 26);
- this.btnFailedDetail.TabIndex = 377;
- this.btnFailedDetail.Text = "失败详情";
- this.btnFailedDetail.UseVisualStyleBackColor = false;
- //
- // statusBar
- //
- this.statusBar.BackColor = System.Drawing.Color.White;
- this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
- this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.statusBar.Location = new System.Drawing.Point(0, 0);
- this.statusBar.Margin = new System.Windows.Forms.Padding(0);
- this.statusBar.Name = "statusBar";
- this.statusBar.Size = new System.Drawing.Size(856, 26);
- this.statusBar.TabIndex = 2;
- //
- // StockSyncForm
- //
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
- this.BackColor = System.Drawing.Color.White;
- this.ClientSize = new System.Drawing.Size(856, 542);
- this.Controls.Add(this.splitContainer1);
- this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.Name = "StockSyncForm";
- this.Text = "StockSyncForm";
- this.Load += new System.EventHandler(this.StockSyncForm_Load);
- this.VisibleChanged += new System.EventHandler(this.StockSyncForm_VisibleChanged);
- 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.ucGroupBoxEx3.ResumeLayout(false);
- this.ucGroupBoxEx1.ResumeLayout(false);
- this.ucGroupBoxEx2.ResumeLayout(false);
- this.ucGroupBoxEx2.PerformLayout();
- this.splitContainer2.Panel1.ResumeLayout(false);
- this.splitContainer2.Panel2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
- this.splitContainer2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private System.Windows.Forms.SplitContainer splitContainer1;
- private UserComponent.UcGroupBoxEx ucGroupBoxEx3;
- private UserControls.ButtonEx btnStop;
- private UserControls.ButtonEx btnSetStock;
- private UserComponent.UcGroupBoxEx ucGroupBoxEx1;
- private UserControls.ButtonEx btnGetProductCount;
- private UserControls.ButtonEx btnRefreshShop;
- private UserComponent.UcGroupBoxEx ucGroupBoxEx2;
- private System.Windows.Forms.TextBox txtStockCount;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.TextBox txtOperateCount;
- private System.Windows.Forms.Label label12;
- private System.Windows.Forms.SplitContainer splitContainer2;
- private UserComponent.DataGridViewEx dgvShop;
- private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
- private System.Windows.Forms.DataGridViewTextBoxColumn colShopId;
- private System.Windows.Forms.DataGridViewTextBoxColumn colShopName;
- private System.Windows.Forms.DataGridViewCheckBoxColumn colCanUse;
- private System.Windows.Forms.DataGridViewLinkColumn colDetail;
- private System.Windows.Forms.DataGridViewTextBoxColumn colOnSaleCount;
- private System.Windows.Forms.DataGridViewTextBoxColumn colOffSaleCount;
- private System.Windows.Forms.DataGridViewTextBoxColumn colOperationCount;
- private System.Windows.Forms.DataGridViewTextBoxColumn colStatus;
- private UserControls.StatusBarUserControl statusBar;
- private System.Windows.Forms.TextBox txtKeywords;
- private UserControls.ButtonEx btnFailedDetail;
- }
-}
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/StockSyncForm.cs b/TEMUKJD/KJDForms/ProductForms/Old/StockSyncForm.cs
deleted file mode 100644
index eba3f09..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/StockSyncForm.cs
+++ /dev/null
@@ -1,604 +0,0 @@
-using AllBase;
-using AllBase.Helper;
-using AllBase.Model.Result;
-using TemuKJD.Extension;
-using TemuKJD.KJDForms.BaseForms;
-using NaiBa.Util.Extension;
-using Newtonsoft.Json.Linq;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-using Work.DouyinApiClass;
-
-namespace TemuKJD.KJDForms.ProductForms
-{
- public partial class StockSyncForm : BaseForm
- {
- private int operateCount = 999999;
- private int stock = 99;
- private List keyWords = null;
- private CheckBox chkSelectAll = null;
- private List lstShopId = new List();
- public string FailedMessages = "";
- CancellationTokenSource cancellationTokenSource = null;
-
- public StockSyncForm()
- {
- InitializeComponent();
- }
-
- private void StockSyncForm_Load(object sender, EventArgs e)
- {
- chkSelectAll = dgvShop.Columns["colSelect"].AddHeaderCheckBox(HorizontalAlignment.Right, 0, 0, null, null, false);
- chkSelectAll.Width = chkSelectAll.Height = 13;
- chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged;
- }
-
- private void StockSyncForm_VisibleChanged(object sender, EventArgs e)
- {
- RefreshShop();
- }
-
- private void RefreshShop()
- {
- // 更新选中的上货店铺Id
- lstShopId = lstShopId.Where(id => GlobalConfig.ShopLoginList.Any(s => s.ShopId == id && s.LoginStatus == "已授权")).ToList();
- // 获取被删除的店铺
- List dgvRowList = dgvShop.Rows.Cast().Where(row
- => !GlobalConfig.ShopLoginList.Any(s => s.ShopId == row.Cells["colShopId"]?.Value?.ToString())).ToList();
- // 更新被删除的店铺列表
- foreach (var row in dgvRowList)
- {
- dgvShop.Rows.Remove(row);
- }
- // 绑定其他店铺(含新导入的店铺)
- foreach (ShopLoginInfo shopEntity in GlobalConfig.ShopLoginList)
- {
- BindShop(shopEntity);
- }
- }
-
- private void BindShop(ShopLoginInfo shopEntity)
- {
- var row = dgvShop.Rows.Cast().FirstOrDefault(p => p.Cells.GetCellValueFromColumnName("colShopId").ParseToString() == shopEntity.ShopId);
- if (row == null)
- {
- this.dgvShop.Rows.Add(
- false,
- shopEntity.ShopId,
- shopEntity.ShopAccount,
- shopEntity.ApiAuthStatus == "授权成功" ? true : false,
- "查看详情",
- shopEntity.OnlineProductCount >= 0 ? shopEntity.OnlineProductCount.ToString() : "",
- shopEntity.OfflineProductCount >= 0 ? shopEntity.OfflineProductCount.ToString() : "",
- string.Empty,
- string.Empty
- );
- }
- else
- {
- row.Cells["colSelect"].Value = lstShopId.Contains(shopEntity.ShopId);
- row.Cells["colShopName"].Value = shopEntity.ShopAccount;
- row.Cells["colCanUse"].Value = shopEntity.ApiAuthStatus == "授权成功" ? true : false;
- row.Cells["colOnSaleCount"].Value = shopEntity.OnlineProductCount >= 0 ? shopEntity.OnlineProductCount.ToString() : "";
- row.Cells["colOffSaleCount"].Value = shopEntity.OfflineProductCount >= 0 ? shopEntity.OfflineProductCount.ToString() : "";
- }
- }
-
- private void chkSelectAll_CheckedChanged(object sender, EventArgs e)
- {
- if (!chkSelectAll.Checked)
- {
- lstShopId.Clear();
- foreach (DataGridViewRow row in dgvShop.Rows)
- {
- row.Cells["colSelect"].Value = false;
- }
- }
- else
- {
- lstShopId.Clear();
- var list = GlobalConfig.ShopLoginList.Where(s => s.ApiAuthStatus == "授权成功").Select(ss => ss.ShopId);
- lstShopId.AddRange(list);
- foreach (DataGridViewRow row in dgvShop.Rows)
- {
- if (list.Any(l => l == row.Cells["colShopId"]?.Value?.ToString()))
- row.Cells["colSelect"].Value = true;
- }
- }
- }
-
- private void btnRefreshShop_Click(object sender, EventArgs e)
- {
- RefreshShop();
- }
-
- private void btnGetProductCount_Click(object sender, EventArgs e)
- {
- if (lstShopId.Count == 0)
- {
- BaseMsgForm.ShowInfo("请选择要获取商品数量的店铺");
- return;
- }
- this.btnGetProductCount.Enabled = false;
- foreach (DataGridViewRow row in dgvShop.Rows)
- {
- if (lstShopId.Contains(row.Cells["colShopId"]?.Value))
- row.Cells["colStatus"].Value = "";
- }
- Task.Run(() =>
- {
- GetShopProduct();
-
- Invoke(new Action(() =>
- {
- btnGetProductCount.Enabled = true;
- BaseMsgForm.ShowInfo("商品数量获取完成");
- }));
- });
- }
-
- void GetShopProduct(bool isShowProgress = true)
- {
- int i = 0;
- var shopList = GlobalConfig.ShopLoginList.Where(s => s.ApiAuthStatus == "授权成功" && lstShopId.Contains(s.ShopId));
- foreach (var shop in shopList)
- {
- this.Invoke(new Action(() =>
- {
- i++;
- var total = shopList.Count();
-
- if (isShowProgress)
- {
- this.statusBar.lblTaskStatus.Text = "正在获取...";
- this.statusBar.pgbTaskProgress.Value = i;
- this.statusBar.pgbTaskProgress.Text = i + "/" + total;
- this.statusBar.pgbTaskProgress.Maximum = total;
- }
- }));
-
- GetShopProduct(shop);
- Thread.Sleep(Randomx.GetId(50, 150));
- }
- Invoke(new Action(() =>
- {
- if (isShowProgress)
- this.statusBar.lblTaskStatus.Text = "获取完成";
- }));
- }
-
- void GetShopProduct(ShopLoginInfo shop, bool isShowResult = true)
- {
- DataGridViewRow row = null;
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null)
- {
- if (isShowResult)
- row.Cells["colStatus"].Value = "正在获取店铺商品数量";
- }
- }));
-
- // 读取在售商品数量
- var resultOnline = GetShopProductListData(shop, 0, 1, 10);
- if (resultOnline.Contains("\"code\":10000"))
- {
- if (row != null)
- {
- var text = BaseRegex.GetStringJson(ref resultOnline, "total");
- shop.OnlineProductCount = text.ParseToInt();
-
- Invoke(new Action(() =>
- {
- row.Cells["colOnSaleCount"].Value = string.IsNullOrEmpty(text) ? "" : text;
- }));
- }
- }
- // 读取下架商品数量
- var resultOffline = GetShopProductListData(shop, 1, 1, 10);
- if (resultOffline.Contains("\"code\":10000"))
- {
- if (row != null)
- {
- var text = BaseRegex.GetStringJson(ref resultOffline, "total");
- shop.OfflineProductCount = text.ParseToInt();
-
- Invoke(new Action(() =>
- {
- row.Cells["colOffSaleCount"].Value = string.IsNullOrEmpty(text) ? "" : text;
- }));
- }
- }
-
- string resultShowText = "";
- if (resultOnline.Contains("\"code\":10000") && resultOffline.Contains("\"code\":10000"))
- {
- resultShowText = "商品数量获取成功";
- }
- else
- {
- resultShowText = "商品数量获取失败";
- if (!resultOnline.Contains("\"code\":10000"))
- {
- var html = BaseRegex.GetStringJson(ref resultOnline, "sub_msg");
- if (string.IsNullOrEmpty(html))
- html = resultOnline;
- resultShowText += ",获取在售商品错误:" + html;
- }
- if (!resultOffline.Contains("\"code\":10000"))
- {
- var html = BaseRegex.GetStringJson(ref resultOffline, "sub_msg");
- if (string.IsNullOrEmpty(html))
- html = resultOffline;
- resultShowText += ",获取仓库商品错误:" + html;
- }
- }
- Invoke(new Action(() =>
- {
- if (row != null)
- {
- if (isShowResult)
- row.Cells["colStatus"].Value = resultShowText;
- }
- }));
- }
-
- public string GetShopProductListData(ShopLoginInfo shop, int productStatus = 0, int page = 1, int pageSize = 50)
- {
- // 读取在售商品数量
- Dictionary dictionary = new Dictionary();
- dictionary.Add("page", page.ToString());
- dictionary.Add("size", pageSize.ToString());
- if (productStatus == 0)
- dictionary.Add("check_status", "3");
- dictionary["status"] = productStatus.ToString();
- DouyinApi douApi = new DouyinApi(shop);
- douApi.JsonData = dictionary;
- var resultOnline = douApi.GetProductList();
- return resultOnline;
- }
-
- private void btnStop_Click(object sender, EventArgs e)
- {
- if (cancellationTokenSource != null)
- cancellationTokenSource.Cancel();
- }
-
- private void btnSetStock_Click(object sender, EventArgs e)
- {
- if (lstShopId.Count == 0)
- {
- BaseMsgForm.ShowInfo("请选择要设置库存的店铺");
- return;
- }
- try
- {
- stock = txtStockCount.Text.ParseToInt();
- this.operateCount = Convert.ToInt32(txtOperateCount.Text);
- this.keyWords = txtKeywords.Text.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries).ToList();
- }
- catch (Exception ex)
- {
- BaseMsgForm.ShowInfo("请输入正确的参数");
- return;
- }
- FailedMessages = "";
- this.btnFailedDetail.Visible = false;
- this.btnSetStock.Enabled = false;
- foreach (DataGridViewRow row in dgvShop.Rows)
- {
- if (lstShopId.Contains(row.Cells["colShopId"].Value?.ToString()))
- row.Cells["colStatus"].Value = "";
- }
-
- int n = 0;
- cancellationTokenSource = new CancellationTokenSource();
- //notClearDate = DateTime.Now.Date.AddDays(0 - this.txtNotOperateDays.ParseToInt());
-
- Task.Run(() =>
- {
- foreach (var shopId in lstShopId)
- {
- this.Invoke(new Action(() =>
- {
- n++;
- var total = lstShopId.Count();
-
- this.statusBar.lblTaskStatus.Text = "正在设置库存...";
- this.statusBar.pgbTaskProgress.Value = n;
- this.statusBar.pgbTaskProgress.Text = n + "/" + total;
- this.statusBar.pgbTaskProgress.Maximum = total;
- }));
-
- var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
- if (shop == null)
- continue;
-
- DataGridViewRow row = null;
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = "正在设置库存"; }
- }));
-
- // 显示商品数
- GetShopProduct(shop, false);
-
- int totalNumBase = shop.OnlineProductCount; // 设置开始时的在售商品数
- int totalNum = shop.OnlineProductCount; // 在售商品数
- int setNum = 0; // 设置商品数量(因关键词存在因此少于或等于商品循环计数)
- int currentNum = 0; // 商品循环计数
- int page = 0;
- int pageSize = 50;
- string offSaleMessage = "";
- List productList = new List();
-
- var waitSetStockHtml = "";
-
- while ((currentNum < operateCount && currentNum < totalNumBase) || page == 0)
- {
- page += 1;
- currentNum += pageSize;
- if (cancellationTokenSource.IsCancellationRequested)
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { Invoke(new Action(() => { row.Cells["colStatus"].Value = "下架中断"; })); }
- break;
- }
-
- // 获取商品列表
- waitSetStockHtml = GetShopProductListData(shop, 0, page);
- Thread.Sleep(Randomx.GetId(500, 1000));
-
- if (waitSetStockHtml.Contains("\"code\":10000"))
- {
- totalNum = BaseRegex.GetIntJson(ref waitSetStockHtml, "total");
- shop.OfflineProductCount = totalNum;
-
- if (operateCount > totalNumBase)
- operateCount = totalNumBase;
- if (currentNum > totalNumBase)
- currentNum = totalNumBase;
-
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null)
- {
- row.Cells["colOnSaleCount"].Value = totalNumBase;
- }
- }));
- if (totalNum == 0)
- {
- offSaleMessage = "设置结束,店铺没有在售的商品";
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = offSaleMessage; }
- }));
- break;
- }
-
- try
- {
- JObject jObj = JObject.Parse(waitSetStockHtml);
- var jObjDataStr = jObj["data"]?["data"]?.ToString();
- if (!string.IsNullOrEmpty(jObjDataStr))
- {
- var addList = JsonHelper.DeserializeJsonToList(jObjDataStr);
- if (addList != null)
- productList.AddRange(addList);
- }
- offSaleMessage = "正在获取商品,第" + currentNum + "件商品,共" + operateCount + "件商品";
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = offSaleMessage; }
- }));
- }
- catch (Exception ex)
- {
- BaseMsgForm.ShowError("获取商品发生错误:" + ex.Message);
- }
- }
- else
- {
- var failMessage = BaseRegex.GetStringJson(ref waitSetStockHtml, "sub_msg");
- if (string.IsNullOrEmpty(failMessage))
- failMessage = waitSetStockHtml;
- offSaleMessage = ("设置库存失败," + failMessage).TrimEnd(',');
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = offSaleMessage; }
- }));
- }
- }
-
- // 有关键词的过滤符合关键词
- if (keyWords.Any())
- productList = productList.Where(p => keyWords.Any(key => p.name.Contains(key))).ToList();
-
- // 只操作指定天数之前修改的商品
- //productList = productList.Where(p => p.update_time < BaseClass.DateTimeToTimestampSeconds(notClearDate)).ToList();
-
- // 操作数大于满足筛选条件商品数时,操作数改为商品数
- if (operateCount > productList.Count)
- operateCount = productList.Count;
-
- for (int i = 0; i < productList.Count && i < operateCount; i++)
- {
- if (cancellationTokenSource.IsCancellationRequested)
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { Invoke(new Action(() => { row.Cells["colStatus"].Value = "设置库存中断"; })); }
- break;
- }
-
- Invoke(new Action(() =>
- {
- offSaleMessage = "正在设置库存,第 " + (i + 1) + " 件商品,共" + operateCount + "件商品";
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = offSaleMessage; }
- }));
- Thread.Sleep(50);
-
- var product = productList[i];
- setNum++;
-
- var pid = product.product_id;
- Thread.Sleep(Randomx.GetId(100, 300));
- var productDetail = GetProductDetail(shop, pid.ToString());
- if (productDetail == null || productDetail.Contains("spec_prices") == false)
- productDetail = "{\"data\":{\"spec_prices\":[]}}";
- var skus = JObject.Parse(productDetail)?["data"]?["spec_prices"];
- //var skuIds = BaseRegex.GetMatchRegex(ref productDetail, "\"sku_id\":\\d{1,20}");
- int num = 0;
- foreach (JObject jObj in skus)
- {
- num++;
-
- var skuStr = JsonHelper.SerializeObject(jObj);
- var skuId = BaseRegex.GetLongJson(ref skuStr, "sku_id");
- var old_stock = BaseRegex.GetLongJson(ref skuStr, "stock_num");
- if (old_stock == stock)
- continue;
-
- var offSaleResultCode = SetProductStock(shop, pid.ToString(), skuId.ToString(), stock.ToString());
- if (!offSaleResultCode.Contains("\"code\":10000"))
- {
- Thread.Sleep(Randomx.GetId(1000, 3000));
- offSaleResultCode = SetProductStock(shop, pid.ToString(), skuId.ToString(), stock.ToString());
- }
- Thread.Sleep(Randomx.GetId(50, 150));
- if (offSaleResultCode.Contains("\"code\":10000"))
- {
- LogSave.Add("");
- offSaleMessage = "设置库存中,第" + setNum + "件商品,共" + operateCount + "件商品";
- Thread.Sleep(Randomx.GetId(50, 150));
- }
- else
- {
- var failMessage = BaseRegex.GetStringJson(ref offSaleResultCode, "sub_msg");
- if (string.IsNullOrEmpty(failMessage))
- failMessage = BaseRegex.GetStringJson(ref offSaleResultCode, "status_reason");
- if (string.IsNullOrEmpty(failMessage))
- failMessage = offSaleResultCode;
- FailedMessages += "店铺:" + shop.ShopAccount + ",商品id:" + pid + ",skuId:" + skuId + ",错误信息:" + failMessage + "\r\n";
- offSaleMessage = ("设置库存失败," + failMessage).TrimEnd(',');
- Thread.Sleep(10000);
- }
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = offSaleMessage; }
- }));
- Thread.Sleep(Randomx.GetId(100, 200));
- if (offSaleMessage.Contains("违规") || offSaleMessage.Contains("禁售"))
- continue;
- if (offSaleMessage.Contains("失败"))
- continue;
- }
-
- if (i == operateCount - 1)
- {
- offSaleMessage = "设置库存完成";
- Invoke(new Action(() =>
- {
- row = this.dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
- if (row != null) { row.Cells["colStatus"].Value = offSaleMessage; }
- }));
- }
- // 操作过程中更新显示仓库商品数
- if (i % 50 == 49 || i == operateCount - 1)
- GetShopProduct(shop, false);
- }
- }
- Invoke(new Action(() =>
- {
- this.btnSetStock.Enabled = true;
- if (!cancellationTokenSource.IsCancellationRequested)
- {
- var text = "设置库存完成!";
- if (!string.IsNullOrEmpty(FailedMessages))
- {
- //text += "部分商品设置库存失败,请查看详情。";
- //btnFailedDetail.Visible = true;
- }
- this.statusBar.lblTaskStatus.Text = text;
- BaseMsgForm.ShowInfo(text);
- }
- else
- {
- var text = "设置库存中断!";
- if (!string.IsNullOrEmpty(FailedMessages))
- {
- //text += "部分商品设置库存失败,请查看详情。";
- //btnFailedDetail.Visible = true;
- }
- this.statusBar.lblTaskStatus.Text = text;
- BaseMsgForm.ShowInfo(text);
- }
- }));
- }, cancellationTokenSource.Token);
- }
-
- public string SetProductStock(ShopLoginInfo shop, string productId, string skuId, string stock)
- {
- Dictionary dictionary = new Dictionary();
- dictionary.Add("product_id", productId);
- dictionary.Add("sku_id", skuId);
- dictionary.Add("stock_num", stock);
- DouyinApi douApi = new DouyinApi(shop);
- douApi.JsonData = dictionary;
- var resultOnline = douApi.SetProductStock();
- return resultOnline;
- }
- public string GetProductDetail(ShopLoginInfo shop, string productId)
- {
- Dictionary dictionary = new Dictionary();
- dictionary.Add("product_id", productId);
- DouyinApi douApi = new DouyinApi(shop);
- douApi.JsonData = dictionary;
- var resultOnline = douApi.GetProductDetail();
- return resultOnline;
- }
-
- private void dgvShop_CellContentClick(object sender, DataGridViewCellEventArgs e)
- {
- if (e.ColumnIndex < 0 || e.RowIndex < 0)
- return;
- string headerText = dgvShop.Columns[e.ColumnIndex].HeaderText;
- long shopId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ParseToLong();
- string shopName = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ToString();
- var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
- switch (headerText)
- {
- case "操作":
- case "选":
- if (dgvShop.Rows[e.RowIndex].Cells["colCanuse"].Value.ParseToBool())
- {
- dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value = !dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value.ParseToBool();
- if (dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value.ParseToBool())
- lstShopId.Add(shopId.ToString());
- else
- lstShopId.Remove(shopId.ToString());
- }
- else
- {
- BaseMsgForm.ShowInfo("店铺未授权");
- }
- break;
- }
- }
- }
-}
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/StockSyncForm.resx b/TEMUKJD/KJDForms/ProductForms/Old/StockSyncForm.resx
deleted file mode 100644
index aa4078e..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/StockSyncForm.resx
+++ /dev/null
@@ -1,147 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/TbSettleSlideForm.cs b/TEMUKJD/KJDForms/ProductForms/Old/TbSettleSlideForm.cs
deleted file mode 100644
index 70e2a72..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/TbSettleSlideForm.cs
+++ /dev/null
@@ -1,159 +0,0 @@
-using AllBase;
-using TemuKJD.KJDForms.BaseForms;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-
-namespace TemuKJD.KJDForms
-{
- public partial class TbSettleSlideForm : LRBaseForm
- {
- public IeForm tbDetailForm;
- public string slideUrl = "";
- public TbSettleSlideForm()
- {
- InitializeComponent();
- TitleText = "解除滑块";
- //IsMinized = false;
- //IsMaxized = false;
- }
-
- private void panelCopyCookies_Click(object sender, EventArgs e)
- {
- string cookies = string.Empty;
- IDataObject iData = Clipboard.GetDataObject();
- if (iData.GetDataPresent(DataFormats.Text))
- {
- cookies = (string)iData.GetData(DataFormats.Text);
- }
- if (string.IsNullOrEmpty(cookies))
- {
- return;
- }
- string x5Sec = BaseRegex.GetMatchRegexString(ref cookies, "\"name\": \"x5sec\",[\\s\\S]+?\"value\": \"([\\s\\S]+?)\"");
- if (string.IsNullOrEmpty(x5Sec))
- {
- x5Sec = BaseRegex.GetMatchRegexString(ref cookies, "x5sec=([\\s\\S]+?);");
- }
- if (string.IsNullOrEmpty(x5Sec))
- {
- Thread.Sleep(2000);
- BaseClass.x5Sec = BaseRegex.GetMatchRegexString(ref IeForm.ChromeCookies, @"x5sec=([\w\W]+?);");
- }
- if (string.IsNullOrEmpty(x5Sec))
- {
- return;
- }
- if (tbDetailForm != null)
- {
- tbDetailForm.x5Sec = x5Sec;
- tbDetailForm.ExecX5secJs();
- }
- new Thread(CloseForm).Start();
- BaseClass.x5Sec = x5Sec;
- //var tbCookes = BaseClass.CookiesAll["taobao.com"];
- //foreach (KeyValuePair> co in BaseClass.CookiesAll)//同步到系统
- //{
- // if (true)
- // {
-
- // }
- // string cook = "";
- // foreach (KeyValuePair c in co.Value)
- // {
- // if (c.Key == "x5sec")
- // {
- // cook += c.Key + "=" + x5Sec + "; ";
- // }
- // else
- // {
- // cook += c.Key + "=" + c.Value + "; ";
- // }
- // }
- // if (BaseClass.CookiesAllString.ContainsKey(co.Key))
- // {
- // BaseClass.CookiesAllString[co.Key] = cook;
- // }
- // else
- // {
- // BaseClass.CookiesAllString.Add(co.Key, cook);
- // }
- //}
- new Thread(CloseForm).Start();
- //CloseForm();
- }
-
- private void TbSettleSlideForm_FormClosed(object sender, FormClosedEventArgs e)
- {
- //BaseClass.SlideIsClose = false;
- //BaseClass.SlideCookiesReplace = false;
- //BaseClass.IeUrlShow = "";
- }
-
- private void panelInstall_Click(object sender, EventArgs e)
- {
- GetHtml.OpenUrl("https://ext.chrome.360.cn/webstore/detail/fngmhnnpilhplaeedifhccceomclgfbg");
- }
-
- private void panelOpenSlideUrl_Click(object sender, EventArgs e)
- {
- if (string.IsNullOrEmpty(slideUrl))
- {
- return;
- }
- GetHtml.OpenUrl(slideUrl);
- }
-
- private void panelCopySlideUrl_Click(object sender, EventArgs e)
- {
- if (string.IsNullOrEmpty(slideUrl))
- {
- return;
- }
- Clipboard.SetDataObject(slideUrl);
- }
-
-
- public void CloseForm()
- {
- try
- {
- Thread.Sleep(1000);
- if (InvokeRequired)
- {
- Invoke(new Action(() =>
- {
- this.Close();
- }));
- }
- else
- {
- this.Close();
- }
- }
- catch (Exception)
- {
-
- //throw;
- }
-
- }
-
- private void panelEx1_Click(object sender, EventArgs e)
- {
- if (slideUrl.Contains("https://trade-acs.m.taobao.com/"))
- Clipboard.SetDataObject("https://trade-acs.m.taobao.com/");
- else if (slideUrl.Contains("https://acs.m.taobao.com"))
- Clipboard.SetDataObject("https://acs.m.taobao.com");
- else
- Clipboard.SetDataObject("https://guide-acs.m.taobao.com:443");
- }
- }
-}
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/TbSettleSlideForm.designer.cs b/TEMUKJD/KJDForms/ProductForms/Old/TbSettleSlideForm.designer.cs
deleted file mode 100644
index d2eeac0..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/TbSettleSlideForm.designer.cs
+++ /dev/null
@@ -1,298 +0,0 @@
-namespace TemuKJD.KJDForms
-{
- partial class TbSettleSlideForm
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TbSettleSlideForm));
- this.panelCopyCookies = new DevComponents.DotNetBar.PanelEx();
- this.panelInstall = new DevComponents.DotNetBar.PanelEx();
- this.label1 = new System.Windows.Forms.Label();
- this.label2 = new System.Windows.Forms.Label();
- this.label3 = new System.Windows.Forms.Label();
- this.label4 = new System.Windows.Forms.Label();
- this.panelOpenSlideUrl = new DevComponents.DotNetBar.PanelEx();
- this.panelCopySlideUrl = new DevComponents.DotNetBar.PanelEx();
- this.label5 = new System.Windows.Forms.Label();
- this.pictureBox1 = new System.Windows.Forms.PictureBox();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
- this.SuspendLayout();
- //
- // panelCopyCookies
- //
- this.panelCopyCookies.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelCopyCookies.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelCopyCookies.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panelCopyCookies.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelCopyCookies.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.panelCopyCookies.Location = new System.Drawing.Point(34, 391);
- this.panelCopyCookies.Name = "panelCopyCookies";
- this.panelCopyCookies.Size = new System.Drawing.Size(171, 29);
- this.panelCopyCookies.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelCopyCookies.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
- this.panelCopyCookies.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191)))));
- this.panelCopyCookies.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelCopyCookies.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
- this.panelCopyCookies.Style.CornerDiameter = 1;
- this.panelCopyCookies.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
- this.panelCopyCookies.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.panelCopyCookies.Style.GradientAngle = 90;
- this.panelCopyCookies.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.panelCopyCookies.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
- this.panelCopyCookies.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
- this.panelCopyCookies.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.panelCopyCookies.StyleMouseOver.BackColor2.Color = System.Drawing.Color.LightGray;
- this.panelCopyCookies.TabIndex = 575;
- this.panelCopyCookies.Text = "复制Cookie成功后点我";
- this.panelCopyCookies.Click += new System.EventHandler(this.panelCopyCookies_Click);
- //
- // panelInstall
- //
- this.panelInstall.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelInstall.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelInstall.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panelInstall.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelInstall.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.panelInstall.Location = new System.Drawing.Point(36, 70);
- this.panelInstall.Name = "panelInstall";
- this.panelInstall.Size = new System.Drawing.Size(171, 29);
- this.panelInstall.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelInstall.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
- this.panelInstall.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191)))));
- this.panelInstall.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelInstall.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
- this.panelInstall.Style.CornerDiameter = 1;
- this.panelInstall.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
- this.panelInstall.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.panelInstall.Style.GradientAngle = 90;
- this.panelInstall.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.panelInstall.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
- this.panelInstall.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
- this.panelInstall.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.panelInstall.StyleMouseOver.BackColor2.Color = System.Drawing.Color.LightGray;
- this.panelInstall.TabIndex = 582;
- this.panelInstall.Text = "点我安装(已安装,请忽略)";
- this.panelInstall.Click += new System.EventHandler(this.panelInstall_Click);
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.ForeColor = System.Drawing.Color.Red;
- this.label1.Location = new System.Drawing.Point(34, 52);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(155, 12);
- this.label1.TabIndex = 583;
- this.label1.Text = "第一步:安装360极速浏览器";
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.ForeColor = System.Drawing.Color.Red;
- this.label2.Location = new System.Drawing.Point(189, 52);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(275, 12);
- this.label2.TabIndex = 584;
- this.label2.Text = ",并安装插件EditThisCookie(其他浏览器自行安装)";
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.ForeColor = System.Drawing.Color.Red;
- this.label3.Location = new System.Drawing.Point(189, 113);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(0, 12);
- this.label3.TabIndex = 586;
- //
- // label4
- //
- this.label4.AutoSize = true;
- this.label4.ForeColor = System.Drawing.Color.Red;
- this.label4.Location = new System.Drawing.Point(34, 113);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(155, 12);
- this.label4.TabIndex = 585;
- this.label4.Text = "第二步:打开链接,处理滑块";
- //
- // panelOpenSlideUrl
- //
- this.panelOpenSlideUrl.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelOpenSlideUrl.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelOpenSlideUrl.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panelOpenSlideUrl.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelOpenSlideUrl.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.panelOpenSlideUrl.Location = new System.Drawing.Point(419, 134);
- this.panelOpenSlideUrl.Name = "panelOpenSlideUrl";
- this.panelOpenSlideUrl.Size = new System.Drawing.Size(171, 29);
- this.panelOpenSlideUrl.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelOpenSlideUrl.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
- this.panelOpenSlideUrl.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191)))));
- this.panelOpenSlideUrl.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelOpenSlideUrl.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
- this.panelOpenSlideUrl.Style.CornerDiameter = 1;
- this.panelOpenSlideUrl.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
- this.panelOpenSlideUrl.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.panelOpenSlideUrl.Style.GradientAngle = 90;
- this.panelOpenSlideUrl.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.panelOpenSlideUrl.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
- this.panelOpenSlideUrl.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
- this.panelOpenSlideUrl.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.panelOpenSlideUrl.StyleMouseOver.BackColor2.Color = System.Drawing.Color.LightGray;
- this.panelOpenSlideUrl.TabIndex = 590;
- this.panelOpenSlideUrl.Text = "默认浏览器打开滑块链接";
- this.panelOpenSlideUrl.Visible = false;
- this.panelOpenSlideUrl.Click += new System.EventHandler(this.panelOpenSlideUrl_Click);
- //
- // panelCopySlideUrl
- //
- this.panelCopySlideUrl.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelCopySlideUrl.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelCopySlideUrl.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panelCopySlideUrl.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelCopySlideUrl.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.panelCopySlideUrl.Location = new System.Drawing.Point(36, 134);
- this.panelCopySlideUrl.Name = "panelCopySlideUrl";
- this.panelCopySlideUrl.Size = new System.Drawing.Size(171, 29);
- this.panelCopySlideUrl.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelCopySlideUrl.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
- this.panelCopySlideUrl.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191)))));
- this.panelCopySlideUrl.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelCopySlideUrl.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
- this.panelCopySlideUrl.Style.CornerDiameter = 1;
- this.panelCopySlideUrl.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
- this.panelCopySlideUrl.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.panelCopySlideUrl.Style.GradientAngle = 90;
- this.panelCopySlideUrl.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.panelCopySlideUrl.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
- this.panelCopySlideUrl.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
- this.panelCopySlideUrl.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.panelCopySlideUrl.StyleMouseOver.BackColor2.Color = System.Drawing.Color.LightGray;
- this.panelCopySlideUrl.TabIndex = 594;
- this.panelCopySlideUrl.Text = "点我复制滑块链接";
- this.panelCopySlideUrl.Click += new System.EventHandler(this.panelCopySlideUrl_Click);
- //
- // label5
- //
- this.label5.AutoSize = true;
- this.label5.ForeColor = System.Drawing.Color.Red;
- this.label5.Location = new System.Drawing.Point(34, 183);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(551, 12);
- this.label5.TabIndex = 595;
- this.label5.Text = "第三步:解除滑块之后,点击点我复制原滑块链接按钮,复制网址到浏览器中,按照下面指示复制Cookie";
- //
- // pictureBox1
- //
- this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
- this.pictureBox1.Location = new System.Drawing.Point(36, 207);
- this.pictureBox1.Name = "pictureBox1";
- this.pictureBox1.Size = new System.Drawing.Size(629, 174);
- this.pictureBox1.TabIndex = 596;
- this.pictureBox1.TabStop = false;
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.Cursor = System.Windows.Forms.Cursors.Hand;
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.panelEx1.Location = new System.Drawing.Point(227, 134);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(171, 29);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
- this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191)))));
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
- this.panelEx1.Style.CornerDiameter = 1;
- this.panelEx1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
- this.panelEx1.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
- this.panelEx1.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
- this.panelEx1.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.StyleMouseOver.BackColor2.Color = System.Drawing.Color.LightGray;
- this.panelEx1.TabIndex = 612;
- this.panelEx1.Text = "点我复制原滑块链接";
- this.panelEx1.Click += new System.EventHandler(this.panelEx1_Click);
- //
- // TbSettleSlideForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
- this.BackColor = System.Drawing.Color.White;
- this.ClientSize = new System.Drawing.Size(665, 435);
- this.Controls.Add(this.panelEx1);
- this.Controls.Add(this.pictureBox1);
- this.Controls.Add(this.label5);
- this.Controls.Add(this.panelCopySlideUrl);
- this.Controls.Add(this.panelOpenSlideUrl);
- this.Controls.Add(this.label3);
- this.Controls.Add(this.label4);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.label1);
- this.Controls.Add(this.panelInstall);
- this.Controls.Add(this.panelCopyCookies);
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.Name = "TbSettleSlideForm";
- this.Text = "滑块处理";
- this.TitleText = "滑块处理";
- this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.TbSettleSlideForm_FormClosed);
- this.Controls.SetChildIndex(this.panelCopyCookies, 0);
- this.Controls.SetChildIndex(this.panelInstall, 0);
- this.Controls.SetChildIndex(this.label1, 0);
- this.Controls.SetChildIndex(this.label2, 0);
- this.Controls.SetChildIndex(this.label4, 0);
- this.Controls.SetChildIndex(this.label3, 0);
- this.Controls.SetChildIndex(this.panelOpenSlideUrl, 0);
- this.Controls.SetChildIndex(this.panelCopySlideUrl, 0);
- this.Controls.SetChildIndex(this.label5, 0);
- this.Controls.SetChildIndex(this.pictureBox1, 0);
- this.Controls.SetChildIndex(this.panelEx1, 0);
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private DevComponents.DotNetBar.PanelEx panelCopyCookies;
- private DevComponents.DotNetBar.PanelEx panelInstall;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.Label label4;
- private DevComponents.DotNetBar.PanelEx panelOpenSlideUrl;
- private DevComponents.DotNetBar.PanelEx panelCopySlideUrl;
- private System.Windows.Forms.Label label5;
- private System.Windows.Forms.PictureBox pictureBox1;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- }
-}
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/TbSettleSlideForm.resx b/TEMUKJD/KJDForms/ProductForms/Old/TbSettleSlideForm.resx
deleted file mode 100644
index 9c37666..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/TbSettleSlideForm.resx
+++ /dev/null
@@ -1,509 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
-
-
- iVBORw0KGgoAAAANSUhEUgAAAlUAAACDCAIAAAArnHn+AAAABGdBTUEAALGPC/xhBQAAMDNJREFUeF7t
- nQt0VdW573G0Z/SOM8bt6R322J62o+31nqv3qK0PKLYnFAuIKCIqKUUCBLCAQiolRYmtcMAUH6iNOZRU
- CagEJCES0PIo8UF4GCAgIREJEAgJ4ZEEECIQCGS/7jfX/NZccz332jv7xd7fb8yxM+dc8/HNx5r/Pddj
- p0crQRAEQSQq3/72t9Gnxy7ePaR/BEEQROIycOBAkDozEI8pwoX0jyAIgkhFSP8IgiCIVIT0jyAIgkhF
- SP8IgiCIVIT0jyAIgkhFSP8IgiCIVIT0jyAIgkhFSP8IgiCIVIT0jyAIgkhFegQIgiAIIvUg/SMIgiBS
- EdI/giAIIup4fv7zeDm0wATpH0EQBBF1DJoUS4cWmCD9IwiCIKKOQZNi6dACE6R/BEEQRNQJqkYRJ2iN
- PU4TROpx9uzZq1ev4kngAq/X29HRcYEgogxMM5hsOO2Si6BqJIBzs729vbW19cSJE80K4IEgRIZ02gat
- kfSPSFFAAvEkcAGJHxEzYLLhtEsugqoRAG0HqTvqCCRw2UVBayT9I1IXPAlcgCsTQcQEnHbJhbMadXV1
- tbS0oMS5ABJDFsxsg3ONAOkfkbrgSeACXJYIIibgtEsuHNSos7Pz2LFjqGyugSyQEYuwwqFGDukfkbrg
- SeACXJYIIibgtEso/P6A3xfw+TAo4QkErsLnnj2+pqZLGGeBnRqBhqGghYWDBNrVKCD9I1IXPAlcgMsS
- QcQEnHaJg0H2fF5wfq8XJLHTz65dBp555uz115/7wQ8Cq1ZdxkRGLNWoq6vLvPNrOnLwaP2uYwc/PbZ/
- U9OBqqb6Pc0NNUcbD+JhPZDd7kKoZY0ypH9E6oIngQtwWSKImIDTLkFQxM/feSlw6PNA034mfgKPJ3Dl
- QqCk5MzXv37u+98/+61vnf/hD72NjXhUj6Uame/5NR/edvqLRRf3vnBp/+sdtS99+dGUMxXTFj/9wJqC
- Kc21HzQd3ofpJKAQLE6PZY2cp59+uqqqivSPiCm7d+9GXwKAp4ILcFlyQfv5r9458o8Ru3Lv3pp1a8Xj
- Q6tmztn3TvO5FjxMJDuwFufn5z/55JNDhgyBT/BDDB5zDU47R36ycYLZQfxtBV1mx7OEA9/51W715zwS
- GHtXIPNO/6yR/pUL/NvW+8sKvL8bFHj3hUuvzz9z3XXnfvzjs9/73rnrr/fU1Cg5jZjVqKOjAxVMpbFu
- 45e7/ug99Epg/+xA7TOBmhzfZ3/wfPH8318fvf4vg8+uH3F0Q3bjF59iagnLJ0LNNQq2bt3ap08f0j8i
- dtTV1eXk5Bw8eBDD8QZPBRfgshSM7S17f74l698+HG5wN20c++ahv2MiW45tLn2HU7r5GMYh2qF31u7F
- uAsX9q7FOH0GiDYkWrt5c6mpTCNQR9A0hDM7duwYMWJEQUFBTU3NqVOn4BP8EAPxmMIdOO0cMSgfdxBv
- UD7ueJaQ8fvZ5/7PAhN+DuLnHfczT+ZdgXF3BX7bKzC+J/scdZs3+wFP3d6zP73jy+uuO/O1rwWeecbi
- DqGCWY0Mrzo0NTa0Vb3ctesPnTVPn/94jG/TGH/VFN+2J/yf/ta/Y8KVitFtS+9tXtzncMmYhi92YB4V
- KAoLlTDXKPP888+T/hGuaGxsfPHFF3NzczEcFsuWLYNC4BPD8QbPAxfgsuTIrra6/9g4jgte+s7ZL+5/
- N79+5ZN78n78cQaPXHR4LSa14tjmtag+itgZFMysTCwVxhoyCP3j+gj+Y3vXgrZtVuVSPuqMZAURDNjn
- WUodF8WQdoE47RwxKB93EG9QPu54lpAB/bt0wTdtcGDsnSB+3sdu9Y68zTuul3dsL29mT/Y5rrdn+M2+
- N/7o3b/vUv78K0VLA1ev2r29b1Cjq1evonapNO3f/FVl9vmdM54f1fPV4bdeLn/M8+mEKx+P+ur9RxZP
- vP1vj9927K1fHp//0+N/u/PA6mcbjzRgNhXzq/GGGg1cuXKF9I8IDsytefPmwTfZwsJCjAqd5ubmOXPm
- wOYPPpuamjA2ruB54AJcluz56sJXfOcHW70Pj+/EWIWDZ5oGbnsGDn3/oxE7W/dhrCPKng2lh4mbhQzJ
- SbSQrGmK4GESaW8HSSyKA6Q0RDjk5+fDOYIBPRAPRzHgApx2jhiUjzuINygfdzxLGPg/KAz8tqd3fG/v
- iFu8Lz/pmzPG89gt3rE9vWPu9GXe5Rl1u3fkrZ5H/rfvqQGB5S8HFj/rW/MW5jRhUKP29nauW5ymxsOn
- P8v3Vc84tel3Tw++ecnUuy9sGHGlYlzH+t+cLh265A+9J/X7ceOKh1oW/+LY67fWz/9lffUmzKkCBfKS
- BYYazZD+EUE4efLka6+99ve//72srAw+MTZ01qxZw3d+paWlq1ev5pHxBU8CF+CyZE9J4yd8k2cQP86x
- c613bJ4ER5/Yk4dRjoBGqVJko0pGVZTlUCicUEN+/XMv2yYqQXZUHHTEWioJK5588smamhoM6IF4OIoB
- F+C0c8SgfNxBvEH5uONZQubyRe+0B/zjYKvXs6v/N0HbvIuf7xrwLRA/cJ7Rd3hG/dS7bonvyD7PH4d7
- Bn8vMPwm31MDAx3nMbsegxq1traicCkc2/dR565nAjum+CpGn171aMuKh06XDb3wjxHtHww78e6DJ1el
- t5SP+XL9iOa3f9WU/9PDL/yffWtfw5wqUCAvWWCo0QzpH+EEiB98bwXlA/8bb7xRVVXF492wYcOGHD38
- zt/hw4cxrPLRRx/xLA4cO3YMfSZaFDAQCngSuACXJXvG7n4J5O2RqlkYNvH6wfcgwQ8/Hgk7RYyyQ9Yy
- rnPskyPt4nTaJIfBz73CY7X/g79CWCU/eFW/UWMJZ4YMGXLq1CkM6IF4OIoBF+C0c8SgfNxBvEH5uONZ
- QsW/86PAuF5s5zd7tL/qQ/+JBn/TAd+29d7pD3keu83z2K0eUEeectt6T/q/ex9ntwkDOzYocUYMaiTf
- /Gtqamqt+qu3cpL/07GXy4e3Ln/w1AfpX27IOLdm+Omyh09CcG3GxeoZF7ZO/PTltJVTbjzywo/2Ln0K
- M6uYbwEaajRD+kfYAt+nCgoKiouLeTA3N7exsZH7XQL7xVdffbW5uRnDehoaGl588UWQSQw7smTJkhUr
- VmBAAib9/Pnzw3usFE8CF+CyZM+AbdNB3l7YvwzDJipbPocE4A5/2YxRRpj0yBrH4Mqnxighk3oxZK2C
- Y2v37l0r3fAzIJegVirQFI/0LzSSb//nf3Nm4PFe7FLnk/d4fn+/79M1vrXvgOZ5J6Z5Rt2u7P9u925Y
- 5jtS55k9hsnkuJ8Fxvf0/e1PmF+PQY1gWUDhYi/8HWouf6bzo8f2vDl43Z/7nCp9qLV0SFvZw60rH2lb
- 9fCpsqFn1o88vWb4qVVDj7zdb8/c/6jL+U5t4fimxkbMrwAF8pIFhhrNkP4R1oD4FRYWwnrIg6B8uFlT
- 2Lx5M48Pip0Ewi4QxM/Nzo/Ddc4ggTzyk08+wXCI4EngAlyW7Ll7K7v5l3fwPQyb2HPqINc/8GCUHYrK
- SXswWeiYXDFNUv+qaGEUNL1wQTE6uTQh1UOyFyYxvv8XA3x/Gh7IvNObeZdn9J1dg/7VV/SSL/8PXfd/
- B2K4Y/r32C3e0bd7QPyUi6LsSZln0zG/HoMa6fSvseHw+plnyh7alX/vhj/3P7b0gaOL+5949743x93x
- dtZdbSsfannvobb3Hmwruf/EW32+mH3TF9Our3ljHOkfES1gCX3jjTdABTGssmzZssWLF2PAHVwC29ra
- MKw8CwPit3HjRgy7wyCB3RQ/AE8CF+CyZE/mx08tX3HL3PW/xrCJZTUFpe/dMmzlfefOt2OUA0LOjPqn
- ipOF/rFk8Idt/bS8FhiEkKfSR7LSjRJKBKMlts9/BtZcb+ECga4J/cyO5wgV76Rf+sbc4R19Bwre+N7e
- 8T9jj32K5z/HsluDvsy7fMoTMWynOOYOz8Q0zK/HoEZw/qJwKdRveuPY0v4n3x14/N0Hjr97/7El951Y
- PujPQ//9heE3nVwx+GTJg20rHmhZfu+bY25Z+Ot/Ozj9X3bnPXKk4TBmVoACeckCQ41mSP8ICyorK2fP
- nj1TAXZ7QvBAyeBrrFkUnWlqapozZ47ww+fJkyehZFkRXSIksPviB+BJ4AJclux5f9OkK/+4oWPDDy6e
- sn7C88uNv4AEm9bcjmFnNHkz7MbEAS0FQxeCgOyXpM1KTZ0wSCURDC51sNurkd7/GzJkSHFxMaZwB047
- ZwzKx11k9W9sT9j5MeUbw7SNucy78M0/9ZNJIGghJoCdIohlT8yvx6BGsIygcCk0fL75yLtDThbfc3Ll
- oNb3Bp1YOuB40YDGJfe2vj+0bfXQk8UPgDQ2L+m386Xbdz/9r3sm/NPOvz4OiwlmVoACeckCQ42cixcv
- Tps27TYF0j8iCBs2bCgtLQXP5s2bYdMG84zHu2f37t0LFiwAD8gnqOmaNWvAn5eX9/nnnyvHQ4MrX25u
- bjfFD8ATwgW4LDnQ3nr54/8HCnfl0/4XzzZipMrl2mx26B83nG0oxSgj7H6dKjZMzURI1iz5gOQ3yJqs
- fwBLCGFF66RUKnAYY1UfZiDCAvZ58B3xSen3X+DESU9PN+8LHcBp54xB+biLqP75JvzCp8qeB1RtLBM/
- /ytT/B+Xst9/gc9XpjAhzLzTM7Zn1z29Pf16e+/v5Xn4P33V1X7Tb5IZ1Mj4/kNT4/4PXztSeNeJpb1a
- in9xcsl/tq741cmSAW2lA44v7de2YmBbSb+Tb/U6+vL39z/9ja2jv7Fj5QLMqeLy/YeZM2c+/fTTXQqk
- f0QQysrKQAKrq6tBcsL76RbIvmzZssLCQlDBuro6+AT/0qVLXT75YgYk0OFxUPfgCeECXJYc6ThSfHXD
- d5nOfXLrpbqXO05uudi661JDESgiF7/L1VMunD8LMRdbqjCPDJMdxCBT2jZNd0DavenkCgqSwyKZUfz4
- AS0W9Q+6Vs1jzEGECYhfSBKI084Zg/JxF1n9A3kbdxfs8JjyPd4zMP3BwOb38ZgAYiD+8Z6e+34m9EZz
- kyd7ZszwLlrk27y56+67eSTPZ37//eD+L3avnrPvLzftnfPdPbN+uGTS/z0w/7aWwtuPLbzjzfE3vfjw
- 94+8fMO+af+0bcR1G3Puqd1dhdlUXL7/3qtXL/G/r0n/iCAsXrwY9m0gfiCBGBUiIHWw7YNNJL/gCZ8r
- V66EmLfffpsniBf8HHADLkvBuHRk6dXyH3C1M7jLNb/n4seCG2/DDJFG0i0hp0LEJL0s3Vyl3z6q0Tq9
- o41gBAlJAnHaOWNQPu4iqn+Bw5/7J/WBLaD/j7/2r30ncPErjPd62K9gwyfn4ldw1DvuAaE3Do6p4OTJ
- TBHXrTv14YfN+7Tfs25qatq3d0/hc7997p5/2Tfjf+zO/ufDL3zraN71za/8r8W//uZffvXPn026bsfo
- r33y1M8q15bU19djNgXzzT9AVIphhT59+kBF3E/6RwQhPz9/5syZ7h/4NAO7vU2bNmFAZdu2bfyiaBzh
- 54AbcFlywcXTdZd3P3Hl45u57F3d8J3Oql93NOOPf8LOD8Tv8p4sHiRSChA/lzcCcdo5Y1A+7iKrf4GA
- v605cPSA9j8f5H/+wFFj/MePCb1x704tWYIKpgDKVFNdvWF5Qd38gQemf/3AM9fVZV9X/dsedb/rcfD3
- PWonfXPHvHHbN26oq6sz3Pxz//vXCxcufPTRR/cokP4RQZg9ezbs/zCQXOAJ4QJclkLh4pkDF88chD0f
- hgnCNTjtnDEoH3eR1T/++9cc0Dk5KOE/edJbUtw1erTQGzeua8AA35YtLab/fwQcPnz4i+ode9+bW734
- D9vfyN5WkL2zMLvmrezqVX/bu2f3oUOHDOIHhaApekRdGFZZtWrVRAXSPyJ1wbPBBbgsEURMwGmXCPis
- /+c74D9/3rdunWfGDCEz7h2In7++Hgrpsvr/txwQOZC6/QoHDx6sr69vaGgwKB9A//+WIMIBTwIX4LJE
- EDEBp12i4tu82ZObK9QlVNc1ZgxoJ5YVCHR2dqKUhQVkx4JMiBoxbIL0j0hd8CRwAS5LBBETcNolGLBj
- 8+bldd17r9CVMFzX3XfL4scBDbPbBToAWRzEDxCVYtgE6R+RuuBJ4AJclggiJuC0Swz8LS3eFSu6HnlE
- yEnYjr8CgeXq6erqsrwXaAcktrvsKRD1YtgE6R+Rooh3gNzQ0dGBKxNBRBnLRxljD97emzxZqEg3neH9
- P0ug7Sf0v4tmBhK47CJRNYZNkP4RqQiIn/ltWQe8Xm/ySaBYHRLfocUpAEwzmGw47eIEu70X1lMtdo4/
- 6imCWI09cG62t7e3traC1DUrgAeCEBnSaRu0xh741xGfz9fY2PjZZ5/tIAgiWRCrQ+I7tJiIJrUrV7Y8
- 9VRnv36GznfpzmZknHjmmQMLF1avX3/xAe1d+M5f/QpKhvJFDK8ugoA2gUKBTqFiqYgaMWzClf4dOXIE
- vi+nCEVFRehLAaixyYqbxorVIfEdWmxF6gxrlFp6bv/+i/PnXxk61NDnQd3V/v0vT5t24a232isqsCyV
- jlmzeJrOjIyzR4/ySJGRB505HzpN6q+6CESNGDYRXP/8fn9VVRUalQLQKpmsUGMNiNUBw4mHGwtTZ1gj
- 3NKjRy+UlnaOHCk62Y3rfOyxjhdegIygmliOFZAAEoM6CvEDRCEYdgQ1LRRAp0CtULcURI0YNhFc/2BT
- uWXLFjQqBaBVMlmhxhoQqwOGEw83FqbOsEaqpSBOl6ZNE33r7Pgm7+J//7d5k+fAubq6jueew4CKoeRY
- OhQzE8H1z+PxbNy4EVuQAtAqmaxQYw2I1QHDiYcbC1NnWLvZ0vZNm0CTrg4YIHrVzrFN3nPPBd3khYqh
- llg6FDMTwfWvq6vr448/xhakALRKJivUWANidcBw4uHGwtQZ1vBaChrW8eKLzrf3YJPXOWECbvKkK5aR
- xVBpLB2KmYng+nf16tWPPvoIW5AC0CqZrFBjDYjVAcOJhxsLU2dYQ2vp0aMX3n7b4fae2OS179qFWRIJ
- vKcXCqBTIb0dASSw/p1uqFiYM3FURgZ3T+QUbmrAQ9EkbqfTibqdq4ry8nOzR03MeSmvsKSitqEND0WN
- uDX2dN2a3InKyE7MXVkb9XYqpM5CCbhprFgKMZx4uLEwPsPaWFtRUpj3Us7EJ3Lm5RcWf1LbzN4pjS6u
- Wqo81WJ3e49v8s6vXdvNTV5zbXlR/rycJ7Jz84vKqqKyLKOmhUJS6V/zquzefQeh+IEbOSit99iifXg0
- esTqdKotTO+fvbKOeU/UFueO7d/bTNqgqQUV0RT9uEnC1nnYRMa8SoyNLnFrrJ62xuZmzUVL+t00ViyL
- GA6b021Si5qbT2B093FjYayHtXln8eyMNJy6En0zZpXsjKoKOrf0q7Vrzbf3rgwdyjZ5b70VsU3e6eaK
- fH3zB+asicIahZpmYtmyZegzkUT6d3pnwUO9h/51JwYZdUWZhpioEKvTqVJRgLSs/ILsgco0sqNvRt7W
- eK6SUSGl9K++LDs9uwyfJODjrpE2Mq+imR+KJG4aK1ZJDIdFQ/m8jL7YFuQVHM/m9bPSnyjc2Q05dGNh
- TId1/5pZ6dhKS/pPL6uLmgRathSEzXB7L1KbPEt2viG1v29GzsKKBpv2dsyfD8ZcWLECwwo8EgOOoKbp
- AfHjYFii4733oORrWv8qC3W7vd7909Wg4tJBJ+Qd4cKoLJuxOp2M62DvgWNziypq65Vv0PW1FSXzJmq6
- mF4QnUv0cZOElNI/3ti+WcWKBLY1S1ulfeW56b3TZqyJuAK6aSxfLl2uR9bUF2f1ThubX1EnWgRO/bbW
- UJIF7U4bXxC2BLqxMHbDeqJynlj8B06cV1KJrd5XWfzKRHH9Jv2Vyih9XbVs6YXSUhA/u/fQI0zzmhxs
- Ze/eo/IqHWdt14MPdk6digGVq2PGXJ4zBwOOoKxJoPSpQAxUcXnBAn40CfSvoXxhXu7Uob0fysrNz8uz
- c3OzhvbuPfbZvLy1ysXDSBOr00mvfxOsviafbiifq55w6QU7o/C9Ms6SgKSG/gGqBOrYBEezyiJ9BclN
- Y92oizMNK0Hh5lXYzEyuf0DYEujGwpgNq9j6WDanrbooC/fBQwui83shcZvAAvm0zSp2mLN8n2dwoHyG
- GHBmjeRwVROg6Okx65/B+RYtQhmzIeGuf7JzxrFnla+cvedtxVDEidUkM+z/0rJKrOT8dF3xVLzYnr0q
- 8pfJ4i8JjJTRP2CguBCqwo5mFddjKFK4aaxYJjAcOorC2Q6f0D8gPAl0Y2GMhrWtIpfLW9+cNY0YZ6Ct
- PBfP1Shs6IG4TWCV5g+07Z9hlW7eVVa2FRv9lfJT1yBsIHggUTwS4Js/roIYZQ9XNWeSbP/H0PTvBN5I
- Z9eLlAsKbY3NbfBNMzn1D0ibt8nqwklt0Vh+PE5XySJBQ9l0q+d7rEnLWhnp3ZBCrBpbW+h4i8gogUmj
- fw1l2YYbgXrCkEA3FsZoWLflcW1zfAShtmiUkqh3bnkUroHGagLbs6tgKG8fo//EV8p2wpKkPhCU8wGu
- T6B8Ylcn/CCKQgvd3AXkquZMMutf5Sv8RnoDyF1WCYtg6wR4kkT/zjbsqqj4RHaVddargzipbC80hU2s
- GmsWe0fUBygiSwI1VpbApNE/5cR0JlQJdGNhbIZV7GWdlY2tWozIDygQs6XJmtN1dftqizJ5A1X69u+P
- 2+LcCqlj+BYwqMPUVnBVs+RKbq6hHAfnnT4dlcwK0j8jcZ5kVlS8pMywOK2SkYD0z8TAWeX863Iq6R+Q
- NjWEe51uLIzNsAr9c155klb/+I2YrOK6fcXqbU6Z9Hlbg2x4DU++XFixQgwrHBIDHdTBng9l0AToFO3/
- uks8J5k1zWtm8EkWn6ckIgF7m8U9afnJr39pU4vxQfnU0r+0jPwQHo90Y2GMhpU9psTIeKcWYyxgi5VC
- TjRuAMZtaZKeQkifW15XW5abqd3OSBs5q3iXRWvF2Dk4TGoFapprLi9Y0DFwIOlfd4nbJLNDeRWS0Tcv
- 4rIQu8a2Sc/Hg1ufqzSJk1suH+J3eaNArBobXP808QNSSP9CEz/AjYUxGtbGsmzeCIcnscWt+syiaDyb
- Hp+lSRI/TtrI3DX72/A1HvGyix55e8dx2P9ZgrIWDNgOdrz3HnjM+ucdN863di0GbCD9MxKfSWaPeKgs
- ba58gT0yxK2xbNEXqAtolIlVYxvUn3ZTXbru2R+d+AFJo39tOwunSa0GN1heN0MWP8CNhbEaVu3pTus3
- /KS3A6PxqDYQh7PVJH4wjlnvBP/BQpA6EDwMKBj0Lyhc3rY4cum++06PH1+zZIlZ/0D8wPlranjQDtI/
- IzGfZG2Vf801PhMv0E6qqLxUFIczipPM+mdCaqxR/ICk0T8TylFOOOIHuLEwdsO6X7v1lf5cUeV+rUHN
- VcXa78IMyqu8ti9gqIQrfkDn1Kli7BycQSNlnPUPNA+yn5g6lQdl/QPNg0MgfihgjiSw/i3kv/DSsGZ2
- xqwPWEThqIzc9c3JpX9tlfzH9PpmFZmvoe8rEydVNH4iBEgESUgd/bMQP1g6V2VH43F5N40VyxCGQ0d5
- IWxWuc0jnUL/wv5JFDcWxnJYG9jP9UgMTM8Ypd/dK6TPLbf7VbDuENMJ3A3xMyCeBTXs/8x7RBln/YPS
- GmfOxICifwDolGfsWDgU9LV3QeLqny3JpH/6SdY/M2deUVnFJxXlJYW5U9kvwCHp8ypDfHHKJXGXBIWU
- 0D9V/NrqtmovvZQXzcro2zs9rL2RM24ay1clcBgOg7bKvHT2BETReq1RlfuwNVz/uvN7YG4sjPGwNm8r
- lH6YUEf/zLHip1CjIYGxaymuS+nZL80aiy0KU/z4RhAk0Hz9U7waaAmXNNS3YEBKPk+6srNRt9yRkPo3
- qrDWYerUFmX0Hhql38MEYr1Knqgtcnw3PG18gfPv7HWHuElC45pZ6iLSf3rEH2u1Jm6NPbGzeGG5uvOr
- zJMfHx+Ynv1X218Q7g5uGsuXDHAYDo+GigL5uxrMWPH47v7ywpKd3ZF2NxbGYVhPN9euL8x5ImMQH8qB
- 6ROfzSveymZx29a86ElgzFpa+Yoynmwdbi6bDr5wxI8rn9A8oX9dDz4ohhV0kR8140b/TkhXWS8vWAA6
- BWqFuuWOhNM/7RkqB6LzY5icuKySDZ8U5kiPFHPSBmfNWxXP/6iSZFBjDYi1A8OJhxsLE21YdRLYjb2v
- mZi1FPUPCVn8QOpgyDrmz8ewgnn/54yD/jXOnMlnxaX77uMxPHFS6B9Qv1NcS7Fydr+TEhnieDq1NTfU
- 4sWxnXU2DxZHFpKEZMVNY/ki0nX33e2bNoG7OH8+uI7nnuucOLFz5MhL2dmYLn5wC8Fh2IoEHFZJAiN5
- bT92LdXuy4R52bP7cEnj8hYUnjhZ9C+u0CqZrKRyY9t37QKFu1BaykWOKdzEiaB8QmAM7mr//tH473Gh
- IuzBsBWJOaxtVYXZozJy3o2keMS0pacbKoryClfFR/wALmmob8HgiUn/IgBJQrKSso2FnZwQEpcOxBIz
- xxVhD4atSJ1hTakJzCUN9S0YPDHpXwQgSUhWUrexR4/Cfk5oSVDX8fLLmDHeCJMwbEXqDGtKTWAuaahv
- weCJSf8iAElCspLKjf1q3TqhJc7uytChiXDlkyOswrAVqTOsKTWBuaShvgWDJ46i/g0jCOLaZPTDD1fe
- c4/QEmf33IMPYrYEQFiFYSJl4JKG+hYMnji6+78ZBEFca/xt0qRTrsXvH7/5DWZLDIRhGCZSg4Tb/4FN
- GCYI4hrBm58vJCSo6xozBrMlDMI2DBOpAcgNlzTUt2DwxKR/BEEw/PX1XZmZQj/cOMiCmRMGYRuGidSA
- 9I8giDDxKv9cLSTnXbwYMycSwjwME6kB6R9BECHjP3/eM3mykA2XzuFF+ARx2DwiNYid/p1sO+3sjh4/
- UVK6kvSPIBIc35YtXffea1COoA7Ej/SPSCjC0z/QKVArg345O9r/EcQ1D9v2/fnPBs2wdF1jxviqqz1T
- pmgxCS9+4LCdRGoQu/0f/rWH9I8gEhnQs65HHjEIhtlBGt+6dSILxk+ZwmMIInEg/SMIIjjeRYuEwtm5
- rgEDvCUlmEEFlA/iYeOIYYJIGK4V/ds+t0ePHsOXt2IwBrQuH95jWDGvkNU+d0egtXgYWAEeEyyxRlh2
- 2hceI+JugEuYndjD6hgdX85Mz92uHNfBG6UybPlxKT6m06m7bM/V2R8beO8Vrgz+hgNTvkWLLEUOtoC+
- LVsw0B12sDVAPSUtkVYJ+ykRaeyWJr4mzLW0QBrN0Fc21g9SsUpL7bpFm/+6rsAF7ZrCqT/DJhn0b3uu
- bl2LzLiyWaUWq044PpmsylfM697JZl94aITdA5EyIMpI30vEGNkvdspCYz5npELcAOVHaCWV52pIxEv/
- fvfd717oF+xRl9zciG7vts+1PNNTWP/kacPyqu3i5ywry7JblB5jZ7TSG1oag4LGkLBXJ+f+DJtrXv/k
- dSGSK7g0RVixStW25Qc/M2NEd3ogkr0XRdhMQCPFGNkudnbTRiokKJFbSbujYbHXP5C0S+m/NEqdwYHy
- tbRghshgrwfBzzL7vFHErlKX+hccfWLtq5sS32PYcDY9LbtFScANUIxRjRQLWozp3gpD+jd8GOs/hk7w
- OMNyn0UfwFYrnmXuXNZrgDTb+IrGEfNAf3bJU4RNI2X549XxCccwfQtTkEZIKRPRJ56bqx4yxBsmB1q1
- XE09bPkOYbxpKpirszIA4GeOgtYtaECxWr50hsgNlM40pYc5tqeTdRorA3B+Lxd15W4XybRK2dhJo8/L
- 5AOqTQ+1Z+SBlvtWFBK8eyX71WKdes80rAJzH4bUq0qlw5YXm8vn/cbR7NG13WQMgAaL4YbWidkyfPmX
- wd5wqL3llr6/X8oKkiuyngaahbx/RGO1nsSM5raIGGy7fV4Wx1LIUwIarnhELmy19v2Jo/Ub7+e5uSyZ
- ksu6e8XY4eQRNogyc5crGeU5oxWLo8lKk2yWG6UaaZokLD0/BImZB+cw1i+hWK4rWTLGakpEF623ldrR
- 7GArm01/RoprSv9sZwzOS93k1mXhk5j3nTQt5Kmjm0YsjerXJhzORWXqyHVJNki2SSeenFguRK5Ub7wK
- H37JWmwF95smsa4QGwPseszOMO435ZVHQe5eGWNv8MJtDOCF6PyKAdwvpZcqRQt54dwAqSK5FcZK5S51
- 7l65QFvj7XtPQs7L07jvVSUNlinXq8TzNNa9rS9TQzYY/Uqa1rcefvVHPzKonezY453l89TyFSOlDjS3
- WrJWHlZTq62sDT+v1gNyN1pbK/Whrp/VoFP3yl2nS8OnkFOxphHXpoRss5yYp8F4xKbbdSWbauSTJ8ZI
- o6n2j7mvuN88oHKayHFt7f/4WNpODl3/6offfCJpU8oCaYqwuW5Vvs20001WAIeNwTPaGamPV5Fng7yo
- 6RY4DYtCjAYoNWoZtaCdYRx+VEFpnVKsVpEhyFEiTV1kZwAfF+w6uRuNfszLMmKNut4wWo5IxmiF8M7h
- frvuNReOfkALOvcexzg3QulVXV7j6IspLc8lrSJDkMOrxtFRO4f9mOcD/QyCJ9yZO+/MHDyTZdAMCHo2
- 6c5WaRR0XaS0jqfR4n2LXodKx93whJy35PcsMmheuYu0oVEitTnQY1jtX9hDrb78JzCBGq9vi2X3Wo21
- 1jpA13BDsVLQmJ2hjSxDzsuqVhuO6CqVMfewUgjrBEMDY4Su33hjeUvl+Sz77fszUqSK/um6UswzBTW9
- hDxFWGKsyzx+5mmnpBHzjCUBv5xRb6TWFn28ilyL3SyR0BViaYAxo9ZLdoap3cX8oreN1lr1hnWLbA2w
- HVbJz9JIvYEJ9GXqx12gpFHySoW46V47P8NF70nIjQq1V3V5pXqVeG6SIVIkth4IXaRS0fKpTFosnfJ4
- 5+tao+R+wIYgxuE2DIfWIiVeBzdYS+8ZMujAzTcb8tYPHeV7aVrQvPqRUuJztytNxm7BfuvR44Obb975
- k5+Ah/fz3mn/09D2N2+80bF7tXiHOWAYESko2YxZVNSGy3mZX5t+CtIk0aOUpitEMYalN87M2GCecs6n
- nkN/RooU3P9pKHlZtKFPlcRS+ZaF2Ew7YY+c2M4vG6mPV3ExS2RcVKrUqGXUgnaGyT2s+RXDNGsNQY51
- F9kZYDusml9ptdQideB0vaFZrkMYIxXiqnvNhaMf0IJ2vSdj3SjZb9+rcnrJJLkiza8YoyY2BTmywf71
- fwINMKz73J3p1WvTbP5ig1SXrk8QxULAcDbply2tw627SMSft3rdEKTIEAPOO306ZPO5eD0R3H/dNxVq
- dEh8aNIN8PnhhzXcGPCPG/ycYqShe63GWp5O9vNZH7TqB969alGGxGr5KrpKdSgZuQGKMUotLNKi22OB
- rt9ks+1ON/v+jBTXvP7pzm2lv3TzEoNyFlNR3C/1NZsieG6zBGJu2YyfqXAlL0+sJJAtwXhzpXLh2oyX
- Z4DdLDHNGLkiswHS6aSr1M4wJb2Shldkcd7qRkQqX06j9YyNAXaFSH5mlZSANxmQe0Cq1NSlSl6pEFfd
- K1nOAtbG2/aeKY3cqFB7Fc2QylTSK2l0Bth0iOwXhXhXrOjq10cIgOwujO/3o298w9woqXyTwSYDJGt5
- i+R5Zd3qPg+9ArWDsHVM6H+sZ0+RF0S6fMJ/+V56CY5a5ZX8uh5A4wGlKIYv/wkoTVgy7ob7LwweAn6+
- /+P6BxvN42xr6NS9unjZAKxRHj4cen1QyyJ1FGbnfiVeSczq1QpB5HEB5IaLQpRIJQ3rRi1xjJEapTNb
- tln2u+xPXQ/I8yE417z+YX8BrMuUZABLiVmW84VDN2/UZAy1HK0T5SnCUopzxjxBdZ3O0bqe28kYljtX
- nX9qIeK5OxxpXeHa6LqZJeYZAzAzrA1gibBPAK1b0ACLJxi11vGjaodYttpwqjuk4YiUumGVCxF+ZiEW
- Io+R/TljVZFUiLvu1QqR7eEI410NKxaLR8PpVf4AIfOJtitNUJg7l6UxnReAagwWrhQLhn3ra1/bN0H7
- 1+ey2zZyqr+lBY03TwlzhyP62jGBmIf2z3CKjIphH9x8MzjeIWeGMj9k+vDVbNBCnpdv4DCrllcaev0I
- qkZqtQDe4YPYtU2F9kFDoEyIlPUPPPzWoIK+e9VuNz7/qQ2xxfOfYrZIQclmdbZwjNMbmDjJ0ASGbiEy
- NlwrUBosdabFHnWqQHvdnXqu+lPXA7r+DMq1on9hEFpHxAxcU+I2BYmocM0Nq+3/cJg82VddjYkijrJU
- ueklf02N0TArh6nDglcBHthQ8ouoIhI+IUZEEskK6V+sIf1LSq6hYfWfP+/NzxcSIhx7sSEiP1Smh2/y
- +NdzpZe0bVBIeMeNA6HCAIjW2rVgMwZCBIqSGy47fnFVqC9mIJIU0r9YQ/qXlFwrw8recDD9mKf8Hxui
- gHrVS8F9FxmMtHSYNHKI/R/4Yf/nGcJuCiYl0sVniSFZg9GnY3h/9Ohg12PNDM4agj4d2rXoBCKJ9Y8g
- CB3m/+Hg8LvV8cW8vYvg/s8BWf8A0D+5UiLJIP0jiOTH39LimTyZa55wial8HHZPbtw4DCgY9K+bsL2d
- vjfAgaYa9M9sBpFMkP4RRJLjW7fO+KhL5H+3OsJY6pPZhS1O5sdboDQL/Vu0iPQviSH9I4ikBbZ3nhn6
- NxwmT05w5TPDNQmcYf/Xnc2ZS/2L7KaTSDRI/wgiOfFVV+u2fVF9sSFq8I0gCJJZioSGQbzWzGCOF+Ks
- f7xS5qHNX1JD+kcQyYbhDYcoP94ZLbgICc0T+ucZMkQ0TWzUQkUonOzM+z8iuUk4/Tt79izYRBBEeORN
- nnxU3fZdSEsryczEA9cO3P4PR4zAsAJE7nj0UQx0my8GDwaHAQWocUVmZsGkSeCBT4wlkhqQGy5pqG/B
- 4ImjqH9fEAQRLsdfx//hcKVfv5YXXti3YwceIAjCCi5pqG/B4Imjq3/nCIIIkfYDBzonTuTid+nll881
- N+MBgiBsSFz9a29v5x6A/Bzyc8jPEf7z69dfHTCAKd/MmSCEYZcDkJ9Dfk5y+2n/RxDXPBdKS2Hz99Vn
- n2GYIAgXJKL+hafkHPJzyM8hP4f8HPJzyM+h/R9BEASRiiSu/nVH1cnPIT+H/Bzyc8jPIT/t/wiCIIhU
- JBH1Lzwl55CfQ34O+Tnk55CfQ34O7f/ccXh1zozVhzCQ+BxaPWN4wTYMEARBEGYSV/+6o+o2/u0Fwwu2
- oz/EvEz/3hf6F1reOPhR/8LKi5CfQ34O+Tnk5ySHPxn2fzfeeOOhQ272Zjr9Cw3a/xEEQSQXiah/oSo5
- 6J+QQIf02xcMF+SUQWImEgJ5t6SlXMDkksUr+rfaHL+tAGMAVSCVckBrEaFDonwAy8Qk3B7GDqkKTK9U
- /b4aDykPr1LziTQKkv/Q+5L+mdLoGs7bgvUuWK0eyll9mKffIbUQEPGW9ZIfIT+H/BzycxLNnyT7P06w
- XaD9/o9JER5i4qdIgs6vaJWqKNa7K0isyhgTPzWB7JfRp1FqcVG1IquYxmGT53BIKUEUCIWLqhlM3g6V
- Kfpq3u8qlkBWNJEgCOJaJnH1z72So/opyPEcyQ9Lv939v8OrZ/CdDaTBLQ6g7H6ULLD0S/f/2A5MFSqt
- HNgLLtiBnhmrD5vjFXh6pjFyGqxL3l2hte0N74tLr5KdLA2IFpcxfVvAj/pnileMYdpmvJeJ+ifsZ4i+
- QslUsetD8jPIzyE/h/ycxPSn9v4PF3qOhf5pWZj+afshpl7SJkyDRyr6p5nC9E9XLSCVIHBTNVSnpRH6
- Z8J2/2e3t1P1T7WfodbO/KJz1HiCIIhrnETUv1CVXBY/x/SoKBjPVvmCHZiG6cr7DTwNW+sxDVv9lTSq
- CPF4rl7KbgyvebJ4VefaJf2DeCF1WKYC20FKaZS/rGrFBgWlalQgbaco7GQo+qeVKZVvf/+Pa5vUFo56
- /0+1n8Fqx3uNmJ7fC5T6UIH8HPJzyM8hPyeR/Umy/7Pf+bEti3pbTrd50u3SmNjgIbYTUndmml/VP/Rj
- Yt02S8rIKlXjJT/LaOWHNErG4FXrmwBpRO16dIbpYfYwERNmiKoBXqOkf+jnBsjxBEEQ1ziJq3/dUXXJ
- L+uf2NmwGEiDiz4wo6BAf18NEfftFLkSaLsuKb5ggXyfD2UGAKVBe1DzLPJyeyBOqhpVJsL3/xhsd6ih
- 2Kzqn8X9P8mkAuWApn825ZMfIT+H/BzycxLHnwz7P8KEw/6PIAiCYCSi/oWn5BzyKzi//4eQn0N+Dvk5
- 5Oekgp/2fwRBEEQqkrj61x1VJz+H/Bzyc8jPIT+H/LT/IwiCIFKRRNS/8JScQ34O+Tnk55CfQ34O+Tm0
- /yMIgiBSkcTVv+6oOvk55OeQn0N+Dvk55I+R/gUC/x/cyUAXywOiugAAAABJRU5ErkJggg==
-
-
-
-
- AAABAAEAgIAQXAAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//
- AAD///8AAAAAAAAAAAAAAAAABEZmbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZkQAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAZszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
- zMxmAAAAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
- zMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
- zMzMzMzMzMzMzMzMxkAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
- zMzMzMzMzMzMzMzMzMzMzMzGQAAAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMd3d3d3d3d3
- d3d3fMzMzMzMzMzMzMzMzMzMzMzMzMYAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMd3d3iIiIiI
- iIiIiIiIiIh3d3d8zMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAABszMzMzMzMzMzMzMzMzMx3eIiIiI
- iIiIiIiIiIiIiIiIiIiIiHd8zMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAAGzMzMzMzMzMzMzMzMzMd4iI
- iIiIiIiIiIiIiIiIiIiIiIiIiIiIiHfMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAbMzMzMzMzMzMzMzMzH
- eIiIiIiIiIiHZmZmZmZmZmZmZ3eIiIiIiIiIiHzMzMzMzMzMzMzMzMxgAAAAAAAAAABszMzMzMzMzMzM
- zMzHiIiIiIiHZmZmZmZmZmZmZmZmZmZmZmZmeIiIiIiIfMzMzMzMzMzMzMzMxgAAAAAAAAAGzMzMzMzM
- zMzMzMzHiIiIiIdmZmZmZgAAAAAAAAAAAAZmZmZmZmZmeIiIiIh8zMzMzMzMzMzMzMxgAAAAAAAATMzM
- zMzMzMzMzMzHiIiIiHZmZgAAAAAAAAAAAAEAAAAAAAAAAGZmZmZniIiIiHzMzMzMzMzMzMzMxAAAAAAA
- AGzMzMzMzMzMzMzMeIiIiGZmAAAAAAERERmZmZmZmZmZkRERERAAAGZmZmZ4iIiIfMzMzMzMzMzMzMYA
- AAAAAAbMzMzMzMzMzMzMeIiIiGZgAAAAERmZmZmZmZmZmZmZmZmZmZmZkREAAGZmZniIiIfMzMzMzMzM
- zMzMYAAAAABMzMzMzMzMzMzMzIiIiHYAAAARGZmZiIiIj///////+IiIiIeZmZmZkREAZmZmiIiIfMzM
- zMzMzMzMzMQAAAAAbMzMzMzMzMzMzO6IiIYAAAARmYiI/////////////////////4iHmZmZEQBmZmeI
- iIh8zMzMzMzMzMzGAAAABMzMzMzMzMzMzMeIiIdgAAAZmI////////////////////////////iJmZmR
- EGZmZ4iIh8zMzMzMzMzMzEAAAAbMzMzMzMzMzMzoiIhwAAAZeP//////////////////////////////
- /4iZmZEAZmZ4iIh8zMzMzMzMzMxgAABMzMzMzMzMzMzOiIiGAAABiP//////////////////////////
- ////////+JmZkQZmZ4iIh8zMzMzMzMzMxAAAbMzMzMzMzMzM7oiIYAABeP//////////////////////
- ///////////////4mZkQZmZ4iIjMzMzMzMzMzMYAAMzMzMzMzMzMzu6IhwAAGP//////////////////
- /////////////////////4iZmRZmZ4iIfMzMzMzMzMzMAAbMzMzMzMzMzM7oiHAAB4//////////////
- ////////////////////////////iZmRBmZ4iIfMzMzMzMzMzGAGzMzMzMzMzMzuiIcAAHj/////////
- //////////////////////////////////iZmRZmZ4iIzMzMzMzMzMxgDMzMzMzMzMzM7ohwAAf/////
- ////////////////////////////////////////95mRZmaIiHzMzMzMzMzMwEzMzMzMzMzMzuiIEABo
- //////////////////////////////////////////////95mRZmaIiMzMzMzMzMzMRszMzMzMzMzM7o
- hwAGj///////////////////////////////////////////////95kQZmeIh8zMzMzMzMzGbMzMzMzM
- zMzu6HEAB/////////////////////////////////////////////////+ZkQZmiIjMzMzMzMzMxmzM
- zMzMzMzM7ohwAGj/////////////////////////////////////////////////iZkWZniIfMzMzMzM
- zMZszMzMzMzMxu6HEAbv/4iI/////////////////////////////////////////4iP//iZEGZoiHzM
- zMzMzMzGbMzMzMzMzM7uhxAGj/iIiIj//////////////////////////////////////4iIiI//mZFm
- aIiMzMzMzMzMxszMzMzMzMzO6IEAbv+IiIiIj/////////////////////////////////////iIiIiP
- /4mRBmeIh8zMzMzMzMbMzMzMzMzMbuhxAG7/iIiIiI////////////////iIj///j//////////////4
- iIiIiP/5mQZmiIfMzMzMzMzMzMzMzMzMzO7ocQDo+IiIiIiP///////////////u7u7u7u7o////////
- ////iIiIiIj/+JkWZoiHzMzMzMzMzMzMzMzMzMzu6BEG7/iIiIiIj/////////////+Hd3ju5maO7v//
- /////////4iIiIiI//iZEGaIh8zMzMzMzMzMzMzMzMzM7ugRBu//iIiIiI//////////////kZmZdmAZ
- mP/////////////4iIiIiP//mRBmeIjMzMzMzMzMzMzMzMzMzO7nEAbv/4iIiIiP////////////+HiI
- mZEBd5n/////////////+IiIiIj//4mQZniIzMzMzMzMzMzMzMzMzMzu5xAO7//4iIiI//ju7o//////
- //j//4mZeP/4//////////////iIiIiP//+JkGZ4iHzMzMzMzMzMzMzMzMzG7ocQDu///4iI//ju7u7u
- j//////////4mP//////////////7u7uiIiI////iZBmaIh8zMzMzMzMzMzMzMzMzu6HEG7v//////+G
- ZmZ47u7//////////4//////////////7u7u7u6P/////4mQBmiIfMzMzMzMzMzMzMzMzM7uhRBu7///
- ///3AAAAF37u7///////////////////////h2AABm7u7v/////5kAZ4iHzMzMzMzMzMzMzMzMzO7oUQ
- bu//////gQAAZgEG7u//////////////////////+BAAAAAFfu6P////+ZAGeIjMzMzMzMzMzMzMzMzM
- zu6FEG7v////+JEAAXhwAG7o/////////////////////4gAABEGARbu7/////kQBoiIzMzMzMzMzMzM
- zMzMzM7uhRBu7/////iZABmZkQBm6P////////////////////+JABGZF2AAbo////+JEGaIiMzMzMzM
- zMzMzMzMzMzO7ucRbu/////4mRZ4iZkQBu//////////////////////mQB5mZdgAG7/////iRBmiIfM
- zMzMzMzMzMzMzMzMxu7nEQ7v////+Bl+j/iZEAaP/////////////////////5l2/4mRAABu/////4kQ
- ZoiHzMzMzMzMzMzMzMzMzMzu5xEO6P//+Phgbu/4kQAI//////////////////////+Zfo/4kQAAeIiP
- //+JEGaIh8zMzMzMzMzMzMzMzMzM7ucRBu7///iOYHiI+HAAf///////////////////////mYjv+BAA
- BuiIj///iQBniIfMzMzMzMzMzMzMzMzMzO7nEQbu///3EAAG6IcRF4iP/////////////////////4GP
- /4cQAAZnbv///5EAaIiMzMzMzMzMzMzMzMzMzMzu5xEW7v//iRF3dmZgAXjmj///////////////////
- ///3ePiBEQAHdm7///iRAGiIfMzMzMzMzMzMzMzMzMzM7u5xFu6P/5EZmXZmZmbmaP//////////////
- ///////4/4d2cRAAFwbuj//4kQZoiHzMzMzMzMzMzMzMzMzMzG7ucRDu7/iXiZkQAAZmAH//////////
- ////////////+IiIdmYABmAX//j/+BAGeIh8zMzMzMzMzMzMzMzMzMzO7nEQbu/4iP+BERkREZf/////
- //////////////////+JmXdxEBEAB3////kQBoiIzMzMzMzMzMzMzMzMzMzMzu5xEW7o+P//gZmZmZmP
- ////////////////////////+JmZmZmZl453//+JAGaIh8zMzMzMzMzMzMzMzMzMzM7u5xEO7vj/+IeP
- iIj////////////////////////////4iZmZmZiPiP//cQBoiIfMzMzMzMzMzMzMzMzMzMzM7ucRFu6P
- //iP//////////////////////////////////////+Jn/j/+JAAaIiMzMzMzMzMzMzMzMzMzMzMzO7n
- ERbu7//4/////////////////////////////////////////4j///gQBoiIfMzMzMzMzMzMzMzMzMzM
- zMzu7nERbuj////////////////////////////////////////////4//+BAAaIiMzMzMzMzMzMzMzM
- zMzMzMzMzu5xEW7u////////////////////////////////////////////////cQBoiIfMzMzMzMzM
- zMzMzMzMzMzMzM7u5xEW7u//////////////////////////////////////////////+BAAaIiMzMzM
- zMzMzMzMzMzMzMzMzMzO7uYREO7o//7v//////////////////////////////////////////cABoiI
- fMzMzMzMzMzMzMzMzMzMzMzMzO7ucRFu7oj/7o////////////////////////////////////////9x
- AAeIiMzMzMzMzMzMzMzMzMzMzMzMzMzO7ucRFu7nePju7u7v////////////////////////////////
- 6P/4EAB4iIfMzMzMzMzMzMzMzMzMzMzMzMzMzu7nERBu7nmIiO7oj///////////////////////////
- ju7u7o//hwAGiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzu7nERbu7nmZl5eP//////////////////////
- ///4iPiO5nj/+HAAaIiIzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u7nERbu7oiZeI//////////////////
- ////////+ImXd5mP/4cAAHiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzM7u53ERbu7v////////////////
- ///////////////4iZl4//hgAAeIiHzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u53ERBu7v//////////
- //////////////////////////+GAAB4iI7MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7uiHEADujv////
- ///////////////////////////////3AAAGiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7ohwABmP
- ////////////////////////////////////iREAZniIjMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzuiI
- EAB4f///////////////////////////////////+JmZkWZoiIfMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
- zO6IhwBo//////////////////////////////////////iImZl2ZoiIzMzMzMzMzMzMzMzMzMzMzMzM
- zMzMzMzuiHAA7////////////////////////////////////////4iZFmZ4iHzMzMzMzMzMzMzMzMzM
- zMzMzMzMzMzO6IgQBo/////4j///////////////////////////////////mZFmaIiMzMzMzMzMzMzM
- zMzMzMzMzMzMzMzMzuiHAA7/////iIiP//////7o//////////////////iI/////4mRZmeIh8zMzMzM
- zMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiI/////+7u7u7uiIiI7u7v////iIiI/////5mRZmiIjM
- zMzMzMzMzMzMzMzMzMzMzMzMzMzuiHAA7////4iIiIiIj//3d2bu7u7u7u7u7u7//4iIiIiP////+JkW
- ZniIfMzMzMzMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiIiI//+ZkAAGZmZmZmZmbv//iIiIiIiP//
- //+ZkWZoiIzMzMzMzMzMzMzMzMzMzMzMzMzMzuiFAG7////4iIiIiIj///iZABEREREREBAG7//4iIiI
- iIj/////iZFmaIiMzMzMzMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiIiI///4kQARERERERERDo//
- +IiIiIiIj/////mZBmeIh8zMzMzMzMzMzMzMzMzMzMzMzMzuiHAG7////4iIiIiIiP//+JFmeHd3d3dx
- EW6P//iIiIiIiI/////4mRZmiIfMzMzMzMzMzMzMzMzMzMzMzMzO7ocQBo////+IiIiIiIj///iQZoiO
- 7u7u5xFu7//4iIiIiIiI////+JkWZniIzMzMzMzMzMzMzMzMzMzMzMzMzuiHEA7////4iIiIiIiP///5
- kGaIju7u7ucRbu///4iIiIiIiP////95kGZ4iHzMzMzMzMzMzMzMzMzMzMzMzM7ogQBu////+IiIiIiI
- j///+RBmiI7u7u7nEW7v//+IiIiIiIiP////iZFmaIh8zMzMzMzMzMzMzMzMzMzMzMzu6HEAaP////iI
- iIiIiI////kQZoiHzMzu5xEO6P//iIiIiIiIj////4mRZmiIjMzMzMzMzMzMzMzMzMzMzMzM7ugRBu//
- ///4iIiIiIj///+JEGaIh8zM7ucRBu7//4iIiIiIiI/////5kQZniIzMzMzMzMzMzMzMzMzMzMzMzO6I
- EAbv////iIiIiIiI////iQBniIzMzO7oERbu///4iIiIiIiP////+JkGZ4iHzMzMzMzMzMzMzMzMzMzM
- zMbuhxAGj////4iIiIiIj////3kAaIiMzMzu7nEW7v//+IiIiIiIiP////iZFmaIh8zMzMzMzMzMzMzM
- zMzMzMzO7oUQbv////+IiIiIiI////+RBmiIfMzMzu5xFu6P//+IiIiIiIj////4mRZmiIfMzMzMzMzM
- zMzMzMzMzMzMzu6BAG7////4iIiIiIj////4kQZoiHzMzM7ucRDu7///iIiIiIiIj////5kQZoiHzMzM
- zMzMzMzMzMzMzMzMzM7ocQBu////+IiIiIiI////+JAGeIh8zMzO7nERbu///4iIiIiIiI////95EGaI
- h8zMzMzMzMzMzMzMzMzMzMxu6HEA7v////iIiIiIiP////cQBoiIzMzMzu7lEW7v///4iIiIiIiP////
- iRBmeIjMzMzMzMzMzMzMzMzMzMzM7uhxBuj////4iIiIiI/////5EAaIiMzMzMbu5xEO7v//+IiIiIiI
- j////4kQZniIzMzMzMzMzMzMzMzMzMzMzO7oEQbv////+IiIiIj/////iQBmiIfMzMzM7ucRBu7///iI
- iIiIiIj///+JkGZ4iMzMzMzMzMzMzMzMzMzMzMzu6BEG7/////iIiIiI/////4EAaIiHzMzMzO7nERbu
- j///iIiIiIiI////iZBmaIh8zMzMzMzMzMzMzMzMzMzM7ucRBu/////4iIiIj/////+RAGiIjMzMzMzu
- 7nEQ7u////iIiIiIiP///4mQBmiIfMzMzMzMzMzMzMzMzMzMzO7nEAbv////+IiIiP/////4EAZ4iHzM
- zMzMzu5xEG7v///4iIiIiIj///+JkAZoiHzMzMzMzMzMxmzMzMzMzMzu5xAO7/////+IiI//////+RAG
- iIjMzMzMzM7ucRFu7v///4iIiIiI////+ZAGaIh8zMzMzMzMzMZszMzMzMzG7ocQDu//////+I//////
- /4EAZoiIzMzMzMzO7ucRBu7////4iIiIiP////mQBmiIfMzMzMzMzMzGbMzMzMzMzu6HEA7v////////
- //////9xAGiIh8zMzMzMzO7nERbu7///+IiIiI/////5kAZoiHzMzMzMzMzMxmzMzMzMzM7uhxAO7///
- ///////////4EABoiIzMzMzMzMzu7nEQbu////+IiIiP////+ZAGaIh8zMzMzMzMzMZszMzMzMzO7oUQ
- Du//////////////9xAGiIh8zMzMzMzM7u5xEW7u/////4iI//////mQBmiIfMzMzMzMzMzGTMzMzMzM
- zu6HEA7v/////////////4EABoiIzMzMzMzMzM7u5xEG7v/////////////5kAZoiHzMzMzMzMzMxAzM
- zMzMzM7uhxEO7/////////////9wAGiIh8zMzMzMzMzO7ucRFu7v////////////+RAGeIh8zMzMzMzM
- zMAGzMzMzMzO7ucRDuj////////////4EAB4iIzMzMzMzMzMzO7ucRBu6P///////////4kQBoiIzMzM
- zMzMzMxgBszMzMzMxu7nEQbo////////////gQAGiIh8zMzMzMzMzMzu7nERDu7///////////+JEAaI
- iMzMzMzMzMzMYADMzMzMzMzu5xEG7v///////////3EAZ4iIzMzMzMzMzMzMzu7nERbu7///////////
- gQBmiIfMzMzMzMzMzAAAbMzMzMzM7ucRBu7///////////gQAGiIh8zMzMzMzMzMzM7u5xEQbu7/////
- /////5EAZ4iHzMzMzMzMzMYAAEzMzMzMzO7nERDu7/////////+HAAaIiIzMzMzMzMzMzMzM7u5xEQ7u
- 7/////////gQAGiIjMzMzMzMzMzEAAAGzMzMzMzu7nEQbuj////////4cAAHiIh8zMzMzMzMzMzMzO7u
- dxEW7uj////////3AAZoiHzMzMzMzMzMYAAABMzMzMzM7u5xEG7u////////hgAAeIiHzMzMzMzMzMzM
- zMzO7ucREW7u7///////gQAGiIh8zMzMzMzMzEAAAABszMzMzM7ucREG7uj/////hmAAB4iI7MzMzMzM
- zMzMzMzMzu7ucREG7u6P////+AAAB4iIzMzMzMzMzMYAAAAATMzMzMzO7ucREG7u7oiO7mAAAHiIiMzM
- zMzMzMzMzMzMzMzu7ucREG7u7o//+HYAAHiIh8zMzMzMzMzEAAAAAAbMzMzMzu7nEREG7u7u5mAAAAeI
- iIfMzMzMzMzMzMzMzMzMzu7ucREQbu7u7uYAAAeIiHzMzMzMzMzMYAAAAAAAbMzMzMzu7nEREAZmZgAA
- AAF4iI58zMzMzMzMzMzMzMzMzMzu7ncREQZm7mZgAAB4iI7MzMzMzMzMxgAAAAAAAEzMzMzM7u7nEREQ
- AAAAABF4iI7uzMzMzMzMzMzMzMzMzMzM7u7ucRERAAAAAAAHiIiMzMzMzMzMzMQAAAAAAAAGzMzMzM7u
- 7nERERERERF3iIju7MzMzMzMzMzMzMzMzMzMzM7u7udREREQAAAReIiIfMzMzMzMzMxgAAAAAAAAAGzM
- zMzM7u7udRERERV4iI7u7MzMzMzMzMzMzMzMzMzMzMzM7u7u5xEREREReIiO7MzMzMzMzMzGAAAAAAAA
- AAAGzMzMzM7u7u53d3eIiO7u7szMzMzMzMzMzMzMzMzMzMzMzM7u7u7nd1F3eIiO7uzMzMzMzMzMYAAA
- AAAAAAAAAGzMzMzM7u7u7u7u7u7u7szMzMzMzMzMzMzMzMzMzMzMzMzMzu7u7u6IiI7u7uzMzMzMzMzM
- xgAAAAAAAAAAAAAGzMzMzMzu7u7u7u7u5szMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7u7u7u7u7u7MzMzM
- zMzMzGAAAAAAAAAAAAAAAEbMzMzMzG7u7u7ubMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u7u7u7uzM
- zMzMzMzMzGQAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzG7u
- 7szMzMzMzMzMzMYAAAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
- 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==
-
-
-
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/UploadProductCefForm.cs b/TEMUKJD/KJDForms/ProductForms/Old/UploadProductCefForm.cs
deleted file mode 100644
index 519ed04..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/UploadProductCefForm.cs
+++ /dev/null
@@ -1,463 +0,0 @@
-using AllBase.Helper;
-using CefSharp;
-using CefSharp.WinForms;
-using NaiBa.CefHelper;
-using NaiBa.CefHelper.Handler;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-
-namespace TemuKJD.KJDForms.ProductForms
-{
- ///
- /// 主要用来设置上货佣金逻辑
- ///
- public partial class UploadProductForm
- {
- ChromiumWebBrowser webBrowser = null;
- UserControls.ButtonEx btn = null;
- public void InitCommissionCef()
- {
-
- Task.Run(() =>
- {
- while (true)
- {
- Thread.Sleep(500);
- if (!uploadParam.isSetCommission)
- continue;
-
- if (webBrowser == null)
- {
- Invoke(new Action(() =>
- {
- webBrowser = CEFBrowser.CreateChromiumWebBrowser("about:blank", false);
- webBrowser.Dock = DockStyle.Fill;
- webBrowser.KeyboardHandler = new KeyboardHandler();
- webBrowser.AddressChanged += WebBrowser_AddressChanged;
- webBrowser.FrameLoadEnd += webBrowser_FrameLoadEnd;
- webBrowser.SendToBack();
- this.Controls.Add(webBrowser);
-
- btn = new UserControls.ButtonEx();
- btn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- btn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- btn.Cursor = System.Windows.Forms.Cursors.Hand;
- btn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- btn.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- btn.ForeColor = System.Drawing.Color.White;
- btn.Location = new System.Drawing.Point(this.Width - 82, 10);
- btn.Margin = new System.Windows.Forms.Padding(2);
- btn.Name = "btn";
- btn.Size = new System.Drawing.Size(72, 25);
- btn.TabIndex = 390;
- btn.Text = "隐藏";
- btn.UseVisualStyleBackColor = false;
- btn.Click += Btn_Click;
- Controls.Add(btn);
- }));
- }
-
- if (!webBrowser.IsBrowserInitialized || webBrowser.IsLoading)
- continue;
-
- var jsCode = "function closeMask() {" +
- "if (document.body.innerHTML.indexOf('普通计划') < 0) return;" +
- "var mask1 = document.getElementsByClassName('ant-modal-root')[0];" +
- "if (mask1) mask1.parentNode.removeChild(mask1);" +
- "var mask2 = document.getElementsByClassName('y-guide')[0];" +
- "if (mask2) mask2.parentNode.removeChild(mask2);" +
- "var mask3 = document.getElementById('browser-support-tip');" +
- "if (mask3) mask3.parentNode.removeChild(mask3);" +
- "}" +
- "closeMask();";
- //var t = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsCode);
- //t.Wait(3000);
-
- Thread.Sleep(500);
- while (lstCommissionAddResult.Count > 0)
- {
- Thread.Sleep(10);
- var commission = lstCommissionAddResult[0];
- var commissions = lstCommissionAddResult.Where(c => c.ShopName == commission.ShopName && c.Rate == commission.Rate).ToList();
- var shop = AllBase.Helper.GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopAccount == commission.ShopName);
- if (shop == null)
- {
- lstCommissionAddResult.RemoveAll(s => s.ShopName == commission.ShopName);
- NaiBa.Util.Helper.ConfigHelper.SaveConfig("upload_commission_list", lstCommissionAddResult);
- }
- else
- {
- var productIds = "";
- var rate = commission.Rate;
- for (int i = 0; i < 10 && i < commissions.Count; i++)
- {
- productIds += commissions[i].ProductId + ",";
- }
- var cookie = shop.Cookies;
- CEFBrowser.DeleteCookie(webBrowser.RequestContext.GetCookieManager(null));
- var t = CEFBrowser.SetCookieAsync("jinritemai.com", cookie, webBrowser.RequestContext.GetCookieManager(null));
- t.Wait(2000);
- Thread.Sleep(500);
- webBrowser.Load("https://buyin.jinritemai.com/dashboard/activity/common-plan");
- while (webBrowser.IsLoading)
- {
- Thread.Sleep(1000);
- }
- for (int i = 0; i < 50; i++)
- {
- Thread.Sleep(2000);
- var jsStr1 = clickJsElementStr +
- "function clickBtn(txt) {\r\n" +
- " if (document.body.innerHTML.indexOf('加载失败') >= 0)\r\n" +
- " return '加载失败';\r\n" +
- " var elem = getElement(txt);\r\n" +
- " if (elem) elem.click(); return 'success';\r\n" +
- " return 'no_element';\r\n" +
- "}\r\n" +
- "clickBtn('添加商品');\r\n";
- var t1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
- t1.Wait();
- if (t1.Result?.Result?.ToString() == "加载失败")
- break;
- if (t1.Result?.Result?.ToString() == "success")
- {
- Thread.Sleep(2000);
-
- string failMsg = "";
-
- #region 选择批量查询选项
- var host = webBrowser.GetBrowser().GetHost();
- int x = 0, y = 0;
- jsStr1 = "function getPos() { var box = document.getElementsByClassName('search-product-select');" +
- "if (box[0] == null) return '-|-';" +
- "var actualLeft = box[0].offsetLeft;" +
- "var actualTop = box[0].offsetTop;" +
- "var current = box[0].offsetParent;" +
- "while (current !== null) { actualLeft += current.offsetLeft; actualTop += current.offsetTop; current = current.offsetParent; }" +
- "return '' + actualLeft + '|' + actualTop;}" +
- "getPos();";
- var task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
- task.Wait();
- var result = task.Result?.Result?.ToString();
-
- if (result != null && result != "-|-")
- {
- var arr = result.Split('|');
- if (arr.Length == 2)
- {
- x = Convert.ToInt32(arr[0]);
- y = Convert.ToInt32(arr[1]);
- }
- int x1 = x + new Random(DateTime.Now.Millisecond).Next(6, 30);
- int y1 = y + new Random(DateTime.Now.Millisecond).Next(6, 16);
- host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, false, 1, CefEventFlags.None); // 按下鼠标左键
- Thread.Sleep(70 + new Random(DateTime.Now.Millisecond).Next(50));
- host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, true, 1, CefEventFlags.None); // 松开鼠标左键
- Thread.Sleep(500 + new Random(DateTime.Now.Millisecond).Next(500));
-
- x1 = x + new Random(DateTime.Now.Millisecond).Next(6, 30);
- y1 = y + new Random(DateTime.Now.Millisecond).Next(84, 94);
- host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, false, 1, CefEventFlags.None); // 按下鼠标左键
- Thread.Sleep(70 + new Random(DateTime.Now.Millisecond).Next(50));
- host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, true, 1, CefEventFlags.None); // 松开鼠标左键
- Thread.Sleep(500 + new Random(DateTime.Now.Millisecond).Next(500));
- }
- else
- {
- failMsg = "佣金商品列表打开失败。";
- goto showFail;
- }
- #endregion
-
- #region 输入商品编号并查询
- jsStr1 = "function getPos() { var box = document.getElementsByClassName('ant-select-show-search');" +
- "if (box[0] == null) return '-|-';" +
- "var actualLeft = box[0].offsetLeft;" +
- "var actualTop = box[0].offsetTop;" +
- "var current = box[0].offsetParent;" +
- "while (current !== null) { actualLeft += current.offsetLeft; actualTop += current.offsetTop; current = current.offsetParent; }" +
- "return '' + actualLeft + '|' + actualTop;}" +
- "getPos();";
- task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
- task.Wait();
- result = task.Result?.Result?.ToString();
-
- if (result != null && result != "-|-")
- {
- var arr = result.Split('|');
- if (arr.Length == 2)
- {
- x = Convert.ToInt32(arr[0]);
- y = Convert.ToInt32(arr[1]);
- }
- int x1 = x + new Random(DateTime.Now.Millisecond).Next(6, 30);
- int y1 = y + new Random(DateTime.Now.Millisecond).Next(6, 16);
- host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, false, 1, CefEventFlags.None); // 按下鼠标左键
- Thread.Sleep(70 + new Random(DateTime.Now.Millisecond).Next(50));
- host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, true, 1, CefEventFlags.None); // 松开鼠标左键
- Thread.Sleep(500 + new Random(DateTime.Now.Millisecond).Next(500));
-
- Invoke(new Action(() =>
- {
- Clipboard.Clear();
- Clipboard.SetDataObject("" + productIds.TrimEnd(',')); // 复制要搜索的商品ID到剪贴板
- }));
-
- // 黏贴 ctrl + v
- host.SendKeyEvent(new CefSharp.KeyEvent() { WindowsKeyCode = 86, Type = KeyEventType.RawKeyDown, Modifiers = CefEventFlags.ControlDown });
- Thread.Sleep(250 + new Random(DateTime.Now.Millisecond).Next(250));
- }
- else
- {
- failMsg = "查询设置佣金商品失败。";
- goto showFail;
- }
-
- jsStr1 = "document.getElementsByClassName('search-btns-item-first')[0].click();";
- task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
- task.Wait();
- Thread.Sleep(500 + new Random(DateTime.Now.Millisecond).Next(500));
- #endregion
-
- #region 勾选商品信息
- jsStr1 = getFirstElementJsStr +
- "\r\nfunction getInnerHtml() {\r\n" +
- " var item = document.getElementsByClassName('ant-table-wrapper activity-list-table')[0];\r\n" +
- " if (item) {\r\n" +
- " return item.innerHTML;\r\n" +
- " }\r\n" +
- " return 'no_element';\r\n" +
- "}\r\n" +
- "getInnerHtml();";
- task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
- task.Wait();
- Thread.Sleep(500 + new Random(DateTime.Now.Millisecond).Next(500));
- var idArray = productIds.TrimEnd(',').Split(',');
- if (task.Result?.Result?.ToString() == null || !idArray.Any(a => task.Result.Result.ToString().Contains(a)))
- {
- failMsg = "设置佣金商品不存在。";
- goto showFail;
- }
-
- jsStr1 = getFirstElementJsStr +
- "\r\nfunction clickCheckBox() {\r\n" +
- " var item = document.getElementsByClassName('ant-table-wrapper activity-list-table')[0];\r\n" +
- " if (item) {\r\n" +
- " var tHead = getFirstElement('THEAD', item)\r\n" +
- " var tagItem = getFirstElement('INPUT', tHead)\r\n" +
- " if (tagItem) tagItem.click(); return 'success';\r\n" +
- " }\r\n" +
- " return 'no_element';\r\n" +
- "}\r\n" +
- "clickCheckBox();";
- task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
- task.Wait();
- Thread.Sleep(500 + new Random(DateTime.Now.Millisecond).Next(500));
- if (task.Result?.Result?.ToString() != "success")
- {
- failMsg = "设置佣金选择商品不存在。";
- goto showFail;
- }
- #endregion
-
- #region 点击确定设置佣金
- jsStr1 = "document.getElementsByClassName('exclusive_commodity-filter-drawer-footer-operations__operation ant-btn-primary')[0].click();";
- task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
- task.Wait();
- Thread.Sleep(500 + new Random(DateTime.Now.Millisecond).Next(500));
- #endregion
-
- #region 设置佣金金额
- jsStr1 = "function getPos() { var box = document.getElementsByClassName('ant-input-number-input');" +
- "if (box[0] == null) return '-|-';" +
- "var actualLeft = box[0].offsetLeft;" +
- "var actualTop = box[0].offsetTop;" +
- "var current = box[0].offsetParent;" +
- "while (current !== null) { actualLeft += current.offsetLeft; actualTop += current.offsetTop; current = current.offsetParent; }" +
- "return '' + actualLeft + '|' + actualTop;}" +
- "getPos();";
- task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
- task.Wait();
- result = task.Result?.Result?.ToString();
-
- if (result != null && result != "-|-")
- {
- var arr = result.Split('|');
- if (arr.Length == 2)
- {
- x = Convert.ToInt32(arr[0]);
- y = Convert.ToInt32(arr[1]);
- }
- int x1 = x + new Random(DateTime.Now.Millisecond).Next(30, 60);
- int y1 = y + new Random(DateTime.Now.Millisecond).Next(6, 16);
- host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, false, 1, CefEventFlags.None); // 按下鼠标左键
- Thread.Sleep(70 + new Random(DateTime.Now.Millisecond).Next(50));
- host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, true, 1, CefEventFlags.None); // 松开鼠标左键
- Thread.Sleep(150 + new Random(DateTime.Now.Millisecond).Next(150));
-
- // 模拟输入退格键
- host.SendKeyEvent(new CefSharp.KeyEvent() { WindowsKeyCode = 8, Type = KeyEventType.RawKeyDown, Modifiers = CefEventFlags.None });
- Thread.Sleep(250 + new Random(DateTime.Now.Millisecond).Next(250));
- // 模拟输入退格键
- host.SendKeyEvent(new CefSharp.KeyEvent() { WindowsKeyCode = 8, Type = KeyEventType.RawKeyDown, Modifiers = CefEventFlags.None });
- Thread.Sleep(250 + new Random(DateTime.Now.Millisecond).Next(250));
-
- Invoke(new Action(() =>
- {
- Clipboard.Clear();
- Clipboard.SetDataObject("" + rate); // 复制要搜索的商品ID到剪贴板
- }));
-
- // 黏贴 ctrl + v
- host.SendKeyEvent(new CefSharp.KeyEvent() { WindowsKeyCode = 86, Type = KeyEventType.RawKeyDown, Modifiers = CefEventFlags.ControlDown });
- Thread.Sleep(500 + new Random(DateTime.Now.Millisecond).Next(500));
- }
- else
- {
- failMsg = "佣金金额设置失败。";
- goto showFail;
- }
- #endregion
-
- #region 最后点击确定按钮设置佣金
- //apply-sample-modal-footer
- jsStr1 = clickJsElementStr +
- "function clickOkBtn(txt) {\r\n" +
- " var elem = getElement(txt, document.getElementsByClassName('apply-sample-modal-footer')[0]);\r\n" +
- " if (elem) elem.click(); return 'success';\r\n" +
- " return 'no_element';\r\n" +
- "}\r\n" +
- "clickBtn('确定');\r\n";
- t1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
- t1.Wait();
- Thread.Sleep(500 + new Random(DateTime.Now.Millisecond).Next(500));
- #endregion
-
- Thread.Sleep(2000);
-
- //bool isRetry = false;
- //Retry:
- //var url = "https://buyin.jinritemai.com/api/promotion/createXdPromotions";
- ////if (!string.IsNullOrEmpty(sign))
- //// url += "?_signature=" + sign;
- //var request = new CommonSimRequest();
- //var referer = "https://buyin.jinritemai.com/dashboard/activity/common-plan";
- //var data = "cos_ratio=" + rate + "&apply_style=1&product_ids=" + productIds.Trim(',');
- //Dictionary headers = new Dictionary();
- //headers.Add("Origin", @"https://buyin.jinritemai.com");
- //var html = request.Request_Post(url, referer, headers, shop.Cookies, data);
- //if (html.Contains("\"msg\":\"success\"") && html.Contains("\"failed_ids\":{}"))
- //{
- //}
- //else
- //{
- // if (!isRetry)
- // {
- // isRetry = true;
- // goto Retry;
- // }
- showFail:
- if (!string.IsNullOrEmpty(failMsg))
- {
- Invoke(new Action(() =>
- {
- pnlShowError.Visible = true;
- pnlShowError.Text = " 设置佣金部分失败:" + failMsg + " " + productIds.Trim(',') + " ";
- this.pnlShowError.BringToFront();
- Task.Run(() =>
- {
- Thread.Sleep(8000);
- if (this.Created)
- Invoke(new Action(() =>
- {
- this.pnlShowError.Visible = false;
- }));
- });
- }));
- }
- //}
-
- var html = "";
- lock (lstCommissionAddResult)
- {
- try
- {
- //if (html.Contains("\"msg\":\"success\"") && html.Contains("\"failed_ids\":{}"))
- {
- lstCommissionAddResult.RemoveAll(s => productIds.Contains(s.ProductId.ToString()) || s.ProductId == 0);
- NaiBa.Util.Helper.ConfigHelper.SaveConfig("upload_commission_list", lstCommissionAddResult);
- }
- }
- catch (Exception ex) { }
- }
- for (int k = 0; k < 600; k++)
- {
- Thread.Sleep(1000);
- if (lstCommissionAddResult.Count > 10 || Work.BLL.Upload.UploadProductBLL.ProductStock.Count < 1)
- break;
- }
-
- break;
- }
- }
- }
- }
- }
- });
- }
-
- private void Btn_Click(object sender, EventArgs e)
- {
- this.webBrowser.SendToBack();
- btn.SendToBack();
- }
-
- private void WebBrowser_AddressChanged(object sender, CefSharp.AddressChangedEventArgs e)
- {
- }
-
- private void webBrowser_FrameLoadEnd(object sender, CefSharp.FrameLoadEndEventArgs e)
- {
- }
-
- public string clickJsElementStr = "function getElement(txt, elem) {\r\n" +
- " var child = document.body.firstElementChild;\r\n" +
- " if (elem) child = elem\r\n" +
- " var element1 = null;\r\n" +
- " while (child) {\r\n" +
- " if (child.innerHTML.indexOf(txt) >= 0) {\r\n" +
- " element1 = child;\r\n" +
- " if (child.firstElementChild) {\r\n" +
- " child = child.firstElementChild; continue;\r\n" +
- " } else break;\r\n" +
- " }\r\n" +
- " child = child.nextElementSibling;\r\n" +
- " }\r\n" +
- " if (element1) {\r\n" +
- " return element1;\r\n" +
- " } else return error;\r\n" +
- "}\r\n";
-
- public string getFirstElementJsStr = "function getFirstElement(tag_name, elem) {\r\n" +
- " var nodes = [];\r\n" +
- " var child = document.body.firstElementChild;\r\n" +
- " if (elem) child = elem\r\n" +
- " nodes.push(child);\r\n" +
- " for (i = 0; i < nodes.length; i++) {\r\n" +
- " if (nodes[i].tagName === tag_name) return nodes[i];\r\n" +
- " for (j = 0; j < nodes[i].childNodes.length; j++) {\r\n" +
- " var node = nodes[i].childNodes[j];\r\n" +
- " if ((node.nodeType != 3) && (node.nodeName != 'SCRIPT')) {\r\n" +
- " nodes.push(node);\r\n" +
- " }\r\n" +
- " }\r\n" +
- " }\r\n" +
- " return error;\r\n" +
- "}\r\n";
- }
-}
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/UploadProductErrorForm.Designer.cs b/TEMUKJD/KJDForms/ProductForms/Old/UploadProductErrorForm.Designer.cs
deleted file mode 100644
index e751557..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/UploadProductErrorForm.Designer.cs
+++ /dev/null
@@ -1,389 +0,0 @@
-namespace TemuKJD.KJDForms.ProductForms
-{
- partial class UploadProductErrorForm
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
- this.panel1 = new System.Windows.Forms.Panel();
- this.btnCancel = new TemuKJD.UserControls.ButtonEx();
- this.btnSave = new TemuKJD.UserControls.ButtonEx();
- this.textBox1 = new System.Windows.Forms.TextBox();
- this.buttonExportCsv = new TemuKJD.UserControls.ButtonEx();
- this.btnAddToUpload = new TemuKJD.UserControls.ButtonEx();
- this.dgvError = new TemuKJD.UserComponent.DataGridViewEx();
- this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
- this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.ColCatId = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colAuthStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.ColFrom = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.ColProductId = new System.Windows.Forms.DataGridViewLinkColumn();
- this.ColError = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.ColRemark = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column3 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
- this.btnImport = new TemuKJD.UserControls.ButtonEx();
- this.btnOnlineSearch = new TemuKJD.UserControls.ButtonEx();
- this.label2 = new System.Windows.Forms.Label();
- this.btnGetProp材质 = new TemuKJD.UserControls.ButtonEx();
- this.btnGetDetail = new TemuKJD.UserControls.ButtonEx();
- this.panel1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dgvError)).BeginInit();
- this.SuspendLayout();
- //
- // panel1
- //
- this.panel1.Anchor = System.Windows.Forms.AnchorStyles.None;
- this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.panel1.Controls.Add(this.btnCancel);
- this.panel1.Controls.Add(this.btnSave);
- this.panel1.Controls.Add(this.textBox1);
- this.panel1.Location = new System.Drawing.Point(351, 206);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(240, 135);
- this.panel1.TabIndex = 380;
- this.panel1.Visible = false;
- //
- // btnCancel
- //
- this.btnCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnCancel.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnCancel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnCancel.ForeColor = System.Drawing.Color.White;
- this.btnCancel.Location = new System.Drawing.Point(122, 105);
- this.btnCancel.Margin = new System.Windows.Forms.Padding(2);
- this.btnCancel.Name = "btnCancel";
- this.btnCancel.Size = new System.Drawing.Size(80, 26);
- this.btnCancel.TabIndex = 380;
- this.btnCancel.Text = "取消";
- this.btnCancel.UseVisualStyleBackColor = false;
- this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
- //
- // btnSave
- //
- this.btnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSave.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnSave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnSave.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnSave.ForeColor = System.Drawing.Color.White;
- this.btnSave.Location = new System.Drawing.Point(38, 105);
- this.btnSave.Margin = new System.Windows.Forms.Padding(2);
- this.btnSave.Name = "btnSave";
- this.btnSave.Size = new System.Drawing.Size(80, 26);
- this.btnSave.TabIndex = 379;
- this.btnSave.Text = "保存";
- this.btnSave.UseVisualStyleBackColor = false;
- this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
- //
- // textBox1
- //
- this.textBox1.Location = new System.Drawing.Point(4, 4);
- this.textBox1.Name = "textBox1";
- this.textBox1.Size = new System.Drawing.Size(231, 21);
- this.textBox1.TabIndex = 0;
- //
- // buttonExportCsv
- //
- this.buttonExportCsv.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.buttonExportCsv.Cursor = System.Windows.Forms.Cursors.Hand;
- this.buttonExportCsv.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.buttonExportCsv.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.buttonExportCsv.ForeColor = System.Drawing.Color.White;
- this.buttonExportCsv.Location = new System.Drawing.Point(231, 11);
- this.buttonExportCsv.Margin = new System.Windows.Forms.Padding(2);
- this.buttonExportCsv.Name = "buttonExportCsv";
- this.buttonExportCsv.Size = new System.Drawing.Size(80, 26);
- this.buttonExportCsv.TabIndex = 382;
- this.buttonExportCsv.Text = "导入csv";
- this.buttonExportCsv.UseVisualStyleBackColor = false;
- this.buttonExportCsv.Click += new System.EventHandler(this.buttonExportCsv_Click);
- //
- // btnAddToUpload
- //
- this.btnAddToUpload.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnAddToUpload.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnAddToUpload.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnAddToUpload.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnAddToUpload.ForeColor = System.Drawing.Color.White;
- this.btnAddToUpload.Location = new System.Drawing.Point(357, 11);
- this.btnAddToUpload.Margin = new System.Windows.Forms.Padding(2);
- this.btnAddToUpload.Name = "btnAddToUpload";
- this.btnAddToUpload.Size = new System.Drawing.Size(109, 26);
- this.btnAddToUpload.TabIndex = 381;
- this.btnAddToUpload.Text = "添加选中到上传";
- this.btnAddToUpload.UseVisualStyleBackColor = false;
- this.btnAddToUpload.Click += new System.EventHandler(this.btnAddToUpload_Click);
- //
- // dgvError
- //
- this.dgvError.AllowUserToAddRows = false;
- this.dgvError.AllowUserToDeleteRows = false;
- dataGridViewCellStyle7.BackColor = System.Drawing.Color.WhiteSmoke;
- this.dgvError.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle7;
- this.dgvError.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.dgvError.BackgroundColor = System.Drawing.Color.White;
- this.dgvError.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvError.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8;
- this.dgvError.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dgvError.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.colSelect,
- this.Column1,
- this.Column2,
- this.ColCatId,
- this.colAuthStatus,
- this.ColFrom,
- this.ColProductId,
- this.ColError,
- this.ColRemark,
- this.Column3});
- this.dgvError.Location = new System.Drawing.Point(9, 44);
- this.dgvError.Name = "dgvError";
- this.dgvError.ReadOnly = true;
- dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.dgvError.RowsDefaultCellStyle = dataGridViewCellStyle9;
- this.dgvError.RowTemplate.Height = 23;
- this.dgvError.Size = new System.Drawing.Size(925, 479);
- this.dgvError.TabIndex = 379;
- this.dgvError.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvError_CellClick);
- this.dgvError.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvError_CellContentClick);
- this.dgvError.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dgvError_KeyDown);
- this.dgvError.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.dgvError_KeyPress);
- //
- // colSelect
- //
- this.colSelect.FillWeight = 50F;
- this.colSelect.HeaderText = "选";
- this.colSelect.Name = "colSelect";
- this.colSelect.ReadOnly = true;
- this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.colSelect.Width = 40;
- //
- // Column1
- //
- this.Column1.HeaderText = "添加时间";
- this.Column1.Name = "Column1";
- this.Column1.ReadOnly = true;
- //
- // Column2
- //
- this.Column2.HeaderText = "修改时间";
- this.Column2.Name = "Column2";
- this.Column2.ReadOnly = true;
- //
- // ColCatId
- //
- this.ColCatId.HeaderText = "分类ID";
- this.ColCatId.Name = "ColCatId";
- this.ColCatId.ReadOnly = true;
- this.ColCatId.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- //
- // colAuthStatus
- //
- this.colAuthStatus.HeaderText = "分类名称";
- this.colAuthStatus.Name = "colAuthStatus";
- this.colAuthStatus.ReadOnly = true;
- this.colAuthStatus.Width = 200;
- //
- // ColFrom
- //
- this.ColFrom.HeaderText = "商品来源";
- this.ColFrom.Name = "ColFrom";
- this.ColFrom.ReadOnly = true;
- //
- // ColProductId
- //
- this.ColProductId.HeaderText = "商品ID";
- this.ColProductId.Name = "ColProductId";
- this.ColProductId.ReadOnly = true;
- this.ColProductId.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.ColProductId.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- //
- // ColError
- //
- this.ColError.HeaderText = "错误内容";
- this.ColError.Name = "ColError";
- this.ColError.ReadOnly = true;
- this.ColError.Width = 500;
- //
- // ColRemark
- //
- this.ColRemark.HeaderText = "备注";
- this.ColRemark.Name = "ColRemark";
- this.ColRemark.ReadOnly = true;
- //
- // Column3
- //
- this.Column3.HeaderText = "是否修复";
- this.Column3.Name = "Column3";
- this.Column3.ReadOnly = true;
- this.Column3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- //
- // btnImport
- //
- this.btnImport.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnImport.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnImport.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnImport.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnImport.ForeColor = System.Drawing.Color.White;
- this.btnImport.Location = new System.Drawing.Point(147, 11);
- this.btnImport.Margin = new System.Windows.Forms.Padding(2);
- this.btnImport.Name = "btnImport";
- this.btnImport.Size = new System.Drawing.Size(80, 26);
- this.btnImport.TabIndex = 378;
- this.btnImport.Text = "导入sql";
- this.btnImport.UseVisualStyleBackColor = false;
- this.btnImport.Click += new System.EventHandler(this.btnImport_Click);
- //
- // btnOnlineSearch
- //
- this.btnOnlineSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnOnlineSearch.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnOnlineSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnOnlineSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnOnlineSearch.ForeColor = System.Drawing.Color.White;
- this.btnOnlineSearch.Location = new System.Drawing.Point(11, 11);
- this.btnOnlineSearch.Margin = new System.Windows.Forms.Padding(2);
- this.btnOnlineSearch.Name = "btnOnlineSearch";
- this.btnOnlineSearch.Size = new System.Drawing.Size(132, 26);
- this.btnOnlineSearch.TabIndex = 377;
- this.btnOnlineSearch.Text = "服务端查询(内网)";
- this.btnOnlineSearch.UseVisualStyleBackColor = false;
- this.btnOnlineSearch.Click += new System.EventHandler(this.btnOnlineSearch_Click);
- //
- // label2
- //
- this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.label2.AutoSize = true;
- this.label2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label2.Location = new System.Drawing.Point(889, 13);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(31, 20);
- this.label2.TabIndex = 384;
- this.label2.Text = "0/0";
- this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.label2.Visible = false;
- //
- // btnGetProp材质
- //
- this.btnGetProp材质.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnGetProp材质.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnGetProp材质.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnGetProp材质.FlatAppearance.BorderSize = 0;
- this.btnGetProp材质.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnGetProp材质.Font = new System.Drawing.Font("微软雅黑", 9F);
- this.btnGetProp材质.ForeColor = System.Drawing.Color.White;
- this.btnGetProp材质.Location = new System.Drawing.Point(683, 11);
- this.btnGetProp材质.Margin = new System.Windows.Forms.Padding(2);
- this.btnGetProp材质.Name = "btnGetProp材质";
- this.btnGetProp材质.Size = new System.Drawing.Size(188, 26);
- this.btnGetProp材质.TabIndex = 383;
- this.btnGetProp材质.Text = "采集含有材质必填的类目";
- this.btnGetProp材质.UseVisualStyleBackColor = false;
- this.btnGetProp材质.Visible = false;
- this.btnGetProp材质.Click += new System.EventHandler(this.btnGetProp材质_Click);
- //
- // btnGetDetail
- //
- this.btnGetDetail.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnGetDetail.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnGetDetail.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnGetDetail.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnGetDetail.ForeColor = System.Drawing.Color.White;
- this.btnGetDetail.Location = new System.Drawing.Point(540, 11);
- this.btnGetDetail.Margin = new System.Windows.Forms.Padding(2);
- this.btnGetDetail.Name = "btnGetDetail";
- this.btnGetDetail.Size = new System.Drawing.Size(103, 26);
- this.btnGetDetail.TabIndex = 385;
- this.btnGetDetail.Text = "测试商品详情";
- this.btnGetDetail.UseVisualStyleBackColor = false;
- this.btnGetDetail.Click += new System.EventHandler(this.btnGetDetail_Click);
- //
- // UploadProductErrorForm
- //
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
- this.BackColor = System.Drawing.Color.White;
- this.ClientSize = new System.Drawing.Size(945, 535);
- this.Controls.Add(this.btnGetDetail);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.btnGetProp材质);
- this.Controls.Add(this.buttonExportCsv);
- this.Controls.Add(this.btnAddToUpload);
- this.Controls.Add(this.panel1);
- this.Controls.Add(this.dgvError);
- this.Controls.Add(this.btnImport);
- this.Controls.Add(this.btnOnlineSearch);
- this.Name = "UploadProductErrorForm";
- this.Text = "UploadProductErrorForm";
- this.Load += new System.EventHandler(this.UploadProductErrorForm_Load);
- this.panel1.ResumeLayout(false);
- this.panel1.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dgvError)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private UserControls.ButtonEx btnImport;
- private UserControls.ButtonEx btnOnlineSearch;
- private UserComponent.DataGridViewEx dgvError;
- private System.Windows.Forms.Panel panel1;
- private UserControls.ButtonEx btnCancel;
- private UserControls.ButtonEx btnSave;
- private System.Windows.Forms.TextBox textBox1;
- private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
- private System.Windows.Forms.DataGridViewTextBoxColumn ColCatId;
- private System.Windows.Forms.DataGridViewTextBoxColumn colAuthStatus;
- private System.Windows.Forms.DataGridViewTextBoxColumn ColFrom;
- private System.Windows.Forms.DataGridViewLinkColumn ColProductId;
- private System.Windows.Forms.DataGridViewTextBoxColumn ColError;
- private System.Windows.Forms.DataGridViewTextBoxColumn ColRemark;
- private System.Windows.Forms.DataGridViewCheckBoxColumn Column3;
- private UserControls.ButtonEx btnAddToUpload;
- private UserControls.ButtonEx buttonExportCsv;
- private System.Windows.Forms.Label label2;
- private UserControls.ButtonEx btnGetProp材质;
- private UserControls.ButtonEx btnGetDetail;
- }
-}
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/UploadProductErrorForm.cs b/TEMUKJD/KJDForms/ProductForms/Old/UploadProductErrorForm.cs
deleted file mode 100644
index 5937f23..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/UploadProductErrorForm.cs
+++ /dev/null
@@ -1,497 +0,0 @@
-using AllBase;
-using AllBase.Helper;
-using AllBase.Model.Param.FissionManage;
-using AllBase.Model.Param.ProductManage;
-using AllBase.Model.Param.UploadManage;
-using AllBase.Model.Result;
-using TemuKJD.KJDForms.BaseForms;
-using NaiBa.Util;
-using NaiBa.Util.Extension;
-using Newtonsoft.Json.Linq;
-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;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-using Work.BLL.Upload;
-using Work.DouyinApiClass;
-
-namespace TemuKJD.KJDForms.ProductForms
-{
- public partial class UploadProductErrorForm : BaseForm
- {
- public static List lstUploadErrorParam = new List();
-
- public UploadProductErrorForm()
- {
- InitializeComponent();
-
- lstUploadErrorParam = NaiBa.Util.Helper.ConfigHelper.LoadConfig>("upload_product_error_data");
- if (lstUploadErrorParam == null)
- lstUploadErrorParam = new List();
- }
-
- private void btnImport_Click(object sender, EventArgs e)
- {
- if (Fission.goodsCategoryList.Count == 0)
- Fission.goodsCategoryList = JsonHelper.DeserializeJsonToList(DyCategoryParam.DyCategorys);
-
- OpenFileDialog openFileDialog = new OpenFileDialog();
- openFileDialog.Filter = "数据库.sql文件(*.sql)|*.sql";
- openFileDialog.RestoreDirectory = true;
- openFileDialog.FilterIndex = 1;
- openFileDialog.Multiselect = true;
- if (openFileDialog.ShowDialog() == DialogResult.OK)
- {
- Task.Run(() =>
- {
- foreach (var fileName in openFileDialog.FileNames)
- {
- string lineStr = string.Empty;
- string productUrl = string.Empty;
- try
- {
- using (StreamReader sr = new StreamReader(fileName, Encoding.UTF8))
- {
- int row = 0;
- while ((lineStr = sr.ReadLine()) != null)
- {
- List LineStrs = new List();
- if (lineStr.StartsWith("INSERT INTO `oa_upload_error_log` VALUES"))
- LineStrs = lineStr.Split(new string[] { ", ", "INSERT INTO `oa_upload_error_log` VALUES (", ");" },
- StringSplitOptions.RemoveEmptyEntries).ToList();
- else
- continue;
-
- UploadErrorParam err = new UploadErrorParam()
- {
- cat_id = LineStrs[8].Trim('\''),
- message = LineStrs[9].Trim('\''),
- product_id = LineStrs[10].Trim('\''),
- source_id = LineStrs[11].Trim('\''),
- addtime = Convert.ToDateTime(LineStrs[1].Trim('\'')),
- update_time = Convert.ToDateTime(LineStrs[4].Trim('\'')),
- };
- var cat = Fission.goodsCategoryList.FirstOrDefault(c => c.id.ToString() == err.cat_id);
- string catName = "^" + cat?.name;
- if (cat != null && cat.name != "全部分类")
- {
- var parentCat = cat;
- while (parentCat != null && parentCat.parent_cid != 0)
- {
- parentCat = Fission.goodsCategoryList.FirstOrDefault(mc => mc.id == parentCat.parent_cid);
- catName = "^" + parentCat.name + catName;
- }
- }
- err.cat_name = catName.Trim('^');
-
- if (lstUploadErrorParam.Any(r => r.cat_id == err.cat_id && r.product_id == err.product_id && r.message == err.message))
- continue;
-
- lstUploadErrorParam.Add(err);
-
- Invoke(new Action(() =>
- {
- if (err.update_time > DateTime.Now.Date)
- this.dgvError.Rows.Add(false, err.addtime, err.update_time, err.cat_id, err.cat_name, err.source_id,
- err.product_id, err.message, err.remark, err.is_repair);
- }));
- row++;
- }
- }
- }
- catch (Exception ex)
- {
- if (ex.Message.Contains("无法访问"))
- {
- BaseMsgForm.ShowInfo("文件" + fileName + "打开失败,请查看是否有其他应用正在使用。");
- }
- }
- }
- NaiBa.Util.Helper.ConfigHelper.SaveConfig>("upload_product_error_data", lstUploadErrorParam);
- });
- }
- }
-
- private void dgvError_CellContentClick(object sender, DataGridViewCellEventArgs e)
- {
- if (e.ColumnIndex < 0 || e.RowIndex < 0)
- return;
-
- string headerText = dgvError.Columns[e.ColumnIndex].HeaderText;
- string from = dgvError.Rows[e.RowIndex].Cells["ColFrom"].Value.ToString();
- string productId = dgvError.Rows[e.RowIndex].Cells["ColProductId"].Value.ToString();
- string cat_id = dgvError.Rows[e.RowIndex].Cells["ColCatId"].Value.ToString();
- string message = dgvError.Rows[e.RowIndex].Cells["ColError"].Value.ToString();
- if (headerText.ToUpper() == "商品ID")
- {
- string upUrl = "";
- if (from.StartsWith("tb"))
- upUrl = "https://item.taobao.com/item.htm?id=" + productId;
- if (from.StartsWith("pd"))
- upUrl = "https://mobile.yangkeduo.com/goods.html?goods_id=" + productId;
- if (from.StartsWith("al"))
- upUrl = "https://detail.1688.com/offer/" + productId + ".html";
- if (from.StartsWith("jx"))
- upUrl = "https://item.jd.com/" + productId + ".html";
- if (from.StartsWith("dy"))
- upUrl = "https://haohuo.jinritemai.com/views/product/detail?id=" + productId;
- if (string.IsNullOrEmpty(productId))
- upUrl = "https://www.baidu.com";
- NaiBa.Util.Helper.FileHelper.OpenUrl(upUrl);
- }
- if (headerText == "是否修复")
- {
- dgvError.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = !dgvError.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ParseToBool();
- var err = lstUploadErrorParam.Find(r => r.cat_id == cat_id && r.product_id == productId && r.message == message);
- if (err != null)
- {
- err.is_repair = dgvError.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ParseToBool();
- NaiBa.Util.Helper.ConfigHelper.SaveConfig>("upload_product_error_data", lstUploadErrorParam);
- }
- }
- if (headerText == "选")
- {
- dgvError.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = !dgvError.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ParseToBool();
- }
- }
-
- private void UploadProductErrorForm_Load(object sender, EventArgs e)
- {
- lstUploadErrorParam = lstUploadErrorParam.OrderByDescending(err => err.update_time).ToList();
- var lstUploadErrorParamOld = lstUploadErrorParam.Where(err => err.update_time < DateTime.Now.Date).ToList();
- if (lstUploadErrorParamOld.Count > 0)
- NaiBa.Util.Helper.ConfigHelper.SaveConfig>("upload_product_error_data" + DateTime.Now.ToString("yyyyMMddHHmm"), lstUploadErrorParam);
- lstUploadErrorParam = lstUploadErrorParam.Where(err => err.update_time >= DateTime.Now.Date).ToList();
- foreach (var err in lstUploadErrorParam)
- {
- this.dgvError.Rows.Add(false, err.addtime, err.update_time, err.cat_id, err.cat_name, err.source_id,
- err.product_id, err.message, err.remark, err.is_repair);
- if (this.dgvError.Rows.Count > 5000)
- break;
- }
-
-#if DEBUG
- btnGetProp材质.Visible = true;
- label2.Visible = true;
-#endif
- }
-
- private void btnCancel_Click(object sender, EventArgs e)
- {
- this.panel1.Visible = false;
- }
-
- private void btnSave_Click(object sender, EventArgs e)
- {
- var err = panel1.Tag as UploadErrorParam;
- if (err == null)
- return;
-
- err.remark = textBox1.Text.Trim();
- NaiBa.Util.Helper.ConfigHelper.SaveConfig>("upload_product_error_data", lstUploadErrorParam);
- var row = dgvError.Rows.Cast().FirstOrDefault(r => r.Cells["ColProductId"].Value.ToString() == err.product_id
- && r.Cells["ColError"].Value.ToString() == err.message && r.Cells["ColCatId"].Value.ToString() == err.cat_id);
- row.Cells["ColRemark"].Value = err.remark;
- this.panel1.Visible = false;
- }
-
- private void dgvError_CellClick(object sender, DataGridViewCellEventArgs e)
- {
- if (e.ColumnIndex < 0 || e.RowIndex < 0)
- return;
-
- string headerText = dgvError.Columns[e.ColumnIndex].HeaderText;
- string from = dgvError.Rows[e.RowIndex].Cells["ColFrom"].Value.ToString();
- string productId = dgvError.Rows[e.RowIndex].Cells["ColProductId"].Value.ToString();
- string cat_id = dgvError.Rows[e.RowIndex].Cells["ColCatId"].Value.ToString();
- string message = dgvError.Rows[e.RowIndex].Cells["ColError"].Value.ToString();
- if (headerText == "备注")
- {
- var text = dgvError.Rows[e.RowIndex].Cells[e.ColumnIndex].Value;
- var err = lstUploadErrorParam.FirstOrDefault(r => r.cat_id == cat_id && r.product_id == productId && r.message == message);
- if (err != null)
- {
- this.panel1.Tag = err;
- this.panel1.Visible = true;
- this.panel1.BringToFront();
- this.textBox1.Text = err.remark;
- }
- }
- }
-
- private void btnAddToUpload_Click(object sender, EventArgs e)
- {
- var rows = dgvError.Rows.Cast().Where(r => r.Selected).ToList();
- var rows1 = dgvError.Rows.Cast().Where(r => r.Cells["colSelect"].Value?.ParseToBool() == true);
- rows.AddRange(rows1);
-
- List productIds = new List();
- foreach (DataGridViewRow r in rows)
- {
- string from = r.Cells["ColFrom"].Value.ToString();
- string productId = r.Cells["ColProductId"].Value.ToString();
-
- string upUrl = "";
- if (from.StartsWith("tb"))
- upUrl = "https://item.taobao.com/item.htm?id=" + productId;
- if (from.StartsWith("pd"))
- upUrl = "https://mobile.yangkeduo.com/goods.html?goods_id=" + productId;
- if (from.StartsWith("al"))
- upUrl = "https://detail.1688.com/offer/" + productId + ".html";
- if (from.StartsWith("jx"))
- upUrl = "https://item.jd.com/" + productId + ".html";
- if (from.StartsWith("dy"))
- upUrl = "https://haohuo.jinritemai.com/views/product/detail?id=" + productId;
- if (string.IsNullOrEmpty(productId))
- upUrl = "https://www.baidu.com";
- productIds.Add(upUrl);
- }
- if (UploadProductForm.instance != null)
- {
- UploadProductForm.instance.InputDataData(productIds.ToArray());
- }
- }
-
- private void buttonExportCsv_Click(object sender, EventArgs e)
- {
- if (Fission.goodsCategoryList.Count == 0)
- Fission.goodsCategoryList = JsonHelper.DeserializeJsonToList(DyCategoryParam.DyCategorys);
-
- OpenFileDialog openFileDialog = new OpenFileDialog();
- openFileDialog.Filter = "数据.csv文件(*.csv)|*.csv";
- openFileDialog.RestoreDirectory = true;
- openFileDialog.FilterIndex = 1;
- openFileDialog.Multiselect = true;
- if (openFileDialog.ShowDialog() == DialogResult.OK)
- {
- Task.Run(() =>
- {
- foreach (var fileName in openFileDialog.FileNames)
- {
- string lineStr = string.Empty;
- string productUrl = string.Empty;
- try
- {
- using (StreamReader sr = new StreamReader(fileName, Encoding.Default))
- {
- int row = 0;
- while ((lineStr = sr.ReadLine()) != null)
- {
- List LineStrs = lineStr.Split(new string[] { "," },
- StringSplitOptions.RemoveEmptyEntries).ToList();
- if (LineStrs.Count < 7)
- continue;
-
- UploadErrorParam err = new UploadErrorParam()
- {
- cat_id = LineStrs[3].Trim('\''),
- message = LineStrs[6].Trim('\''),
- product_id = LineStrs[4].Trim('\''),
- source_id = LineStrs[5].Trim('\''),
- addtime = Convert.ToDateTime(LineStrs[1].Trim('\'')),
- update_time = Convert.ToDateTime(LineStrs[2].Trim('\'')),
- };
- var cat = Fission.goodsCategoryList.FirstOrDefault(c => c.id.ToString() == err.cat_id);
- string catName = "^" + cat?.name;
- if (cat != null && cat.name != "全部分类")
- {
- var parentCat = cat;
- while (parentCat != null && parentCat.parent_cid != 0)
- {
- parentCat = Fission.goodsCategoryList.FirstOrDefault(mc => mc.id == parentCat.parent_cid);
- catName = "^" + parentCat.name + catName;
- }
- }
- err.cat_name = catName.Trim('^');
-
- if (lstUploadErrorParam.Any(r => r.cat_id == err.cat_id && r.product_id == err.product_id && r.message == err.message))
- continue;
-
- lstUploadErrorParam.Add(err);
-
- Invoke(new Action(() =>
- {
- if (err.update_time > DateTime.Now.Date /*&& err.message.Contains("类目属性")*/)
- this.dgvError.Rows.Add(false, err.addtime, err.update_time, err.cat_id, err.cat_name, err.source_id,
- err.product_id, err.message, err.remark, err.is_repair);
- }));
- row++;
- }
- }
- }
- catch (Exception ex)
- {
- if (ex.Message.Contains("无法访问"))
- {
- BaseMsgForm.ShowInfo("文件" + fileName + "打开失败,请查看是否有其他应用正在使用。");
- }
- }
- }
- NaiBa.Util.Helper.ConfigHelper.SaveConfig>("upload_product_error_data", lstUploadErrorParam);
- });
- }
- }
-
- private void dgvError_KeyPress(object sender, KeyPressEventArgs e)
- {
- if (e.KeyChar == ' ')
- {
- }
- }
-
- private void dgvError_KeyDown(object sender, KeyEventArgs e)
- {
- if (e.KeyCode == Keys.Delete)
- {
- var rows = dgvError.Rows.Cast().ToList().Where(r => r.Selected);
- foreach (var row in rows)
- {
- var err = lstUploadErrorParam.FirstOrDefault(er => er.cat_id == row.Cells["ColCatId"].Value.ToString()
- && er.product_id == row.Cells["ColProductId"].Value.ToString());
- if (err != null)
- lstUploadErrorParam.Remove(err);
-
- dgvError.Rows.Remove(row);
- }
- }
- }
-
- private void btnGetProp材质_Click(object sender, EventArgs e)
- {
- Task.Run(() =>
- {
- if (Fission.goodsCategoryList.Count == 0)
- Fission.goodsCategoryList = JsonHelper.DeserializeJsonToList(DyCategoryParam.DyCategorys);
- var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ApiAuthStatus == "授权成功");
- StringBuilder sb = new StringBuilder();
- sb.Append(FileBase.ReadAllText("抖音类目包含材质必填项的属性.txt"));
- string errStr = "";
-
- int num = 0;
- foreach (var ca in Fission.goodsCategoryList)
- {
- num++;
- if (num % 100 == 99)
- {
- FileBase.WriteAllText("抖音类目包含材质必填项的属性.txt", sb.ToString());
- }
-
- Invoke(new Action(() => { this.label2.Text = num + "/" + Fission.goodsCategoryList.Count; }));
- if (sb.ToString().StartsWith(ca.id + "^") || sb.ToString().Contains("\r\n" + ca.id + "^"))
- continue;
-
- if (!ca.is_leaf)
- continue;
-
- string str = "";
-
- CatePropertyResponseInfo propery = new UploadPropertyBLL().getCatePropertyInterfaceV2(ca.id.ToString(), shop);
- while (propery == null)
- {
- Thread.Sleep(1000);
- propery = new UploadPropertyBLL().getCatePropertyInterfaceV2(ca.id.ToString(), shop);
- }
- if (propery.data?.data == null || propery.data?.data.Count == 0)
- {
- // 此类目已调整升级,请重新选择类目进行商品发布
- // 其他酒类
- // 农用/环境用卫生农药
- // 追悼/奠仪用花
- errStr += ca.name + "^" + propery.err_no + "^" + propery.log_id + "^" + propery.message + "^" + propery.sub_msg + "\r\n";
- FileBase.WriteAllText("抖音类目属性获取错误.txt", errStr);
- continue;
- }
- foreach (var pItem in propery?.data?.data)
- {
- if ((pItem.property_name.Contains("材质") || pItem.property_name.Contains("含量")) && pItem.required)
- str += "^" + pItem.property_name;
- }
- if (!string.IsNullOrEmpty(str))
- {
- string catName = "^" + ca.name;
- var parentCat = ca;
- while (parentCat.parent_cid != 0)
- {
- parentCat = Fission.goodsCategoryList.FirstOrDefault(mc => mc.id == parentCat.parent_cid);
- catName = "^" + parentCat.name + catName;
- }
- sb.Append(ca.id + "^" + catName.Trim('^') + "-----" + str.Trim('^') + "\r\n");
- }
- Thread.Sleep(Randomx.GetId(100, 300));
- }
- FileBase.WriteAllText("抖音类目包含材质必填项的属性.txt", sb.ToString());
- });
- }
-
- private void btnGetDetail_Click(object sender, EventArgs e)
- {
- var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopAccount == "开箱小店");
- if (shop != null)
- {
- DouyinApi api = new DouyinApi(shop);
- api.JsonData = new Dictionary();
- api.JsonData["product_id"] = "3550791292457991728";
- var html = api.GetProductDetail();
- }
- }
-
- private void btnOnlineSearch_Click(object sender, EventArgs e)
- {
- if (Fission.goodsCategoryList.Count == 0)
- Fission.goodsCategoryList = JsonHelper.DeserializeJsonToList(DyCategoryParam.DyCategorys);
-
- var result = GetHtml.GetUrl("http://192.168.8.157:801/data.php?page=1&limit=1000");
- if (string.IsNullOrEmpty(result))
- return;
- JObject jObj = JObject.Parse(result);
-
- foreach (JObject obj in jObj["data"])
- {
- var objStr = obj.ToString();
-
- UploadErrorParam err = new UploadErrorParam()
- {
- cat_id = BaseRegex.GetStringJson(ref objStr, "cat_id"),
- message = BaseRegex.GetStringJson(ref objStr, "message"),
- product_id = BaseRegex.GetStringJson(ref objStr, "product_id"),
- source_id = BaseRegex.GetStringJson(ref objStr, "source_id"),
- addtime = Convert.ToDateTime(BaseRegex.GetStringJson(ref objStr, "addtime")),
- update_time = Convert.ToDateTime(BaseRegex.GetStringJson(ref objStr, "update_time")),
- };
- var cat = Fission.goodsCategoryList.FirstOrDefault(c => c.id.ToString() == err.cat_id);
- string catName = "^" + cat?.name;
- if (cat != null && cat.name != "全部分类")
- {
- var parentCat = cat;
- while (parentCat != null && parentCat.parent_cid != 0)
- {
- parentCat = Fission.goodsCategoryList.FirstOrDefault(mc => mc.id == parentCat.parent_cid);
- catName = "^" + parentCat.name + catName;
- }
- }
- err.cat_name = catName.Trim('^');
-
- if (lstUploadErrorParam.Any(r => r.cat_id == err.cat_id && r.product_id == err.product_id && r.message == err.message))
- continue;
-
- lstUploadErrorParam.Add(err);
-
- Invoke(new Action(() =>
- {
- if (err.update_time > DateTime.Now.Date /*&& err.message.Contains("类目属性")*/)
- this.dgvError.Rows.Add(false, err.addtime, err.update_time, err.cat_id, err.cat_name, err.source_id,
- err.product_id, err.message, err.remark, err.is_repair);
- }));
- }
-
- NaiBa.Util.Helper.ConfigHelper.SaveConfig>("upload_product_error_data", lstUploadErrorParam);
- }
- }
-}
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/UploadProductErrorForm.resx b/TEMUKJD/KJDForms/ProductForms/Old/UploadProductErrorForm.resx
deleted file mode 100644
index f0274b6..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/UploadProductErrorForm.resx
+++ /dev/null
@@ -1,150 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/UploadProductForm.Designer.cs b/TEMUKJD/KJDForms/ProductForms/Old/UploadProductForm.Designer.cs
deleted file mode 100644
index 66967a3..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/UploadProductForm.Designer.cs
+++ /dev/null
@@ -1,3251 +0,0 @@
-namespace TemuKJD.KJDForms.ProductForms
-{
- partial class UploadProductForm
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
- this.splitContainer1 = new System.Windows.Forms.SplitContainer();
- this.chkSaveUploadFailed = new System.Windows.Forms.CheckBox();
- this.waitButton = new DevComponents.DotNetBar.PanelEx();
- this.ucTabControlMetro1 = new PinBaoBao.UserControls.UcTabControlMetro();
- this.tabPage1 = new System.Windows.Forms.TabPage();
- this.chkShopFissionUpload = new System.Windows.Forms.CheckBox();
- this.chkDelFirstContentPic = new System.Windows.Forms.CheckBox();
- this.cmbDelMainPic = new System.Windows.Forms.ComboBox();
- this.chkDelMainPic = new System.Windows.Forms.CheckBox();
- this.cmb7Day = new System.Windows.Forms.ComboBox();
- this.label23 = new System.Windows.Forms.Label();
- this.txtProductBrand = new System.Windows.Forms.TextBox();
- this.chkSaveToDraft = new System.Windows.Forms.CheckBox();
- this.label15 = new System.Windows.Forms.Label();
- this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel();
- this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.txtMultiple = new System.Windows.Forms.TextBox();
- this.lblFromTo = new DevComponents.DotNetBar.LabelX();
- this.txtMultiple2 = new System.Windows.Forms.TextBox();
- this.label3 = new System.Windows.Forms.Label();
- this.cmbPlusOrMinus = new System.Windows.Forms.ComboBox();
- this.txtPostage = new System.Windows.Forms.TextBox();
- this.lblFromTo2 = new DevComponents.DotNetBar.LabelX();
- this.cmbPlusOrMinus2 = new System.Windows.Forms.ComboBox();
- this.txtPostage2 = new System.Windows.Forms.TextBox();
- this.label5 = new System.Windows.Forms.Label();
- this.chkRoundPrice = new System.Windows.Forms.CheckBox();
- this.chkMultiUpload = new System.Windows.Forms.CheckBox();
- this.label14 = new System.Windows.Forms.Label();
- this.txtPhone = new System.Windows.Forms.TextBox();
- this.lowPricePercenttextBox = new System.Windows.Forms.TextBox();
- this.txtStockLessThanCount = new System.Windows.Forms.TextBox();
- this.txtSingleUpload = new System.Windows.Forms.TextBox();
- this.label4 = new System.Windows.Forms.Label();
- this.beforPricetextBox = new System.Windows.Forms.TextBox();
- this.txtCustomStock = new System.Windows.Forms.TextBox();
- this.txtMinSku = new System.Windows.Forms.TextBox();
- this.label11 = new System.Windows.Forms.Label();
- this.chkMinSku = new System.Windows.Forms.CheckBox();
- this.label9 = new System.Windows.Forms.Label();
- this.chkRandomMainImage = new System.Windows.Forms.CheckBox();
- this.chkStockLessThan = new System.Windows.Forms.CheckBox();
- this.label37 = new System.Windows.Forms.Label();
- this.label26 = new System.Windows.Forms.Label();
- this.label18 = new System.Windows.Forms.Label();
- this.chkCustomStock = new System.Windows.Forms.CheckBox();
- this.comboBox5 = new System.Windows.Forms.ComboBox();
- this.lowPricecheckBox = new System.Windows.Forms.CheckBox();
- this.lowPriceAddtextBox = new System.Windows.Forms.TextBox();
- this.label32 = new System.Windows.Forms.Label();
- this.label34 = new System.Windows.Forms.Label();
- this.label24 = new System.Windows.Forms.Label();
- this.tabPage2 = new System.Windows.Forms.TabPage();
- this.label2 = new System.Windows.Forms.Label();
- this.endDateTimePicker = new System.Windows.Forms.DateTimePicker();
- this.chkFuzzyMatching = new System.Windows.Forms.CheckBox();
- this.cmbNewPreTime = new System.Windows.Forms.ComboBox();
- this.cmbSendDayAfterPre = new System.Windows.Forms.ComboBox();
- this.buttonEx2 = new TemuKJD.UserControls.ButtonEx();
- this.cmbSendType = new System.Windows.Forms.ComboBox();
- this.txtremark = new System.Windows.Forms.TextBox();
- this.label13 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
- this.comboBox1 = new System.Windows.Forms.ComboBox();
- this.prefixTextBox = new System.Windows.Forms.TextBox();
- this.proxyCheckBox = new System.Windows.Forms.CheckBox();
- this.label8 = new System.Windows.Forms.Label();
- this.label6 = new System.Windows.Forms.Label();
- this.cmbSendDay = new System.Windows.Forms.ComboBox();
- this.sendTime = new System.Windows.Forms.Label();
- this.label12 = new System.Windows.Forms.Label();
- this.label7 = new System.Windows.Forms.Label();
- this.lblNewPreTime = new System.Windows.Forms.Label();
- this.tabPage5 = new System.Windows.Forms.TabPage();
- this.btnSetTitleRemove = new DevComponents.DotNetBar.PanelEx();
- this.btnSetBrandFilter = new DevComponents.DotNetBar.PanelEx();
- this.btnSetViolateCheck = new DevComponents.DotNetBar.PanelEx();
- this.btnSetSkuFilter = new DevComponents.DotNetBar.PanelEx();
- this.btnSetTitleFilter = new DevComponents.DotNetBar.PanelEx();
- this.chkOnlyPostFree = new System.Windows.Forms.CheckBox();
- this.chkFilterRemoveTitle = new System.Windows.Forms.CheckBox();
- this.chkFilterTMChaoShi = new System.Windows.Forms.CheckBox();
- this.chkViolateCheck = new System.Windows.Forms.CheckBox();
- this.chkFilterSku = new System.Windows.Forms.CheckBox();
- this.chkFilterTitle = new System.Windows.Forms.CheckBox();
- this.chkFilterBrand = new System.Windows.Forms.CheckBox();
- this.tabPage3 = new System.Windows.Forms.TabPage();
- this.btn删除食品许可证 = new DevComponents.DotNetBar.PanelEx();
- this.btn删除包装标签图 = new DevComponents.DotNetBar.PanelEx();
- this.btn删除质检报告 = new DevComponents.DotNetBar.PanelEx();
- this.btn上传质检报告 = new DevComponents.DotNetBar.PanelEx();
- this.btn上传包装标签图 = new DevComponents.DotNetBar.PanelEx();
- this.btn上传食品许可证 = new DevComponents.DotNetBar.PanelEx();
- this.pictureBox3 = new System.Windows.Forms.PictureBox();
- this.pictureBox2 = new System.Windows.Forms.PictureBox();
- this.pictureBox1 = new System.Windows.Forms.PictureBox();
- this.label22 = new System.Windows.Forms.Label();
- this.label21 = new System.Windows.Forms.Label();
- this.label20 = new System.Windows.Forms.Label();
- this.chkUseGlobalQualifications = new System.Windows.Forms.CheckBox();
- this.txt食品生产许可证编号 = new System.Windows.Forms.TextBox();
- this.label19 = new System.Windows.Forms.Label();
- this.txt生产企业名称 = new System.Windows.Forms.TextBox();
- this.txtBrand = new System.Windows.Forms.TextBox();
- this.label17 = new System.Windows.Forms.Label();
- this.label16 = new System.Windows.Forms.Label();
- this.tabPage4 = new System.Windows.Forms.TabPage();
- this.checkBox1 = new System.Windows.Forms.CheckBox();
- this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.checkBox2 = new System.Windows.Forms.CheckBox();
- this.chkCustomCategory = new System.Windows.Forms.CheckBox();
- this.shopthreadCountTextBox = new System.Windows.Forms.ComboBox();
- this.btnUpload = new TemuKJD.UserControls.ButtonEx();
- this.buttonEx1 = new TemuKJD.UserControls.ButtonEx();
- this.btnUploadGood = new TemuKJD.UserControls.ButtonEx();
- this.countLabel = new System.Windows.Forms.Label();
- this.label29 = new System.Windows.Forms.Label();
- this.lblWaitUpload = new System.Windows.Forms.Label();
- this.splitContainer3 = new System.Windows.Forms.SplitContainer();
- this.splitContainer2 = new System.Windows.Forms.SplitContainer();
- this.cboHour = new System.Windows.Forms.ComboBox();
- this.btnTest = new TemuKJD.UserControls.ButtonEx();
- this.buttonEx4 = new TemuKJD.UserControls.ButtonEx();
- this.chklogistime = new System.Windows.Forms.CheckBox();
- this.label48 = new System.Windows.Forms.Label();
- this.label10 = new System.Windows.Forms.Label();
- this.littleSkuCheckBox = new System.Windows.Forms.CheckBox();
- this.txtRatio = new System.Windows.Forms.TextBox();
- this.chkSaveToOffLine = new System.Windows.Forms.CheckBox();
- this.chkIsSetCommission = new System.Windows.Forms.CheckBox();
- this.btnGetUpId = new TemuKJD.UserControls.ButtonEx();
- this.txtUpProduct = new System.Windows.Forms.TextBox();
- this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
- this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
- this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colUploadCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.pnlShowError = new DevComponents.DotNetBar.PanelEx();
- this.splitContainer4 = new System.Windows.Forms.SplitContainer();
- this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
- this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
- this.btnGo = new System.Windows.Forms.Button();
- this.label27 = new System.Windows.Forms.Label();
- this.txtGoPage = new System.Windows.Forms.TextBox();
- this.label36 = new System.Windows.Forms.Label();
- this.lblTotalPage = new System.Windows.Forms.Label();
- this.btnNext = new System.Windows.Forms.Button();
- this.lblCurrentPage = new System.Windows.Forms.Label();
- this.btnPrev = new System.Windows.Forms.Button();
- this.lblPage1 = new System.Windows.Forms.Label();
- this.AutoRefcheckBox = new System.Windows.Forms.CheckBox();
- this.canUpColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
- this.showedColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
- this.explodeColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
- this.BuyAPIColumn = new System.Windows.Forms.DataGridViewLinkColumn();
- this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
- this.dataGridViewCheckBoxColumn2 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
- this.dataGridViewCheckBoxColumn3 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
- this.dataGridViewLinkColumn1 = new System.Windows.Forms.DataGridViewLinkColumn();
- this.shopNameColumnx = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.nameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.catNameColumnx = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.upCountColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.productCountColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.messageColumnx = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.APIColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.ServiceEndTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.EndTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.shopRemarkColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.messageColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.colFromFake = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.fromColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.prcieColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.titleColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.shopNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.productIdColumn = new System.Windows.Forms.DataGridViewLinkColumn();
- this.idColumn = new System.Windows.Forms.DataGridViewLinkColumn();
- this.dgvProduct = new TemuKJD.UserComponent.DataGridViewEx();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
- this.splitContainer1.Panel1.SuspendLayout();
- this.splitContainer1.Panel2.SuspendLayout();
- this.splitContainer1.SuspendLayout();
- this.ucTabControlMetro1.SuspendLayout();
- this.tabPage1.SuspendLayout();
- this.flowLayoutPanel2.SuspendLayout();
- this.tabPage2.SuspendLayout();
- this.tabPage5.SuspendLayout();
- this.tabPage3.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
- this.tabPage4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
- this.splitContainer3.Panel1.SuspendLayout();
- this.splitContainer3.Panel2.SuspendLayout();
- this.splitContainer3.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
- this.splitContainer2.Panel1.SuspendLayout();
- this.splitContainer2.Panel2.SuspendLayout();
- this.splitContainer2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
- this.splitContainer4.Panel1.SuspendLayout();
- this.splitContainer4.Panel2.SuspendLayout();
- this.splitContainer4.SuspendLayout();
- this.flowLayoutPanel1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dgvProduct)).BeginInit();
- this.SuspendLayout();
- //
- // splitContainer1
- //
- this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
- this.splitContainer1.Location = new System.Drawing.Point(0, 0);
- this.splitContainer1.Name = "splitContainer1";
- this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
- //
- // splitContainer1.Panel1
- //
- this.splitContainer1.Panel1.Controls.Add(this.chkSaveUploadFailed);
- this.splitContainer1.Panel1.Controls.Add(this.waitButton);
- this.splitContainer1.Panel1.Controls.Add(this.ucTabControlMetro1);
- this.splitContainer1.Panel1.Controls.Add(this.shopthreadCountTextBox);
- this.splitContainer1.Panel1.Controls.Add(this.btnUpload);
- this.splitContainer1.Panel1.Controls.Add(this.buttonEx1);
- this.splitContainer1.Panel1.Controls.Add(this.btnUploadGood);
- this.splitContainer1.Panel1.Controls.Add(this.countLabel);
- this.splitContainer1.Panel1.Controls.Add(this.label29);
- this.splitContainer1.Panel1.Controls.Add(this.lblWaitUpload);
- //
- // splitContainer1.Panel2
- //
- this.splitContainer1.Panel2.Controls.Add(this.splitContainer3);
- this.splitContainer1.Size = new System.Drawing.Size(1110, 647);
- this.splitContainer1.SplitterDistance = 180;
- this.splitContainer1.TabIndex = 2;
- //
- // chkSaveUploadFailed
- //
- this.chkSaveUploadFailed.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.chkSaveUploadFailed.AutoSize = true;
- this.chkSaveUploadFailed.FlatAppearance.BorderSize = 0;
- this.chkSaveUploadFailed.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkSaveUploadFailed.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkSaveUploadFailed.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.chkSaveUploadFailed.Location = new System.Drawing.Point(932, 61);
- this.chkSaveUploadFailed.Margin = new System.Windows.Forms.Padding(2);
- this.chkSaveUploadFailed.Name = "chkSaveUploadFailed";
- this.chkSaveUploadFailed.Size = new System.Drawing.Size(144, 21);
- this.chkSaveUploadFailed.TabIndex = 491;
- this.chkSaveUploadFailed.Text = "自动保存上货失败商品";
- this.chkSaveUploadFailed.UseVisualStyleBackColor = true;
- this.chkSaveUploadFailed.CheckedChanged += new System.EventHandler(this.chkSaveUploadFailed_CheckedChanged);
- //
- // waitButton
- //
- this.waitButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.waitButton.CanvasColor = System.Drawing.SystemColors.Control;
- this.waitButton.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.waitButton.DisabledBackColor = System.Drawing.Color.Empty;
- this.waitButton.Location = new System.Drawing.Point(1007, 117);
- this.waitButton.Name = "waitButton";
- this.waitButton.Size = new System.Drawing.Size(72, 25);
- this.waitButton.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.waitButton.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.waitButton.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.waitButton.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.waitButton.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.waitButton.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.waitButton.Style.GradientAngle = 90;
- this.waitButton.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.waitButton.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.waitButton.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.waitButton.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.waitButton.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.waitButton.TabIndex = 409;
- this.waitButton.Text = "暂停";
- this.waitButton.Click += new System.EventHandler(this.waitButton_Click);
- //
- // ucTabControlMetro1
- //
- this.ucTabControlMetro1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)));
- this.ucTabControlMetro1.BackgroundColor = System.Drawing.Color.White;
- this.ucTabControlMetro1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.ucTabControlMetro1.Controls.Add(this.tabPage1);
- this.ucTabControlMetro1.Controls.Add(this.tabPage2);
- this.ucTabControlMetro1.Controls.Add(this.tabPage5);
- this.ucTabControlMetro1.Controls.Add(this.tabPage3);
- this.ucTabControlMetro1.Controls.Add(this.tabPage4);
- this.ucTabControlMetro1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.ucTabControlMetro1.Location = new System.Drawing.Point(2, 2);
- this.ucTabControlMetro1.Multiline = true;
- this.ucTabControlMetro1.Name = "ucTabControlMetro1";
- this.ucTabControlMetro1.SelectedIndex = 0;
- this.ucTabControlMetro1.ShowCloseButton = false;
- this.ucTabControlMetro1.Size = new System.Drawing.Size(894, 180);
- this.ucTabControlMetro1.TabIndex = 183;
- this.ucTabControlMetro1.TabSelectColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.ucTabControlMetro1.TabSelectTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.ucTabControlMetro1.TabUnSelectTextColor = System.Drawing.Color.White;
- //
- // tabPage1
- //
- this.tabPage1.Controls.Add(this.chkShopFissionUpload);
- this.tabPage1.Controls.Add(this.chkDelFirstContentPic);
- this.tabPage1.Controls.Add(this.cmbDelMainPic);
- this.tabPage1.Controls.Add(this.chkDelMainPic);
- this.tabPage1.Controls.Add(this.cmb7Day);
- this.tabPage1.Controls.Add(this.label23);
- this.tabPage1.Controls.Add(this.txtProductBrand);
- this.tabPage1.Controls.Add(this.chkSaveToDraft);
- this.tabPage1.Controls.Add(this.label15);
- this.tabPage1.Controls.Add(this.flowLayoutPanel2);
- this.tabPage1.Controls.Add(this.chkRoundPrice);
- this.tabPage1.Controls.Add(this.chkMultiUpload);
- this.tabPage1.Controls.Add(this.label14);
- this.tabPage1.Controls.Add(this.txtPhone);
- this.tabPage1.Controls.Add(this.lowPricePercenttextBox);
- this.tabPage1.Controls.Add(this.txtStockLessThanCount);
- this.tabPage1.Controls.Add(this.txtSingleUpload);
- this.tabPage1.Controls.Add(this.label4);
- this.tabPage1.Controls.Add(this.beforPricetextBox);
- this.tabPage1.Controls.Add(this.txtCustomStock);
- this.tabPage1.Controls.Add(this.txtMinSku);
- this.tabPage1.Controls.Add(this.label11);
- this.tabPage1.Controls.Add(this.chkMinSku);
- this.tabPage1.Controls.Add(this.label9);
- this.tabPage1.Controls.Add(this.chkRandomMainImage);
- this.tabPage1.Controls.Add(this.chkStockLessThan);
- this.tabPage1.Controls.Add(this.label37);
- this.tabPage1.Controls.Add(this.label26);
- this.tabPage1.Controls.Add(this.label18);
- this.tabPage1.Controls.Add(this.chkCustomStock);
- this.tabPage1.Controls.Add(this.comboBox5);
- this.tabPage1.Controls.Add(this.lowPricecheckBox);
- this.tabPage1.Controls.Add(this.lowPriceAddtextBox);
- this.tabPage1.Controls.Add(this.label32);
- this.tabPage1.Controls.Add(this.label34);
- this.tabPage1.Controls.Add(this.label24);
- this.tabPage1.Location = new System.Drawing.Point(4, 26);
- this.tabPage1.Name = "tabPage1";
- this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
- this.tabPage1.Size = new System.Drawing.Size(886, 150);
- this.tabPage1.TabIndex = 0;
- this.tabPage1.Text = " 参数设置一";
- this.tabPage1.UseVisualStyleBackColor = true;
- //
- // chkShopFissionUpload
- //
- this.chkShopFissionUpload.AutoSize = true;
- this.chkShopFissionUpload.FlatAppearance.BorderSize = 0;
- this.chkShopFissionUpload.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkShopFissionUpload.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkShopFissionUpload.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.chkShopFissionUpload.Location = new System.Drawing.Point(408, 65);
- this.chkShopFissionUpload.Margin = new System.Windows.Forms.Padding(2);
- this.chkShopFissionUpload.Name = "chkShopFissionUpload";
- this.chkShopFissionUpload.Size = new System.Drawing.Size(72, 21);
- this.chkShopFissionUpload.TabIndex = 491;
- this.chkShopFissionUpload.Text = "单店裂变";
- this.chkShopFissionUpload.UseVisualStyleBackColor = true;
- this.chkShopFissionUpload.Visible = false;
- //
- // chkDelFirstContentPic
- //
- this.chkDelFirstContentPic.AutoSize = true;
- this.chkDelFirstContentPic.FlatAppearance.BorderSize = 0;
- this.chkDelFirstContentPic.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkDelFirstContentPic.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkDelFirstContentPic.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.chkDelFirstContentPic.Location = new System.Drawing.Point(566, 8);
- this.chkDelFirstContentPic.Margin = new System.Windows.Forms.Padding(2);
- this.chkDelFirstContentPic.Name = "chkDelFirstContentPic";
- this.chkDelFirstContentPic.Size = new System.Drawing.Size(115, 21);
- this.chkDelFirstContentPic.TabIndex = 490;
- this.chkDelFirstContentPic.Text = "删除第1张详情图";
- this.chkDelFirstContentPic.UseVisualStyleBackColor = true;
- //
- // cmbDelMainPic
- //
- this.cmbDelMainPic.Font = new System.Drawing.Font("微软雅黑", 9F);
- this.cmbDelMainPic.FormattingEnabled = true;
- this.cmbDelMainPic.Items.AddRange(new object[] {
- "1",
- "2",
- "3",
- "4",
- "5",
- "6",
- "7",
- "8",
- "9",
- "10"});
- this.cmbDelMainPic.Location = new System.Drawing.Point(465, 6);
- this.cmbDelMainPic.Margin = new System.Windows.Forms.Padding(0);
- this.cmbDelMainPic.Name = "cmbDelMainPic";
- this.cmbDelMainPic.Size = new System.Drawing.Size(38, 25);
- this.cmbDelMainPic.TabIndex = 473;
- this.cmbDelMainPic.Text = "1";
- //
- // chkDelMainPic
- //
- this.chkDelMainPic.AutoSize = true;
- this.chkDelMainPic.FlatAppearance.BorderSize = 0;
- this.chkDelMainPic.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkDelMainPic.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkDelMainPic.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.chkDelMainPic.Location = new System.Drawing.Point(408, 8);
- this.chkDelMainPic.Margin = new System.Windows.Forms.Padding(2);
- this.chkDelMainPic.Name = "chkDelMainPic";
- this.chkDelMainPic.Size = new System.Drawing.Size(60, 21);
- this.chkDelMainPic.TabIndex = 472;
- this.chkDelMainPic.Text = "删除第";
- this.chkDelMainPic.UseVisualStyleBackColor = true;
- //
- // cmb7Day
- //
- this.cmb7Day.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.cmb7Day.FormattingEnabled = true;
- this.cmb7Day.Items.AddRange(new object[] {
- "不支持7天无理由",
- "支持7天无理由",
- "支持7天无理由(拆封后不支持)"});
- this.cmb7Day.Location = new System.Drawing.Point(387, 34);
- this.cmb7Day.Margin = new System.Windows.Forms.Padding(2);
- this.cmb7Day.Name = "cmb7Day";
- this.cmb7Day.Size = new System.Drawing.Size(336, 25);
- this.cmb7Day.TabIndex = 464;
- this.cmb7Day.Text = "支持7天无理由(拆封后不支持)";
- //
- // label23
- //
- this.label23.AutoSize = true;
- this.label23.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label23.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.label23.Location = new System.Drawing.Point(316, 38);
- this.label23.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label23.Name = "label23";
- this.label23.Size = new System.Drawing.Size(80, 17);
- this.label23.TabIndex = 471;
- this.label23.Text = "七天无理由:";
- //
- // txtProductBrand
- //
- this.txtProductBrand.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtProductBrand.Location = new System.Drawing.Point(452, 91);
- this.txtProductBrand.Margin = new System.Windows.Forms.Padding(2);
- this.txtProductBrand.Name = "txtProductBrand";
- this.txtProductBrand.Size = new System.Drawing.Size(271, 23);
- this.txtProductBrand.TabIndex = 438;
- this.txtProductBrand.TextChanged += new System.EventHandler(this.txtSetBrand_TextChanged);
- //
- // chkSaveToDraft
- //
- this.chkSaveToDraft.AutoSize = true;
- this.chkSaveToDraft.FlatAppearance.BorderSize = 0;
- this.chkSaveToDraft.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkSaveToDraft.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkSaveToDraft.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.chkSaveToDraft.Location = new System.Drawing.Point(563, 119);
- this.chkSaveToDraft.Margin = new System.Windows.Forms.Padding(2);
- this.chkSaveToDraft.Name = "chkSaveToDraft";
- this.chkSaveToDraft.Size = new System.Drawing.Size(84, 21);
- this.chkSaveToDraft.TabIndex = 423;
- this.chkSaveToDraft.Text = "存至草稿箱";
- this.chkSaveToDraft.UseVisualStyleBackColor = true;
- //
- // label15
- //
- this.label15.AutoSize = true;
- this.label15.BackColor = System.Drawing.Color.Transparent;
- this.label15.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label15.Location = new System.Drawing.Point(316, 94);
- this.label15.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label15.Name = "label15";
- this.label15.Size = new System.Drawing.Size(145, 17);
- this.label15.TabIndex = 437;
- this.label15.Text = "指定旗舰店/专营店品牌:";
- //
- // flowLayoutPanel2
- //
- this.flowLayoutPanel2.Controls.Add(this.labelX1);
- this.flowLayoutPanel2.Controls.Add(this.txtMultiple);
- this.flowLayoutPanel2.Controls.Add(this.lblFromTo);
- this.flowLayoutPanel2.Controls.Add(this.txtMultiple2);
- this.flowLayoutPanel2.Controls.Add(this.label3);
- this.flowLayoutPanel2.Controls.Add(this.cmbPlusOrMinus);
- this.flowLayoutPanel2.Controls.Add(this.txtPostage);
- this.flowLayoutPanel2.Controls.Add(this.lblFromTo2);
- this.flowLayoutPanel2.Controls.Add(this.cmbPlusOrMinus2);
- this.flowLayoutPanel2.Controls.Add(this.txtPostage2);
- this.flowLayoutPanel2.Controls.Add(this.label5);
- this.flowLayoutPanel2.Location = new System.Drawing.Point(11, 5);
- this.flowLayoutPanel2.Name = "flowLayoutPanel2";
- this.flowLayoutPanel2.Size = new System.Drawing.Size(302, 27);
- this.flowLayoutPanel2.TabIndex = 183;
- //
- // labelX1
- //
- this.labelX1.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.labelX1.AutoSize = true;
- //
- //
- //
- this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.labelX1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.labelX1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.labelX1.Location = new System.Drawing.Point(0, 3);
- this.labelX1.Margin = new System.Windows.Forms.Padding(0, 0, 1, 0);
- this.labelX1.Name = "labelX1";
- this.labelX1.PaddingRight = -10;
- this.labelX1.Size = new System.Drawing.Size(46, 20);
- this.labelX1.TabIndex = 440;
- this.labelX1.Text = "原 价:";
- //
- // txtMultiple
- //
- this.txtMultiple.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.txtMultiple.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtMultiple.Location = new System.Drawing.Point(47, 2);
- this.txtMultiple.Margin = new System.Windows.Forms.Padding(0);
- this.txtMultiple.Name = "txtMultiple";
- this.txtMultiple.Size = new System.Drawing.Size(32, 23);
- this.txtMultiple.TabIndex = 361;
- this.txtMultiple.Text = "1.08";
- this.txtMultiple.TextChanged += new System.EventHandler(this.txtMultiple_TextChanged);
- //
- // lblFromTo
- //
- this.lblFromTo.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.lblFromTo.AutoSize = true;
- //
- //
- //
- this.lblFromTo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.lblFromTo.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.lblFromTo.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.lblFromTo.Location = new System.Drawing.Point(79, 3);
- this.lblFromTo.Margin = new System.Windows.Forms.Padding(0);
- this.lblFromTo.Name = "lblFromTo";
- this.lblFromTo.PaddingLeft = -2;
- this.lblFromTo.PaddingRight = -3;
- this.lblFromTo.Size = new System.Drawing.Size(11, 20);
- this.lblFromTo.TabIndex = 446;
- this.lblFromTo.Text = "~";
- this.lblFromTo.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // txtMultiple2
- //
- this.txtMultiple2.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.txtMultiple2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtMultiple2.Location = new System.Drawing.Point(90, 2);
- this.txtMultiple2.Margin = new System.Windows.Forms.Padding(0);
- this.txtMultiple2.Name = "txtMultiple2";
- this.txtMultiple2.Size = new System.Drawing.Size(32, 23);
- this.txtMultiple2.TabIndex = 441;
- this.txtMultiple2.Text = "1.18";
- this.txtMultiple2.TextChanged += new System.EventHandler(this.txtMultiple2_TextChanged);
- //
- // label3
- //
- this.label3.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.label3.AutoSize = true;
- this.label3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.label3.Location = new System.Drawing.Point(122, 5);
- this.label3.Margin = new System.Windows.Forms.Padding(0, 0, 2, 0);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(20, 17);
- this.label3.TabIndex = 362;
- this.label3.Text = "倍";
- this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // cmbPlusOrMinus
- //
- this.cmbPlusOrMinus.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.cmbPlusOrMinus.Font = new System.Drawing.Font("宋体", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.cmbPlusOrMinus.FormattingEnabled = true;
- this.cmbPlusOrMinus.Items.AddRange(new object[] {
- "+",
- "-"});
- this.cmbPlusOrMinus.Location = new System.Drawing.Point(144, 2);
- this.cmbPlusOrMinus.Margin = new System.Windows.Forms.Padding(0);
- this.cmbPlusOrMinus.Name = "cmbPlusOrMinus";
- this.cmbPlusOrMinus.Size = new System.Drawing.Size(32, 23);
- this.cmbPlusOrMinus.TabIndex = 364;
- this.cmbPlusOrMinus.Text = "+";
- this.cmbPlusOrMinus.SelectedIndexChanged += new System.EventHandler(this.txtPostage_TextChanged);
- //
- // txtPostage
- //
- this.txtPostage.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.txtPostage.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtPostage.Location = new System.Drawing.Point(178, 2);
- this.txtPostage.Margin = new System.Windows.Forms.Padding(2, 2, 0, 2);
- this.txtPostage.Name = "txtPostage";
- this.txtPostage.Size = new System.Drawing.Size(25, 23);
- this.txtPostage.TabIndex = 363;
- this.txtPostage.Text = "0";
- this.txtPostage.TextChanged += new System.EventHandler(this.txtPostage_TextChanged);
- //
- // lblFromTo2
- //
- this.lblFromTo2.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.lblFromTo2.AutoSize = true;
- //
- //
- //
- this.lblFromTo2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.lblFromTo2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.lblFromTo2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.lblFromTo2.Location = new System.Drawing.Point(203, 3);
- this.lblFromTo2.Margin = new System.Windows.Forms.Padding(0);
- this.lblFromTo2.Name = "lblFromTo2";
- this.lblFromTo2.PaddingLeft = -2;
- this.lblFromTo2.PaddingRight = -3;
- this.lblFromTo2.Size = new System.Drawing.Size(11, 20);
- this.lblFromTo2.TabIndex = 447;
- this.lblFromTo2.Text = "~";
- this.lblFromTo2.TextAlignment = System.Drawing.StringAlignment.Center;
- //
- // cmbPlusOrMinus2
- //
- this.cmbPlusOrMinus2.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.cmbPlusOrMinus2.Font = new System.Drawing.Font("宋体", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.cmbPlusOrMinus2.FormattingEnabled = true;
- this.cmbPlusOrMinus2.Items.AddRange(new object[] {
- "+",
- "-"});
- this.cmbPlusOrMinus2.Location = new System.Drawing.Point(214, 2);
- this.cmbPlusOrMinus2.Margin = new System.Windows.Forms.Padding(0);
- this.cmbPlusOrMinus2.Name = "cmbPlusOrMinus2";
- this.cmbPlusOrMinus2.Size = new System.Drawing.Size(32, 23);
- this.cmbPlusOrMinus2.TabIndex = 448;
- this.cmbPlusOrMinus2.Text = "+";
- this.cmbPlusOrMinus2.SelectedIndexChanged += new System.EventHandler(this.txtPostage2_TextChanged);
- //
- // txtPostage2
- //
- this.txtPostage2.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.txtPostage2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtPostage2.Location = new System.Drawing.Point(248, 2);
- this.txtPostage2.Margin = new System.Windows.Forms.Padding(2, 2, 0, 2);
- this.txtPostage2.Name = "txtPostage2";
- this.txtPostage2.Size = new System.Drawing.Size(25, 23);
- this.txtPostage2.TabIndex = 444;
- this.txtPostage2.Text = "10";
- this.txtPostage2.TextChanged += new System.EventHandler(this.txtPostage2_TextChanged);
- //
- // label5
- //
- this.label5.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.label5.AutoSize = true;
- this.label5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.label5.Location = new System.Drawing.Point(273, 5);
- this.label5.Margin = new System.Windows.Forms.Padding(0);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(20, 17);
- this.label5.TabIndex = 382;
- this.label5.Text = "元";
- //
- // chkRoundPrice
- //
- this.chkRoundPrice.AutoSize = true;
- this.chkRoundPrice.FlatAppearance.BorderSize = 0;
- this.chkRoundPrice.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkRoundPrice.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkRoundPrice.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.chkRoundPrice.Location = new System.Drawing.Point(657, 119);
- this.chkRoundPrice.Margin = new System.Windows.Forms.Padding(8, 2, 2, 2);
- this.chkRoundPrice.Name = "chkRoundPrice";
- this.chkRoundPrice.Size = new System.Drawing.Size(72, 21);
- this.chkRoundPrice.TabIndex = 456;
- this.chkRoundPrice.Text = "价格取整";
- this.chkRoundPrice.UseVisualStyleBackColor = true;
- //
- // chkMultiUpload
- //
- this.chkMultiUpload.AutoSize = true;
- this.chkMultiUpload.FlatAppearance.BorderSize = 0;
- this.chkMultiUpload.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkMultiUpload.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkMultiUpload.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.chkMultiUpload.Location = new System.Drawing.Point(320, 65);
- this.chkMultiUpload.Margin = new System.Windows.Forms.Padding(2);
- this.chkMultiUpload.Name = "chkMultiUpload";
- this.chkMultiUpload.Size = new System.Drawing.Size(72, 21);
- this.chkMultiUpload.TabIndex = 432;
- this.chkMultiUpload.Text = "多店上传";
- this.chkMultiUpload.UseVisualStyleBackColor = true;
- this.chkMultiUpload.CheckedChanged += new System.EventHandler(this.chkMultiUpload_CheckedChanged);
- //
- // label14
- //
- this.label14.AutoSize = true;
- this.label14.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.label14.Location = new System.Drawing.Point(122, 94);
- this.label14.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label14.Name = "label14";
- this.label14.Size = new System.Drawing.Size(20, 17);
- this.label14.TabIndex = 442;
- this.label14.Text = "件";
- //
- // txtPhone
- //
- this.txtPhone.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtPhone.Location = new System.Drawing.Point(375, 119);
- this.txtPhone.Margin = new System.Windows.Forms.Padding(2);
- this.txtPhone.Name = "txtPhone";
- this.txtPhone.Size = new System.Drawing.Size(172, 23);
- this.txtPhone.TabIndex = 392;
- this.txtPhone.Text = "18888888888";
- this.txtPhone.TextChanged += new System.EventHandler(this.txtPhone_TextChanged);
- //
- // lowPricePercenttextBox
- //
- this.lowPricePercenttextBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.lowPricePercenttextBox.Location = new System.Drawing.Point(126, 119);
- this.lowPricePercenttextBox.Margin = new System.Windows.Forms.Padding(2);
- this.lowPricePercenttextBox.Name = "lowPricePercenttextBox";
- this.lowPricePercenttextBox.Size = new System.Drawing.Size(32, 23);
- this.lowPricePercenttextBox.TabIndex = 409;
- this.lowPricePercenttextBox.Text = "1.08";
- this.lowPricePercenttextBox.TextChanged += new System.EventHandler(this.lowPricePercenttextBox_TextChanged);
- //
- // txtStockLessThanCount
- //
- this.txtStockLessThanCount.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtStockLessThanCount.Location = new System.Drawing.Point(225, 63);
- this.txtStockLessThanCount.Margin = new System.Windows.Forms.Padding(2);
- this.txtStockLessThanCount.Name = "txtStockLessThanCount";
- this.txtStockLessThanCount.Size = new System.Drawing.Size(22, 23);
- this.txtStockLessThanCount.TabIndex = 377;
- this.txtStockLessThanCount.Text = "3";
- this.txtStockLessThanCount.TextChanged += new System.EventHandler(this.txtStockLessThanCount_TextChanged);
- //
- // txtSingleUpload
- //
- this.txtSingleUpload.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtSingleUpload.Location = new System.Drawing.Point(225, 35);
- this.txtSingleUpload.Margin = new System.Windows.Forms.Padding(2);
- this.txtSingleUpload.Name = "txtSingleUpload";
- this.txtSingleUpload.Size = new System.Drawing.Size(43, 23);
- this.txtSingleUpload.TabIndex = 381;
- this.txtSingleUpload.Text = "99999";
- this.txtSingleUpload.TextChanged += new System.EventHandler(this.txtSingleUpload_TextChanged);
- //
- // label4
- //
- this.label4.AutoSize = true;
- this.label4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.label4.Location = new System.Drawing.Point(316, 122);
- this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(68, 17);
- this.label4.TabIndex = 391;
- this.label4.Text = "客服电话:";
- //
- // beforPricetextBox
- //
- this.beforPricetextBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.beforPricetextBox.Location = new System.Drawing.Point(58, 35);
- this.beforPricetextBox.Margin = new System.Windows.Forms.Padding(2);
- this.beforPricetextBox.Name = "beforPricetextBox";
- this.beforPricetextBox.Size = new System.Drawing.Size(32, 23);
- this.beforPricetextBox.TabIndex = 372;
- this.beforPricetextBox.Text = "2.0";
- this.beforPricetextBox.TextChanged += new System.EventHandler(this.beforPricetextBox_TextChanged);
- //
- // txtCustomStock
- //
- this.txtCustomStock.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtCustomStock.Location = new System.Drawing.Point(58, 63);
- this.txtCustomStock.Margin = new System.Windows.Forms.Padding(2);
- this.txtCustomStock.Name = "txtCustomStock";
- this.txtCustomStock.Size = new System.Drawing.Size(32, 23);
- this.txtCustomStock.TabIndex = 428;
- this.txtCustomStock.Text = "99";
- //
- // txtMinSku
- //
- this.txtMinSku.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtMinSku.Location = new System.Drawing.Point(102, 91);
- this.txtMinSku.Margin = new System.Windows.Forms.Padding(2);
- this.txtMinSku.Name = "txtMinSku";
- this.txtMinSku.Size = new System.Drawing.Size(20, 23);
- this.txtMinSku.TabIndex = 438;
- this.txtMinSku.Text = "3";
- //
- // label11
- //
- this.label11.AutoSize = true;
- this.label11.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.label11.Location = new System.Drawing.Point(11, 38);
- this.label11.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label11.Name = "label11";
- this.label11.Size = new System.Drawing.Size(56, 17);
- this.label11.TabIndex = 371;
- this.label11.Text = "市场价:";
- //
- // chkMinSku
- //
- this.chkMinSku.AutoSize = true;
- this.chkMinSku.FlatAppearance.BorderSize = 0;
- this.chkMinSku.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkMinSku.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkMinSku.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.chkMinSku.Location = new System.Drawing.Point(9, 92);
- this.chkMinSku.Margin = new System.Windows.Forms.Padding(2);
- this.chkMinSku.Name = "chkMinSku";
- this.chkMinSku.Size = new System.Drawing.Size(104, 21);
- this.chkMinSku.TabIndex = 437;
- this.chkMinSku.Text = "低价sku库存:";
- this.chkMinSku.UseVisualStyleBackColor = true;
- //
- // label9
- //
- this.label9.AutoSize = true;
- this.label9.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.label9.Location = new System.Drawing.Point(90, 38);
- this.label9.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label9.Name = "label9";
- this.label9.Size = new System.Drawing.Size(20, 17);
- this.label9.TabIndex = 373;
- this.label9.Text = "倍";
- //
- // chkRandomMainImage
- //
- this.chkRandomMainImage.AutoSize = true;
- this.chkRandomMainImage.FlatAppearance.BorderSize = 0;
- this.chkRandomMainImage.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkRandomMainImage.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkRandomMainImage.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.chkRandomMainImage.Location = new System.Drawing.Point(320, 8);
- this.chkRandomMainImage.Margin = new System.Windows.Forms.Padding(2);
- this.chkRandomMainImage.Name = "chkRandomMainImage";
- this.chkRandomMainImage.Size = new System.Drawing.Size(72, 21);
- this.chkRandomMainImage.TabIndex = 433;
- this.chkRandomMainImage.Text = "随机主图";
- this.chkRandomMainImage.UseVisualStyleBackColor = true;
- this.chkRandomMainImage.CheckedChanged += new System.EventHandler(this.chkRandomMainImage_CheckedChanged);
- //
- // chkStockLessThan
- //
- this.chkStockLessThan.AutoSize = true;
- this.chkStockLessThan.FlatAppearance.BorderSize = 0;
- this.chkStockLessThan.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkStockLessThan.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkStockLessThan.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.chkStockLessThan.Location = new System.Drawing.Point(156, 64);
- this.chkStockLessThan.Margin = new System.Windows.Forms.Padding(2);
- this.chkStockLessThan.Name = "chkStockLessThan";
- this.chkStockLessThan.Size = new System.Drawing.Size(72, 21);
- this.chkStockLessThan.TabIndex = 376;
- this.chkStockLessThan.Text = "库存小于";
- this.chkStockLessThan.UseVisualStyleBackColor = true;
- this.chkStockLessThan.CheckedChanged += new System.EventHandler(this.chkStockLessThan_CheckedChanged);
- //
- // label37
- //
- this.label37.AutoSize = true;
- this.label37.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label37.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.label37.Location = new System.Drawing.Point(247, 66);
- this.label37.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label37.Name = "label37";
- this.label37.Size = new System.Drawing.Size(44, 17);
- this.label37.TabIndex = 378;
- this.label37.Text = "不上传";
- //
- // label26
- //
- this.label26.AutoSize = true;
- this.label26.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label26.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.label26.Location = new System.Drawing.Point(152, 38);
- this.label26.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label26.Name = "label26";
- this.label26.Size = new System.Drawing.Size(80, 17);
- this.label26.TabIndex = 380;
- this.label26.Text = "单店上货数:";
- //
- // label18
- //
- this.label18.AutoSize = true;
- this.label18.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label18.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.label18.Location = new System.Drawing.Point(90, 66);
- this.label18.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label18.Name = "label18";
- this.label18.Size = new System.Drawing.Size(20, 17);
- this.label18.TabIndex = 429;
- this.label18.Text = "件";
- //
- // chkCustomStock
- //
- this.chkCustomStock.AutoSize = true;
- this.chkCustomStock.FlatAppearance.BorderSize = 0;
- this.chkCustomStock.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkCustomStock.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkCustomStock.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.chkCustomStock.Location = new System.Drawing.Point(9, 64);
- this.chkCustomStock.Margin = new System.Windows.Forms.Padding(2);
- this.chkCustomStock.Name = "chkCustomStock";
- this.chkCustomStock.Size = new System.Drawing.Size(60, 21);
- this.chkCustomStock.TabIndex = 430;
- this.chkCustomStock.Text = "库存:";
- this.chkCustomStock.UseVisualStyleBackColor = true;
- //
- // comboBox5
- //
- this.comboBox5.Font = new System.Drawing.Font("宋体", 11.25F);
- this.comboBox5.FormattingEnabled = true;
- this.comboBox5.Items.AddRange(new object[] {
- "+",
- "-"});
- this.comboBox5.Location = new System.Drawing.Point(179, 119);
- this.comboBox5.Margin = new System.Windows.Forms.Padding(2);
- this.comboBox5.Name = "comboBox5";
- this.comboBox5.Size = new System.Drawing.Size(32, 23);
- this.comboBox5.TabIndex = 424;
- this.comboBox5.Text = "+";
- //
- // lowPricecheckBox
- //
- this.lowPricecheckBox.AutoSize = true;
- this.lowPricecheckBox.FlatAppearance.BorderSize = 0;
- this.lowPricecheckBox.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.lowPricecheckBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.lowPricecheckBox.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.lowPricecheckBox.Location = new System.Drawing.Point(9, 120);
- this.lowPricecheckBox.Margin = new System.Windows.Forms.Padding(2);
- this.lowPricecheckBox.Name = "lowPricecheckBox";
- this.lowPricecheckBox.Size = new System.Drawing.Size(128, 21);
- this.lowPricecheckBox.TabIndex = 408;
- this.lowPricecheckBox.Text = "低价sku单独加价:";
- this.lowPricecheckBox.UseVisualStyleBackColor = true;
- this.lowPricecheckBox.CheckedChanged += new System.EventHandler(this.lowPricecheckBox_CheckedChanged);
- //
- // lowPriceAddtextBox
- //
- this.lowPriceAddtextBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.lowPriceAddtextBox.Location = new System.Drawing.Point(213, 119);
- this.lowPriceAddtextBox.Margin = new System.Windows.Forms.Padding(2);
- this.lowPriceAddtextBox.Name = "lowPriceAddtextBox";
- this.lowPriceAddtextBox.Size = new System.Drawing.Size(22, 23);
- this.lowPriceAddtextBox.TabIndex = 411;
- this.lowPriceAddtextBox.Text = "0";
- this.lowPriceAddtextBox.TextChanged += new System.EventHandler(this.lowPriceAddtextBox_TextChanged);
- //
- // label32
- //
- this.label32.AutoSize = true;
- this.label32.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label32.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.label32.Location = new System.Drawing.Point(235, 122);
- this.label32.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label32.Name = "label32";
- this.label32.Size = new System.Drawing.Size(20, 17);
- this.label32.TabIndex = 412;
- this.label32.Text = "元";
- //
- // label34
- //
- this.label34.AutoSize = true;
- this.label34.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label34.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.label34.Location = new System.Drawing.Point(158, 122);
- this.label34.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label34.Name = "label34";
- this.label34.Size = new System.Drawing.Size(20, 17);
- this.label34.TabIndex = 410;
- this.label34.Text = "倍";
- //
- // label24
- //
- this.label24.AutoSize = true;
- this.label24.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label24.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.label24.Location = new System.Drawing.Point(503, 10);
- this.label24.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label24.Name = "label24";
- this.label24.Size = new System.Drawing.Size(44, 17);
- this.label24.TabIndex = 474;
- this.label24.Text = "张主图";
- //
- // tabPage2
- //
- this.tabPage2.Controls.Add(this.label2);
- this.tabPage2.Controls.Add(this.endDateTimePicker);
- this.tabPage2.Controls.Add(this.chkFuzzyMatching);
- this.tabPage2.Controls.Add(this.cmbNewPreTime);
- this.tabPage2.Controls.Add(this.cmbSendDayAfterPre);
- this.tabPage2.Controls.Add(this.buttonEx2);
- this.tabPage2.Controls.Add(this.cmbSendType);
- this.tabPage2.Controls.Add(this.txtremark);
- this.tabPage2.Controls.Add(this.label13);
- this.tabPage2.Controls.Add(this.label1);
- this.tabPage2.Controls.Add(this.comboBox1);
- this.tabPage2.Controls.Add(this.prefixTextBox);
- this.tabPage2.Controls.Add(this.proxyCheckBox);
- this.tabPage2.Controls.Add(this.label8);
- this.tabPage2.Controls.Add(this.label6);
- this.tabPage2.Controls.Add(this.cmbSendDay);
- this.tabPage2.Controls.Add(this.sendTime);
- this.tabPage2.Controls.Add(this.label12);
- this.tabPage2.Controls.Add(this.label7);
- this.tabPage2.Controls.Add(this.lblNewPreTime);
- this.tabPage2.Location = new System.Drawing.Point(4, 26);
- this.tabPage2.Name = "tabPage2";
- this.tabPage2.Size = new System.Drawing.Size(886, 150);
- this.tabPage2.TabIndex = 1;
- this.tabPage2.Text = " 参数设置二";
- this.tabPage2.UseVisualStyleBackColor = true;
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
- this.label2.Location = new System.Drawing.Point(97, 109);
- this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(188, 17);
- this.label2.TabIndex = 457;
- this.label2.Text = "提高上货成功率但会增加违规风险";
- //
- // endDateTimePicker
- //
- this.endDateTimePicker.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.endDateTimePicker.CustomFormat = "yyyy-MM-dd";
- this.endDateTimePicker.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.endDateTimePicker.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
- this.endDateTimePicker.Location = new System.Drawing.Point(575, 106);
- this.endDateTimePicker.Name = "endDateTimePicker";
- this.endDateTimePicker.Size = new System.Drawing.Size(90, 23);
- this.endDateTimePicker.TabIndex = 419;
- this.endDateTimePicker.Visible = false;
- this.endDateTimePicker.ValueChanged += new System.EventHandler(this.endDateTimePicker_ValueChanged);
- //
- // chkFuzzyMatching
- //
- this.chkFuzzyMatching.AutoSize = true;
- this.chkFuzzyMatching.FlatAppearance.BorderSize = 0;
- this.chkFuzzyMatching.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkFuzzyMatching.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkFuzzyMatching.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.chkFuzzyMatching.Location = new System.Drawing.Point(8, 107);
- this.chkFuzzyMatching.Margin = new System.Windows.Forms.Padding(2);
- this.chkFuzzyMatching.Name = "chkFuzzyMatching";
- this.chkFuzzyMatching.Size = new System.Drawing.Size(96, 21);
- this.chkFuzzyMatching.TabIndex = 456;
- this.chkFuzzyMatching.Text = "模糊匹配属性";
- this.chkFuzzyMatching.UseVisualStyleBackColor = true;
- //
- // cmbNewPreTime
- //
- this.cmbNewPreTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.cmbNewPreTime.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.cmbNewPreTime.FormattingEnabled = true;
- this.cmbNewPreTime.Items.AddRange(new object[] {
- "5天内发货",
- "15天内发货",
- "45天内发货"});
- this.cmbNewPreTime.Location = new System.Drawing.Point(575, 105);
- this.cmbNewPreTime.Margin = new System.Windows.Forms.Padding(2);
- this.cmbNewPreTime.Name = "cmbNewPreTime";
- this.cmbNewPreTime.Size = new System.Drawing.Size(90, 25);
- this.cmbNewPreTime.TabIndex = 436;
- this.cmbNewPreTime.Text = "5天内发货";
- this.cmbNewPreTime.Visible = false;
- //
- // cmbSendDayAfterPre
- //
- this.cmbSendDayAfterPre.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.cmbSendDayAfterPre.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.cmbSendDayAfterPre.FormattingEnabled = true;
- this.cmbSendDayAfterPre.Items.AddRange(new object[] {
- "2",
- "3",
- "5",
- "7",
- "10",
- "15"});
- this.cmbSendDayAfterPre.Location = new System.Drawing.Point(575, 78);
- this.cmbSendDayAfterPre.Margin = new System.Windows.Forms.Padding(2);
- this.cmbSendDayAfterPre.Name = "cmbSendDayAfterPre";
- this.cmbSendDayAfterPre.Size = new System.Drawing.Size(50, 25);
- this.cmbSendDayAfterPre.TabIndex = 417;
- this.cmbSendDayAfterPre.Text = "2";
- this.cmbSendDayAfterPre.Visible = false;
- //
- // buttonEx2
- //
- this.buttonEx2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.buttonEx2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.buttonEx2.Cursor = System.Windows.Forms.Cursors.Hand;
- this.buttonEx2.FlatAppearance.BorderSize = 0;
- this.buttonEx2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.buttonEx2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.buttonEx2.ForeColor = System.Drawing.Color.White;
- this.buttonEx2.Location = new System.Drawing.Point(726, 105);
- this.buttonEx2.Margin = new System.Windows.Forms.Padding(2);
- this.buttonEx2.Name = "buttonEx2";
- this.buttonEx2.Size = new System.Drawing.Size(147, 25);
- this.buttonEx2.TabIndex = 431;
- this.buttonEx2.Text = "上货包装标签图";
- this.buttonEx2.UseVisualStyleBackColor = false;
- this.buttonEx2.Click += new System.EventHandler(this.buttonEx2_Click_1);
- //
- // cmbSendType
- //
- this.cmbSendType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.cmbSendType.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.cmbSendType.FormattingEnabled = true;
- this.cmbSendType.Items.AddRange(new object[] {
- "现货发货",
- "预售发货"});
- this.cmbSendType.Location = new System.Drawing.Point(575, 22);
- this.cmbSendType.Margin = new System.Windows.Forms.Padding(2);
- this.cmbSendType.Name = "cmbSendType";
- this.cmbSendType.Size = new System.Drawing.Size(72, 25);
- this.cmbSendType.TabIndex = 415;
- this.cmbSendType.Text = "现货发货";
- this.cmbSendType.SelectedIndexChanged += new System.EventHandler(this.comboBox3_SelectedIndexChanged);
- //
- // txtremark
- //
- this.txtremark.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.txtremark.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtremark.Location = new System.Drawing.Point(760, 51);
- this.txtremark.Margin = new System.Windows.Forms.Padding(2);
- this.txtremark.Name = "txtremark";
- this.txtremark.Size = new System.Drawing.Size(113, 23);
- this.txtremark.TabIndex = 414;
- //
- // label13
- //
- this.label13.AutoSize = true;
- this.label13.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label13.Location = new System.Drawing.Point(5, 26);
- this.label13.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label13.Name = "label13";
- this.label13.Size = new System.Drawing.Size(56, 17);
- this.label13.TabIndex = 402;
- this.label13.Text = "商品标题";
- //
- // label1
- //
- this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.label1.AutoSize = true;
- this.label1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.label1.Location = new System.Drawing.Point(689, 54);
- this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(80, 17);
- this.label1.TabIndex = 413;
- this.label1.Text = "商家推荐语:";
- //
- // comboBox1
- //
- this.comboBox1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.comboBox1.FormattingEnabled = true;
- this.comboBox1.Items.AddRange(new object[] {
- "前缀",
- "后缀"});
- this.comboBox1.Location = new System.Drawing.Point(65, 22);
- this.comboBox1.Margin = new System.Windows.Forms.Padding(2);
- this.comboBox1.Name = "comboBox1";
- this.comboBox1.Size = new System.Drawing.Size(48, 25);
- this.comboBox1.TabIndex = 401;
- this.comboBox1.Text = "前缀";
- this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
- //
- // prefixTextBox
- //
- this.prefixTextBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.prefixTextBox.ForeColor = System.Drawing.Color.Black;
- this.prefixTextBox.Location = new System.Drawing.Point(117, 22);
- this.prefixTextBox.Margin = new System.Windows.Forms.Padding(2);
- this.prefixTextBox.Multiline = true;
- this.prefixTextBox.Name = "prefixTextBox";
- this.prefixTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
- this.prefixTextBox.Size = new System.Drawing.Size(343, 81);
- this.prefixTextBox.TabIndex = 400;
- this.prefixTextBox.TextChanged += new System.EventHandler(this.prefixTextBox_TextChanged);
- //
- // proxyCheckBox
- //
- this.proxyCheckBox.AutoSize = true;
- this.proxyCheckBox.FlatAppearance.BorderSize = 0;
- this.proxyCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.proxyCheckBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.proxyCheckBox.Location = new System.Drawing.Point(653, 23);
- this.proxyCheckBox.Margin = new System.Windows.Forms.Padding(2);
- this.proxyCheckBox.Name = "proxyCheckBox";
- this.proxyCheckBox.Size = new System.Drawing.Size(83, 21);
- this.proxyCheckBox.TabIndex = 402;
- this.proxyCheckBox.Text = "代理IP设置";
- this.proxyCheckBox.UseVisualStyleBackColor = true;
- this.proxyCheckBox.CheckedChanged += new System.EventHandler(this.proxyCheckBox_CheckedChanged);
- //
- // label8
- //
- this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.label8.AutoSize = true;
- this.label8.BackColor = System.Drawing.Color.Transparent;
- this.label8.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label8.Location = new System.Drawing.Point(625, 82);
- this.label8.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label8.Name = "label8";
- this.label8.Size = new System.Drawing.Size(56, 17);
- this.label8.TabIndex = 422;
- this.label8.Text = "天内发货";
- this.label8.Visible = false;
- //
- // label6
- //
- this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.label6.AutoSize = true;
- this.label6.BackColor = System.Drawing.Color.Transparent;
- this.label6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label6.Location = new System.Drawing.Point(516, 26);
- this.label6.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(68, 17);
- this.label6.TabIndex = 416;
- this.label6.Text = "发货模式:";
- //
- // cmbSendDay
- //
- this.cmbSendDay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.cmbSendDay.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.cmbSendDay.FormattingEnabled = true;
- this.cmbSendDay.Items.AddRange(new object[] {
- "24",
- "48"});
- this.cmbSendDay.Location = new System.Drawing.Point(575, 50);
- this.cmbSendDay.Margin = new System.Windows.Forms.Padding(2);
- this.cmbSendDay.Name = "cmbSendDay";
- this.cmbSendDay.Size = new System.Drawing.Size(50, 25);
- this.cmbSendDay.TabIndex = 421;
- this.cmbSendDay.Text = "48";
- //
- // sendTime
- //
- this.sendTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.sendTime.AutoSize = true;
- this.sendTime.BackColor = System.Drawing.Color.Transparent;
- this.sendTime.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.sendTime.Location = new System.Drawing.Point(504, 82);
- this.sendTime.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.sendTime.Name = "sendTime";
- this.sendTime.Size = new System.Drawing.Size(80, 17);
- this.sendTime.TabIndex = 418;
- this.sendTime.Text = "预售结束后:";
- this.sendTime.Visible = false;
- //
- // label12
- //
- this.label12.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.label12.AutoSize = true;
- this.label12.BackColor = System.Drawing.Color.Transparent;
- this.label12.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label12.Location = new System.Drawing.Point(492, 109);
- this.label12.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label12.Name = "label12";
- this.label12.Size = new System.Drawing.Size(92, 17);
- this.label12.TabIndex = 420;
- this.label12.Text = "预售结束时间:";
- this.label12.Visible = false;
- //
- // label7
- //
- this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.label7.AutoSize = true;
- this.label7.BackColor = System.Drawing.Color.Transparent;
- this.label7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label7.Location = new System.Drawing.Point(516, 54);
- this.label7.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(68, 17);
- this.label7.TabIndex = 418;
- this.label7.Text = "发货时间:";
- //
- // lblNewPreTime
- //
- this.lblNewPreTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.lblNewPreTime.AutoSize = true;
- this.lblNewPreTime.BackColor = System.Drawing.Color.Transparent;
- this.lblNewPreTime.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.lblNewPreTime.Location = new System.Drawing.Point(516, 109);
- this.lblNewPreTime.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.lblNewPreTime.Name = "lblNewPreTime";
- this.lblNewPreTime.Size = new System.Drawing.Size(68, 17);
- this.lblNewPreTime.TabIndex = 435;
- this.lblNewPreTime.Text = "发货时效:";
- this.lblNewPreTime.Visible = false;
- //
- // tabPage5
- //
- this.tabPage5.Controls.Add(this.btnSetTitleRemove);
- this.tabPage5.Controls.Add(this.btnSetBrandFilter);
- this.tabPage5.Controls.Add(this.btnSetViolateCheck);
- this.tabPage5.Controls.Add(this.btnSetSkuFilter);
- this.tabPage5.Controls.Add(this.btnSetTitleFilter);
- this.tabPage5.Controls.Add(this.chkOnlyPostFree);
- this.tabPage5.Controls.Add(this.chkFilterRemoveTitle);
- this.tabPage5.Controls.Add(this.chkFilterTMChaoShi);
- this.tabPage5.Controls.Add(this.chkViolateCheck);
- this.tabPage5.Controls.Add(this.chkFilterSku);
- this.tabPage5.Controls.Add(this.chkFilterTitle);
- this.tabPage5.Controls.Add(this.chkFilterBrand);
- this.tabPage5.Location = new System.Drawing.Point(4, 26);
- this.tabPage5.Name = "tabPage5";
- this.tabPage5.Size = new System.Drawing.Size(886, 150);
- this.tabPage5.TabIndex = 4;
- this.tabPage5.Text = "过滤设置";
- this.tabPage5.UseVisualStyleBackColor = true;
- //
- // btnSetTitleRemove
- //
- this.btnSetTitleRemove.CanvasColor = System.Drawing.SystemColors.Control;
- this.btnSetTitleRemove.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnSetTitleRemove.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnSetTitleRemove.Font = new System.Drawing.Font("微软雅黑", 9F);
- this.btnSetTitleRemove.Location = new System.Drawing.Point(124, 46);
- this.btnSetTitleRemove.Name = "btnSetTitleRemove";
- this.btnSetTitleRemove.Size = new System.Drawing.Size(35, 20);
- this.btnSetTitleRemove.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnSetTitleRemove.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btnSetTitleRemove.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btnSetTitleRemove.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.btnSetTitleRemove.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSetTitleRemove.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.btnSetTitleRemove.Style.GradientAngle = 90;
- this.btnSetTitleRemove.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.btnSetTitleRemove.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnSetTitleRemove.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSetTitleRemove.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSetTitleRemove.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.btnSetTitleRemove.TabIndex = 508;
- this.btnSetTitleRemove.Text = "设置";
- this.btnSetTitleRemove.Click += new System.EventHandler(this.btnSetTitleRemove_Click);
- //
- // btnSetBrandFilter
- //
- this.btnSetBrandFilter.CanvasColor = System.Drawing.SystemColors.Control;
- this.btnSetBrandFilter.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnSetBrandFilter.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnSetBrandFilter.Font = new System.Drawing.Font("微软雅黑", 9F);
- this.btnSetBrandFilter.Location = new System.Drawing.Point(279, 18);
- this.btnSetBrandFilter.Name = "btnSetBrandFilter";
- this.btnSetBrandFilter.Size = new System.Drawing.Size(35, 20);
- this.btnSetBrandFilter.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnSetBrandFilter.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btnSetBrandFilter.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btnSetBrandFilter.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.btnSetBrandFilter.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSetBrandFilter.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.btnSetBrandFilter.Style.GradientAngle = 90;
- this.btnSetBrandFilter.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.btnSetBrandFilter.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnSetBrandFilter.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSetBrandFilter.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSetBrandFilter.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.btnSetBrandFilter.TabIndex = 489;
- this.btnSetBrandFilter.Text = "设置";
- this.btnSetBrandFilter.Click += new System.EventHandler(this.btnSetBrandFilter_Click);
- //
- // btnSetViolateCheck
- //
- this.btnSetViolateCheck.CanvasColor = System.Drawing.SystemColors.Control;
- this.btnSetViolateCheck.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnSetViolateCheck.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnSetViolateCheck.Font = new System.Drawing.Font("微软雅黑", 9F);
- this.btnSetViolateCheck.Location = new System.Drawing.Point(124, 18);
- this.btnSetViolateCheck.Name = "btnSetViolateCheck";
- this.btnSetViolateCheck.Size = new System.Drawing.Size(35, 20);
- this.btnSetViolateCheck.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnSetViolateCheck.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btnSetViolateCheck.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btnSetViolateCheck.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.btnSetViolateCheck.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSetViolateCheck.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.btnSetViolateCheck.Style.GradientAngle = 90;
- this.btnSetViolateCheck.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.btnSetViolateCheck.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnSetViolateCheck.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSetViolateCheck.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSetViolateCheck.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.btnSetViolateCheck.TabIndex = 445;
- this.btnSetViolateCheck.Text = "设置";
- this.btnSetViolateCheck.Click += new System.EventHandler(this.btnSetViolateCheck_Click);
- //
- // btnSetSkuFilter
- //
- this.btnSetSkuFilter.CanvasColor = System.Drawing.SystemColors.Control;
- this.btnSetSkuFilter.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnSetSkuFilter.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnSetSkuFilter.Font = new System.Drawing.Font("微软雅黑", 9F);
- this.btnSetSkuFilter.Location = new System.Drawing.Point(124, 102);
- this.btnSetSkuFilter.Name = "btnSetSkuFilter";
- this.btnSetSkuFilter.Size = new System.Drawing.Size(35, 20);
- this.btnSetSkuFilter.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnSetSkuFilter.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btnSetSkuFilter.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btnSetSkuFilter.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.btnSetSkuFilter.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSetSkuFilter.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.btnSetSkuFilter.Style.GradientAngle = 90;
- this.btnSetSkuFilter.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.btnSetSkuFilter.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnSetSkuFilter.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSetSkuFilter.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSetSkuFilter.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.btnSetSkuFilter.TabIndex = 484;
- this.btnSetSkuFilter.Text = "设置";
- this.btnSetSkuFilter.Click += new System.EventHandler(this.btnSetSkuFilter_Click);
- //
- // btnSetTitleFilter
- //
- this.btnSetTitleFilter.CanvasColor = System.Drawing.SystemColors.Control;
- this.btnSetTitleFilter.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnSetTitleFilter.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnSetTitleFilter.Font = new System.Drawing.Font("微软雅黑", 9F);
- this.btnSetTitleFilter.Location = new System.Drawing.Point(124, 74);
- this.btnSetTitleFilter.Name = "btnSetTitleFilter";
- this.btnSetTitleFilter.Size = new System.Drawing.Size(35, 20);
- this.btnSetTitleFilter.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnSetTitleFilter.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btnSetTitleFilter.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btnSetTitleFilter.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.btnSetTitleFilter.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSetTitleFilter.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.btnSetTitleFilter.Style.GradientAngle = 90;
- this.btnSetTitleFilter.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.btnSetTitleFilter.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnSetTitleFilter.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSetTitleFilter.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnSetTitleFilter.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.btnSetTitleFilter.TabIndex = 449;
- this.btnSetTitleFilter.Text = "设置";
- this.btnSetTitleFilter.Click += new System.EventHandler(this.btnSetTitleFilter_Click);
- //
- // chkOnlyPostFree
- //
- this.chkOnlyPostFree.AutoSize = true;
- this.chkOnlyPostFree.FlatAppearance.BorderSize = 0;
- this.chkOnlyPostFree.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkOnlyPostFree.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkOnlyPostFree.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.chkOnlyPostFree.Location = new System.Drawing.Point(199, 45);
- this.chkOnlyPostFree.Margin = new System.Windows.Forms.Padding(2);
- this.chkOnlyPostFree.Name = "chkOnlyPostFree";
- this.chkOnlyPostFree.Size = new System.Drawing.Size(84, 21);
- this.chkOnlyPostFree.TabIndex = 404;
- this.chkOnlyPostFree.Text = "过滤不包邮";
- this.chkOnlyPostFree.UseVisualStyleBackColor = true;
- this.chkOnlyPostFree.CheckedChanged += new System.EventHandler(this.chkOnlyPostFree_CheckedChanged);
- //
- // chkFilterRemoveTitle
- //
- this.chkFilterRemoveTitle.AutoSize = true;
- this.chkFilterRemoveTitle.FlatAppearance.BorderSize = 0;
- this.chkFilterRemoveTitle.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkFilterRemoveTitle.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkFilterRemoveTitle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.chkFilterRemoveTitle.Location = new System.Drawing.Point(20, 46);
- this.chkFilterRemoveTitle.Margin = new System.Windows.Forms.Padding(2);
- this.chkFilterRemoveTitle.Name = "chkFilterRemoveTitle";
- this.chkFilterRemoveTitle.Size = new System.Drawing.Size(108, 21);
- this.chkFilterRemoveTitle.TabIndex = 507;
- this.chkFilterRemoveTitle.Text = "去除标题违规词";
- this.chkFilterRemoveTitle.UseVisualStyleBackColor = true;
- //
- // chkFilterTMChaoShi
- //
- this.chkFilterTMChaoShi.AutoSize = true;
- this.chkFilterTMChaoShi.FlatAppearance.BorderSize = 0;
- this.chkFilterTMChaoShi.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkFilterTMChaoShi.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkFilterTMChaoShi.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.chkFilterTMChaoShi.Location = new System.Drawing.Point(187, 73);
- this.chkFilterTMChaoShi.Margin = new System.Windows.Forms.Padding(2);
- this.chkFilterTMChaoShi.Name = "chkFilterTMChaoShi";
- this.chkFilterTMChaoShi.Size = new System.Drawing.Size(96, 21);
- this.chkFilterTMChaoShi.TabIndex = 503;
- this.chkFilterTMChaoShi.Text = "过滤天猫超市";
- this.chkFilterTMChaoShi.UseVisualStyleBackColor = true;
- //
- // chkViolateCheck
- //
- this.chkViolateCheck.AutoSize = true;
- this.chkViolateCheck.FlatAppearance.BorderSize = 0;
- this.chkViolateCheck.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkViolateCheck.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkViolateCheck.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.chkViolateCheck.Location = new System.Drawing.Point(43, 18);
- this.chkViolateCheck.Margin = new System.Windows.Forms.Padding(2);
- this.chkViolateCheck.Name = "chkViolateCheck";
- this.chkViolateCheck.Size = new System.Drawing.Size(84, 21);
- this.chkViolateCheck.TabIndex = 440;
- this.chkViolateCheck.Text = "云违规排查";
- this.chkViolateCheck.UseVisualStyleBackColor = true;
- //
- // chkFilterSku
- //
- this.chkFilterSku.AutoSize = true;
- this.chkFilterSku.Checked = true;
- this.chkFilterSku.CheckState = System.Windows.Forms.CheckState.Checked;
- this.chkFilterSku.FlatAppearance.BorderSize = 0;
- this.chkFilterSku.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkFilterSku.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkFilterSku.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.chkFilterSku.Location = new System.Drawing.Point(24, 102);
- this.chkFilterSku.Margin = new System.Windows.Forms.Padding(2);
- this.chkFilterSku.Name = "chkFilterSku";
- this.chkFilterSku.Size = new System.Drawing.Size(104, 21);
- this.chkFilterSku.TabIndex = 483;
- this.chkFilterSku.Text = "过滤sku违规词";
- this.chkFilterSku.UseVisualStyleBackColor = true;
- //
- // chkFilterTitle
- //
- this.chkFilterTitle.AutoSize = true;
- this.chkFilterTitle.Checked = true;
- this.chkFilterTitle.CheckState = System.Windows.Forms.CheckState.Checked;
- this.chkFilterTitle.FlatAppearance.BorderSize = 0;
- this.chkFilterTitle.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkFilterTitle.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkFilterTitle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.chkFilterTitle.Location = new System.Drawing.Point(20, 74);
- this.chkFilterTitle.Margin = new System.Windows.Forms.Padding(2);
- this.chkFilterTitle.Name = "chkFilterTitle";
- this.chkFilterTitle.Size = new System.Drawing.Size(108, 21);
- this.chkFilterTitle.TabIndex = 398;
- this.chkFilterTitle.Text = "过滤标题违规词";
- this.chkFilterTitle.UseVisualStyleBackColor = true;
- //
- // chkFilterBrand
- //
- this.chkFilterBrand.AutoSize = true;
- this.chkFilterBrand.Checked = true;
- this.chkFilterBrand.CheckState = System.Windows.Forms.CheckState.Checked;
- this.chkFilterBrand.FlatAppearance.BorderSize = 0;
- this.chkFilterBrand.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkFilterBrand.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkFilterBrand.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.chkFilterBrand.Location = new System.Drawing.Point(211, 18);
- this.chkFilterBrand.Margin = new System.Windows.Forms.Padding(2);
- this.chkFilterBrand.Name = "chkFilterBrand";
- this.chkFilterBrand.Size = new System.Drawing.Size(72, 21);
- this.chkFilterBrand.TabIndex = 488;
- this.chkFilterBrand.Text = "过滤品牌";
- this.chkFilterBrand.UseVisualStyleBackColor = true;
- //
- // tabPage3
- //
- this.tabPage3.Controls.Add(this.btn删除食品许可证);
- this.tabPage3.Controls.Add(this.btn删除包装标签图);
- this.tabPage3.Controls.Add(this.btn删除质检报告);
- this.tabPage3.Controls.Add(this.btn上传质检报告);
- this.tabPage3.Controls.Add(this.btn上传包装标签图);
- this.tabPage3.Controls.Add(this.btn上传食品许可证);
- this.tabPage3.Controls.Add(this.pictureBox3);
- this.tabPage3.Controls.Add(this.pictureBox2);
- this.tabPage3.Controls.Add(this.pictureBox1);
- this.tabPage3.Controls.Add(this.label22);
- this.tabPage3.Controls.Add(this.label21);
- this.tabPage3.Controls.Add(this.label20);
- this.tabPage3.Controls.Add(this.chkUseGlobalQualifications);
- this.tabPage3.Controls.Add(this.txt食品生产许可证编号);
- this.tabPage3.Controls.Add(this.label19);
- this.tabPage3.Controls.Add(this.txt生产企业名称);
- this.tabPage3.Controls.Add(this.txtBrand);
- this.tabPage3.Controls.Add(this.label17);
- this.tabPage3.Controls.Add(this.label16);
- this.tabPage3.Location = new System.Drawing.Point(4, 26);
- this.tabPage3.Name = "tabPage3";
- this.tabPage3.Size = new System.Drawing.Size(886, 150);
- this.tabPage3.TabIndex = 2;
- this.tabPage3.Text = "食品资质";
- this.tabPage3.UseVisualStyleBackColor = true;
- //
- // btn删除食品许可证
- //
- this.btn删除食品许可证.CanvasColor = System.Drawing.SystemColors.Control;
- this.btn删除食品许可证.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btn删除食品许可证.DisabledBackColor = System.Drawing.Color.Empty;
- this.btn删除食品许可证.Font = new System.Drawing.Font("微软雅黑", 9F);
- this.btn删除食品许可证.Location = new System.Drawing.Point(419, 89);
- this.btn删除食品许可证.Name = "btn删除食品许可证";
- this.btn删除食品许可证.Size = new System.Drawing.Size(35, 22);
- this.btn删除食品许可证.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btn删除食品许可证.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btn删除食品许可证.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btn删除食品许可证.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.btn删除食品许可证.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btn删除食品许可证.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.btn删除食品许可证.Style.GradientAngle = 90;
- this.btn删除食品许可证.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.btn删除食品许可证.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btn删除食品许可证.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btn删除食品许可证.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btn删除食品许可证.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.btn删除食品许可证.TabIndex = 475;
- this.btn删除食品许可证.Text = "删除";
- this.btn删除食品许可证.Visible = false;
- //
- // btn删除包装标签图
- //
- this.btn删除包装标签图.CanvasColor = System.Drawing.SystemColors.Control;
- this.btn删除包装标签图.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btn删除包装标签图.DisabledBackColor = System.Drawing.Color.Empty;
- this.btn删除包装标签图.Font = new System.Drawing.Font("微软雅黑", 9F);
- this.btn删除包装标签图.Location = new System.Drawing.Point(561, 89);
- this.btn删除包装标签图.Name = "btn删除包装标签图";
- this.btn删除包装标签图.Size = new System.Drawing.Size(35, 22);
- this.btn删除包装标签图.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btn删除包装标签图.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btn删除包装标签图.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btn删除包装标签图.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.btn删除包装标签图.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btn删除包装标签图.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.btn删除包装标签图.Style.GradientAngle = 90;
- this.btn删除包装标签图.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.btn删除包装标签图.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btn删除包装标签图.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btn删除包装标签图.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btn删除包装标签图.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.btn删除包装标签图.TabIndex = 471;
- this.btn删除包装标签图.Text = "删除";
- this.btn删除包装标签图.Visible = false;
- //
- // btn删除质检报告
- //
- this.btn删除质检报告.CanvasColor = System.Drawing.SystemColors.Control;
- this.btn删除质检报告.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btn删除质检报告.DisabledBackColor = System.Drawing.Color.Empty;
- this.btn删除质检报告.Font = new System.Drawing.Font("微软雅黑", 9F);
- this.btn删除质检报告.Location = new System.Drawing.Point(703, 89);
- this.btn删除质检报告.Name = "btn删除质检报告";
- this.btn删除质检报告.Size = new System.Drawing.Size(35, 22);
- this.btn删除质检报告.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btn删除质检报告.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btn删除质检报告.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btn删除质检报告.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.btn删除质检报告.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btn删除质检报告.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.btn删除质检报告.Style.GradientAngle = 90;
- this.btn删除质检报告.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.btn删除质检报告.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btn删除质检报告.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btn删除质检报告.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btn删除质检报告.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.btn删除质检报告.TabIndex = 467;
- this.btn删除质检报告.Text = "删除";
- this.btn删除质检报告.Visible = false;
- //
- // btn上传质检报告
- //
- this.btn上传质检报告.CanvasColor = System.Drawing.SystemColors.Control;
- this.btn上传质检报告.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btn上传质检报告.DisabledBackColor = System.Drawing.Color.Empty;
- this.btn上传质检报告.Font = new System.Drawing.Font("微软雅黑", 9F);
- this.btn上传质检报告.Location = new System.Drawing.Point(703, 32);
- this.btn上传质检报告.Name = "btn上传质检报告";
- this.btn上传质检报告.Size = new System.Drawing.Size(35, 22);
- this.btn上传质检报告.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btn上传质检报告.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btn上传质检报告.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btn上传质检报告.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.btn上传质检报告.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btn上传质检报告.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.btn上传质检报告.Style.GradientAngle = 90;
- this.btn上传质检报告.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.btn上传质检报告.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btn上传质检报告.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btn上传质检报告.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btn上传质检报告.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.btn上传质检报告.TabIndex = 463;
- this.btn上传质检报告.Text = "上传";
- this.btn上传质检报告.Click += new System.EventHandler(this.btn上传质检报告_Click);
- //
- // btn上传包装标签图
- //
- this.btn上传包装标签图.CanvasColor = System.Drawing.SystemColors.Control;
- this.btn上传包装标签图.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btn上传包装标签图.DisabledBackColor = System.Drawing.Color.Empty;
- this.btn上传包装标签图.Font = new System.Drawing.Font("微软雅黑", 9F);
- this.btn上传包装标签图.Location = new System.Drawing.Point(561, 32);
- this.btn上传包装标签图.Name = "btn上传包装标签图";
- this.btn上传包装标签图.Size = new System.Drawing.Size(35, 22);
- this.btn上传包装标签图.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btn上传包装标签图.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btn上传包装标签图.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btn上传包装标签图.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.btn上传包装标签图.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btn上传包装标签图.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.btn上传包装标签图.Style.GradientAngle = 90;
- this.btn上传包装标签图.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.btn上传包装标签图.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btn上传包装标签图.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btn上传包装标签图.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btn上传包装标签图.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.btn上传包装标签图.TabIndex = 459;
- this.btn上传包装标签图.Text = "上传";
- this.btn上传包装标签图.Click += new System.EventHandler(this.btn上传包装标签图_Click);
- //
- // btn上传食品许可证
- //
- this.btn上传食品许可证.CanvasColor = System.Drawing.SystemColors.Control;
- this.btn上传食品许可证.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btn上传食品许可证.DisabledBackColor = System.Drawing.Color.Empty;
- this.btn上传食品许可证.Font = new System.Drawing.Font("微软雅黑", 9F);
- this.btn上传食品许可证.Location = new System.Drawing.Point(419, 32);
- this.btn上传食品许可证.Name = "btn上传食品许可证";
- this.btn上传食品许可证.Size = new System.Drawing.Size(35, 22);
- this.btn上传食品许可证.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btn上传食品许可证.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btn上传食品许可证.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btn上传食品许可证.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.btn上传食品许可证.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btn上传食品许可证.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.btn上传食品许可证.Style.GradientAngle = 90;
- this.btn上传食品许可证.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.btn上传食品许可证.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btn上传食品许可证.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btn上传食品许可证.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btn上传食品许可证.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.btn上传食品许可证.TabIndex = 455;
- this.btn上传食品许可证.Text = "上传";
- this.btn上传食品许可证.Click += new System.EventHandler(this.btn上传食品许可证_Click);
- //
- // pictureBox3
- //
- this.pictureBox3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.pictureBox3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.pictureBox3.Location = new System.Drawing.Point(622, 32);
- this.pictureBox3.Name = "pictureBox3";
- this.pictureBox3.Size = new System.Drawing.Size(79, 79);
- this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
- this.pictureBox3.TabIndex = 451;
- this.pictureBox3.TabStop = false;
- //
- // pictureBox2
- //
- this.pictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.pictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.pictureBox2.Location = new System.Drawing.Point(480, 32);
- this.pictureBox2.Name = "pictureBox2";
- this.pictureBox2.Size = new System.Drawing.Size(79, 79);
- this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
- this.pictureBox2.TabIndex = 450;
- this.pictureBox2.TabStop = false;
- //
- // pictureBox1
- //
- this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.pictureBox1.Location = new System.Drawing.Point(338, 32);
- this.pictureBox1.Name = "pictureBox1";
- this.pictureBox1.Size = new System.Drawing.Size(79, 79);
- this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
- this.pictureBox1.TabIndex = 449;
- this.pictureBox1.TabStop = false;
- //
- // label22
- //
- this.label22.AutoSize = true;
- this.label22.BackColor = System.Drawing.Color.Transparent;
- this.label22.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label22.Location = new System.Drawing.Point(620, 12);
- this.label22.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label22.Name = "label22";
- this.label22.Size = new System.Drawing.Size(68, 17);
- this.label22.TabIndex = 448;
- this.label22.Text = "质检报告:";
- //
- // label21
- //
- this.label21.AutoSize = true;
- this.label21.BackColor = System.Drawing.Color.Transparent;
- this.label21.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label21.Location = new System.Drawing.Point(478, 12);
- this.label21.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label21.Name = "label21";
- this.label21.Size = new System.Drawing.Size(104, 17);
- this.label21.TabIndex = 447;
- this.label21.Text = "产品包装标签图:";
- //
- // label20
- //
- this.label20.AutoSize = true;
- this.label20.BackColor = System.Drawing.Color.Transparent;
- this.label20.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label20.Location = new System.Drawing.Point(336, 12);
- this.label20.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label20.Name = "label20";
- this.label20.Size = new System.Drawing.Size(128, 17);
- this.label20.TabIndex = 446;
- this.label20.Text = "食品生产许可证图片:";
- //
- // chkUseGlobalQualifications
- //
- this.chkUseGlobalQualifications.AutoSize = true;
- this.chkUseGlobalQualifications.FlatAppearance.BorderSize = 0;
- this.chkUseGlobalQualifications.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkUseGlobalQualifications.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkUseGlobalQualifications.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.chkUseGlobalQualifications.Location = new System.Drawing.Point(6, 2);
- this.chkUseGlobalQualifications.Margin = new System.Windows.Forms.Padding(2);
- this.chkUseGlobalQualifications.Name = "chkUseGlobalQualifications";
- this.chkUseGlobalQualifications.Size = new System.Drawing.Size(156, 21);
- this.chkUseGlobalQualifications.TabIndex = 445;
- this.chkUseGlobalQualifications.Text = "上传商品时使用以下资质";
- this.chkUseGlobalQualifications.UseVisualStyleBackColor = true;
- //
- // txt食品生产许可证编号
- //
- this.txt食品生产许可证编号.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txt食品生产许可证编号.Location = new System.Drawing.Point(124, 88);
- this.txt食品生产许可证编号.Margin = new System.Windows.Forms.Padding(2);
- this.txt食品生产许可证编号.Name = "txt食品生产许可证编号";
- this.txt食品生产许可证编号.Size = new System.Drawing.Size(185, 23);
- this.txt食品生产许可证编号.TabIndex = 444;
- this.txt食品生产许可证编号.TextChanged += new System.EventHandler(this.txt食品生产许可证号_TextChanged);
- //
- // label19
- //
- this.label19.AutoSize = true;
- this.label19.BackColor = System.Drawing.Color.Transparent;
- this.label19.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label19.Location = new System.Drawing.Point(3, 91);
- this.label19.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label19.Name = "label19";
- this.label19.Size = new System.Drawing.Size(128, 17);
- this.label19.TabIndex = 443;
- this.label19.Text = "食品生产许可证编号:";
- //
- // txt生产企业名称
- //
- this.txt生产企业名称.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txt生产企业名称.Location = new System.Drawing.Point(124, 60);
- this.txt生产企业名称.Margin = new System.Windows.Forms.Padding(2);
- this.txt生产企业名称.Name = "txt生产企业名称";
- this.txt生产企业名称.Size = new System.Drawing.Size(185, 23);
- this.txt生产企业名称.TabIndex = 441;
- this.txt生产企业名称.TextChanged += new System.EventHandler(this.txt生产企业名称_TextChanged);
- //
- // txtBrand
- //
- this.txtBrand.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtBrand.Location = new System.Drawing.Point(124, 32);
- this.txtBrand.Margin = new System.Windows.Forms.Padding(2);
- this.txtBrand.Name = "txtBrand";
- this.txtBrand.Size = new System.Drawing.Size(185, 23);
- this.txtBrand.TabIndex = 439;
- this.txtBrand.TextChanged += new System.EventHandler(this.txtBrand_TextChanged);
- //
- // label17
- //
- this.label17.AutoSize = true;
- this.label17.BackColor = System.Drawing.Color.Transparent;
- this.label17.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label17.Location = new System.Drawing.Point(39, 63);
- this.label17.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label17.Name = "label17";
- this.label17.Size = new System.Drawing.Size(92, 17);
- this.label17.TabIndex = 442;
- this.label17.Text = "生产企业名称:";
- //
- // label16
- //
- this.label16.AutoSize = true;
- this.label16.BackColor = System.Drawing.Color.Transparent;
- this.label16.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label16.Location = new System.Drawing.Point(87, 35);
- this.label16.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label16.Name = "label16";
- this.label16.Size = new System.Drawing.Size(44, 17);
- this.label16.TabIndex = 440;
- this.label16.Text = "品牌:";
- //
- // tabPage4
- //
- this.tabPage4.Controls.Add(this.checkBox1);
- this.tabPage4.Controls.Add(this.panelEx2);
- this.tabPage4.Controls.Add(this.panelEx1);
- this.tabPage4.Controls.Add(this.checkBox2);
- this.tabPage4.Controls.Add(this.chkCustomCategory);
- this.tabPage4.Location = new System.Drawing.Point(4, 26);
- this.tabPage4.Name = "tabPage4";
- this.tabPage4.Padding = new System.Windows.Forms.Padding(3);
- this.tabPage4.Size = new System.Drawing.Size(886, 150);
- this.tabPage4.TabIndex = 3;
- this.tabPage4.Text = "图书上货";
- this.tabPage4.UseVisualStyleBackColor = true;
- //
- // checkBox1
- //
- this.checkBox1.AutoSize = true;
- this.checkBox1.FlatAppearance.BorderSize = 0;
- this.checkBox1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.checkBox1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.checkBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.checkBox1.Location = new System.Drawing.Point(345, 24);
- this.checkBox1.Margin = new System.Windows.Forms.Padding(2);
- this.checkBox1.Name = "checkBox1";
- this.checkBox1.Size = new System.Drawing.Size(84, 21);
- this.checkBox1.TabIndex = 464;
- this.checkBox1.Text = "出版社过滤";
- this.checkBox1.UseVisualStyleBackColor = true;
- //
- // panelEx2
- //
- this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx2.Font = new System.Drawing.Font("微软雅黑", 9F);
- this.panelEx2.Location = new System.Drawing.Point(434, 25);
- this.panelEx2.Name = "panelEx2";
- this.panelEx2.Size = new System.Drawing.Size(35, 20);
- this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.panelEx2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx2.Style.GradientAngle = 90;
- this.panelEx2.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx2.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.panelEx2.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.panelEx2.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.panelEx2.TabIndex = 457;
- this.panelEx2.Text = "设置";
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Font = new System.Drawing.Font("微软雅黑", 9F);
- this.panelEx1.Location = new System.Drawing.Point(283, 24);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(35, 20);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.panelEx1.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.panelEx1.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.panelEx1.TabIndex = 453;
- this.panelEx1.Text = "设置";
- //
- // checkBox2
- //
- this.checkBox2.AutoSize = true;
- this.checkBox2.FlatAppearance.BorderSize = 0;
- this.checkBox2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.checkBox2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.checkBox2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.checkBox2.Location = new System.Drawing.Point(5, 3);
- this.checkBox2.Margin = new System.Windows.Forms.Padding(2);
- this.checkBox2.Name = "checkBox2";
- this.checkBox2.Size = new System.Drawing.Size(156, 21);
- this.checkBox2.TabIndex = 449;
- this.checkBox2.Text = "上传商品时使用图书配置";
- this.checkBox2.UseVisualStyleBackColor = true;
- //
- // chkCustomCategory
- //
- this.chkCustomCategory.AutoSize = true;
- this.chkCustomCategory.FlatAppearance.BorderSize = 0;
- this.chkCustomCategory.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkCustomCategory.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkCustomCategory.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
- this.chkCustomCategory.Location = new System.Drawing.Point(182, 24);
- this.chkCustomCategory.Margin = new System.Windows.Forms.Padding(2);
- this.chkCustomCategory.Name = "chkCustomCategory";
- this.chkCustomCategory.Size = new System.Drawing.Size(96, 21);
- this.chkCustomCategory.TabIndex = 446;
- this.chkCustomCategory.Text = "只传指定类目";
- this.chkCustomCategory.UseVisualStyleBackColor = true;
- //
- // shopthreadCountTextBox
- //
- this.shopthreadCountTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.shopthreadCountTextBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.shopthreadCountTextBox.FormattingEnabled = true;
- this.shopthreadCountTextBox.Items.AddRange(new object[] {
- "1",
- "2",
- "3",
- "4",
- "5",
- "10",
- "15",
- "20",
- "30",
- "50"});
- this.shopthreadCountTextBox.Location = new System.Drawing.Point(963, 31);
- this.shopthreadCountTextBox.Margin = new System.Windows.Forms.Padding(2);
- this.shopthreadCountTextBox.Name = "shopthreadCountTextBox";
- this.shopthreadCountTextBox.Size = new System.Drawing.Size(36, 25);
- this.shopthreadCountTextBox.TabIndex = 397;
- this.shopthreadCountTextBox.Text = "20";
- this.shopthreadCountTextBox.SelectedIndexChanged += new System.EventHandler(this.shopthreadCountTextBox_SelectedIndexChanged);
- //
- // btnUpload
- //
- this.btnUpload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnUpload.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnUpload.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnUpload.FlatAppearance.BorderSize = 0;
- this.btnUpload.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnUpload.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnUpload.ForeColor = System.Drawing.Color.White;
- this.btnUpload.Location = new System.Drawing.Point(930, 87);
- this.btnUpload.Margin = new System.Windows.Forms.Padding(2);
- this.btnUpload.Name = "btnUpload";
- this.btnUpload.Size = new System.Drawing.Size(72, 25);
- this.btnUpload.TabIndex = 390;
- this.btnUpload.Text = "导入数据";
- this.btnUpload.UseVisualStyleBackColor = false;
- this.btnUpload.Click += new System.EventHandler(this.button3_Click);
- //
- // buttonEx1
- //
- this.buttonEx1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.buttonEx1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.buttonEx1.Cursor = System.Windows.Forms.Cursors.Hand;
- this.buttonEx1.FlatAppearance.BorderSize = 0;
- this.buttonEx1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.buttonEx1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.buttonEx1.ForeColor = System.Drawing.Color.White;
- this.buttonEx1.Location = new System.Drawing.Point(930, 117);
- this.buttonEx1.Margin = new System.Windows.Forms.Padding(2);
- this.buttonEx1.Name = "buttonEx1";
- this.buttonEx1.Size = new System.Drawing.Size(72, 25);
- this.buttonEx1.TabIndex = 389;
- this.buttonEx1.Text = "清空数据";
- this.buttonEx1.UseVisualStyleBackColor = false;
- this.buttonEx1.Click += new System.EventHandler(this.button4_Click);
- //
- // btnUploadGood
- //
- this.btnUploadGood.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnUploadGood.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnUploadGood.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnUploadGood.FlatAppearance.BorderSize = 0;
- this.btnUploadGood.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnUploadGood.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnUploadGood.ForeColor = System.Drawing.Color.White;
- this.btnUploadGood.Location = new System.Drawing.Point(1007, 87);
- this.btnUploadGood.Margin = new System.Windows.Forms.Padding(2);
- this.btnUploadGood.Name = "btnUploadGood";
- this.btnUploadGood.Size = new System.Drawing.Size(72, 25);
- this.btnUploadGood.TabIndex = 387;
- this.btnUploadGood.Text = "上货";
- this.btnUploadGood.UseVisualStyleBackColor = false;
- this.btnUploadGood.Click += new System.EventHandler(this.btnUpload_Click);
- //
- // countLabel
- //
- this.countLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.countLabel.AutoSize = true;
- this.countLabel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.countLabel.ForeColor = System.Drawing.Color.Black;
- this.countLabel.Location = new System.Drawing.Point(1053, 35);
- this.countLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.countLabel.Name = "countLabel";
- this.countLabel.Size = new System.Drawing.Size(27, 17);
- this.countLabel.TabIndex = 368;
- this.countLabel.Text = "0个";
- //
- // label29
- //
- this.label29.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.label29.AutoSize = true;
- this.label29.BackColor = System.Drawing.Color.Transparent;
- this.label29.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label29.Location = new System.Drawing.Point(905, 35);
- this.label29.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label29.Name = "label29";
- this.label29.Size = new System.Drawing.Size(68, 17);
- this.label29.TabIndex = 396;
- this.label29.Text = "多店发布:";
- //
- // lblWaitUpload
- //
- this.lblWaitUpload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.lblWaitUpload.AutoSize = true;
- this.lblWaitUpload.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.lblWaitUpload.Location = new System.Drawing.Point(1010, 35);
- this.lblWaitUpload.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.lblWaitUpload.Name = "lblWaitUpload";
- this.lblWaitUpload.Size = new System.Drawing.Size(56, 17);
- this.lblWaitUpload.TabIndex = 367;
- this.lblWaitUpload.Text = "剩余数:";
- this.lblWaitUpload.Click += new System.EventHandler(this.lblWaitUpload_Click);
- //
- // splitContainer3
- //
- this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
- this.splitContainer3.Location = new System.Drawing.Point(0, 0);
- this.splitContainer3.Name = "splitContainer3";
- this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
- //
- // splitContainer3.Panel1
- //
- this.splitContainer3.Panel1.Controls.Add(this.splitContainer2);
- //
- // splitContainer3.Panel2
- //
- this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
- this.splitContainer3.Size = new System.Drawing.Size(1110, 463);
- this.splitContainer3.SplitterDistance = 433;
- this.splitContainer3.TabIndex = 1;
- //
- // splitContainer2
- //
- this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
- this.splitContainer2.Location = new System.Drawing.Point(0, 0);
- this.splitContainer2.Name = "splitContainer2";
- //
- // splitContainer2.Panel1
- //
- this.splitContainer2.Panel1.Controls.Add(this.cboHour);
- this.splitContainer2.Panel1.Controls.Add(this.btnTest);
- this.splitContainer2.Panel1.Controls.Add(this.buttonEx4);
- this.splitContainer2.Panel1.Controls.Add(this.chklogistime);
- this.splitContainer2.Panel1.Controls.Add(this.label48);
- this.splitContainer2.Panel1.Controls.Add(this.label10);
- this.splitContainer2.Panel1.Controls.Add(this.littleSkuCheckBox);
- this.splitContainer2.Panel1.Controls.Add(this.txtRatio);
- this.splitContainer2.Panel1.Controls.Add(this.chkSaveToOffLine);
- this.splitContainer2.Panel1.Controls.Add(this.chkIsSetCommission);
- this.splitContainer2.Panel1.Controls.Add(this.btnGetUpId);
- this.splitContainer2.Panel1.Controls.Add(this.txtUpProduct);
- this.splitContainer2.Panel1.Controls.Add(this.dgvShop);
- this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 0, 0);
- //
- // splitContainer2.Panel2
- //
- this.splitContainer2.Panel2.Controls.Add(this.pnlShowError);
- this.splitContainer2.Panel2.Controls.Add(this.dgvProduct);
- this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 0);
- this.splitContainer2.Size = new System.Drawing.Size(1110, 433);
- this.splitContainer2.SplitterDistance = 347;
- this.splitContainer2.TabIndex = 0;
- //
- // cboHour
- //
- this.cboHour.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.cboHour.FormattingEnabled = true;
- this.cboHour.Items.AddRange(new object[] {
- "24",
- "48",
- "72"});
- this.cboHour.Location = new System.Drawing.Point(117, 41);
- this.cboHour.Margin = new System.Windows.Forms.Padding(2);
- this.cboHour.Name = "cboHour";
- this.cboHour.Size = new System.Drawing.Size(41, 25);
- this.cboHour.TabIndex = 406;
- this.cboHour.Text = "24";
- this.cboHour.Visible = false;
- this.cboHour.SelectedIndexChanged += new System.EventHandler(this.cboHour_SelectedIndexChanged);
- //
- // btnTest
- //
- this.btnTest.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnTest.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnTest.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnTest.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnTest.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnTest.ForeColor = System.Drawing.Color.White;
- this.btnTest.Location = new System.Drawing.Point(12, 400);
- this.btnTest.Margin = new System.Windows.Forms.Padding(2);
- this.btnTest.Name = "btnTest";
- this.btnTest.Size = new System.Drawing.Size(72, 25);
- this.btnTest.TabIndex = 391;
- this.btnTest.Text = "测试按钮";
- this.btnTest.UseVisualStyleBackColor = false;
- this.btnTest.Visible = false;
- this.btnTest.Click += new System.EventHandler(this.button6_Click);
- //
- // buttonEx4
- //
- this.buttonEx4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.buttonEx4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.buttonEx4.Cursor = System.Windows.Forms.Cursors.Hand;
- this.buttonEx4.FlatAppearance.BorderSize = 0;
- this.buttonEx4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.buttonEx4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.buttonEx4.ForeColor = System.Drawing.Color.White;
- this.buttonEx4.Location = new System.Drawing.Point(23, 176);
- this.buttonEx4.Margin = new System.Windows.Forms.Padding(2);
- this.buttonEx4.Name = "buttonEx4";
- this.buttonEx4.Size = new System.Drawing.Size(72, 25);
- this.buttonEx4.TabIndex = 403;
- this.buttonEx4.Text = "登录淘宝";
- this.buttonEx4.UseVisualStyleBackColor = false;
- this.buttonEx4.Visible = false;
- this.buttonEx4.Click += new System.EventHandler(this.buttonEx4_Click);
- //
- // chklogistime
- //
- this.chklogistime.AutoSize = true;
- this.chklogistime.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chklogistime.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chklogistime.Location = new System.Drawing.Point(24, 44);
- this.chklogistime.Name = "chklogistime";
- this.chklogistime.Size = new System.Drawing.Size(96, 21);
- this.chklogistime.TabIndex = 405;
- this.chklogistime.Text = "不上传发货超";
- this.chklogistime.UseVisualStyleBackColor = true;
- this.chklogistime.Visible = false;
- this.chklogistime.CheckedChanged += new System.EventHandler(this.chklogistime_CheckedChanged);
- //
- // label48
- //
- this.label48.AutoSize = true;
- this.label48.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label48.Location = new System.Drawing.Point(159, 46);
- this.label48.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label48.Name = "label48";
- this.label48.Size = new System.Drawing.Size(32, 17);
- this.label48.TabIndex = 407;
- this.label48.Text = "小时";
- this.label48.Visible = false;
- //
- // label10
- //
- this.label10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.label10.AutoSize = true;
- this.label10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label10.ForeColor = System.Drawing.Color.Black;
- this.label10.Location = new System.Drawing.Point(158, 123);
- this.label10.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.label10.Name = "label10";
- this.label10.Size = new System.Drawing.Size(19, 17);
- this.label10.TabIndex = 427;
- this.label10.Text = "%";
- this.label10.Visible = false;
- //
- // littleSkuCheckBox
- //
- this.littleSkuCheckBox.AutoSize = true;
- this.littleSkuCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.littleSkuCheckBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.littleSkuCheckBox.Location = new System.Drawing.Point(24, 70);
- this.littleSkuCheckBox.Margin = new System.Windows.Forms.Padding(2);
- this.littleSkuCheckBox.Name = "littleSkuCheckBox";
- this.littleSkuCheckBox.Size = new System.Drawing.Size(123, 21);
- this.littleSkuCheckBox.TabIndex = 379;
- this.littleSkuCheckBox.Text = "低于3个sku不上传";
- this.littleSkuCheckBox.UseVisualStyleBackColor = true;
- this.littleSkuCheckBox.Visible = false;
- this.littleSkuCheckBox.CheckedChanged += new System.EventHandler(this.littleSkuCheckBox_CheckedChanged);
- //
- // txtRatio
- //
- this.txtRatio.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.txtRatio.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtRatio.Location = new System.Drawing.Point(130, 120);
- this.txtRatio.Margin = new System.Windows.Forms.Padding(2);
- this.txtRatio.Name = "txtRatio";
- this.txtRatio.Size = new System.Drawing.Size(28, 23);
- this.txtRatio.TabIndex = 426;
- this.txtRatio.Text = "10";
- this.txtRatio.Visible = false;
- this.txtRatio.TextChanged += new System.EventHandler(this.txtRatio_TextChanged);
- //
- // chkSaveToOffLine
- //
- this.chkSaveToOffLine.AutoSize = true;
- this.chkSaveToOffLine.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkSaveToOffLine.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkSaveToOffLine.Location = new System.Drawing.Point(24, 95);
- this.chkSaveToOffLine.Margin = new System.Windows.Forms.Padding(2);
- this.chkSaveToOffLine.Name = "chkSaveToOffLine";
- this.chkSaveToOffLine.Size = new System.Drawing.Size(84, 21);
- this.chkSaveToOffLine.TabIndex = 439;
- this.chkSaveToOffLine.Text = "保存到仓库";
- this.chkSaveToOffLine.UseVisualStyleBackColor = true;
- this.chkSaveToOffLine.Visible = false;
- this.chkSaveToOffLine.CheckedChanged += new System.EventHandler(this.chkSaveToOffLine_CheckedChanged);
- //
- // chkIsSetCommission
- //
- this.chkIsSetCommission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.chkIsSetCommission.AutoSize = true;
- this.chkIsSetCommission.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.chkIsSetCommission.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.chkIsSetCommission.Location = new System.Drawing.Point(24, 121);
- this.chkIsSetCommission.Name = "chkIsSetCommission";
- this.chkIsSetCommission.Size = new System.Drawing.Size(108, 21);
- this.chkIsSetCommission.TabIndex = 425;
- this.chkIsSetCommission.Text = "上货后设置佣金";
- this.chkIsSetCommission.UseVisualStyleBackColor = true;
- this.chkIsSetCommission.Visible = false;
- this.chkIsSetCommission.CheckedChanged += new System.EventHandler(this.chkIsSetCommission_CheckedChanged);
- //
- // btnGetUpId
- //
- this.btnGetUpId.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnGetUpId.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnGetUpId.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnGetUpId.FlatAppearance.BorderSize = 0;
- this.btnGetUpId.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnGetUpId.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnGetUpId.ForeColor = System.Drawing.Color.White;
- this.btnGetUpId.Location = new System.Drawing.Point(23, 147);
- this.btnGetUpId.Margin = new System.Windows.Forms.Padding(2);
- this.btnGetUpId.Name = "btnGetUpId";
- this.btnGetUpId.Size = new System.Drawing.Size(72, 25);
- this.btnGetUpId.TabIndex = 395;
- this.btnGetUpId.Text = "获取上家";
- this.btnGetUpId.UseVisualStyleBackColor = false;
- this.btnGetUpId.Visible = false;
- this.btnGetUpId.Click += new System.EventHandler(this.btnGetUpId_Click);
- //
- // txtUpProduct
- //
- this.txtUpProduct.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.txtUpProduct.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtUpProduct.Location = new System.Drawing.Point(99, 148);
- this.txtUpProduct.Margin = new System.Windows.Forms.Padding(2);
- this.txtUpProduct.Name = "txtUpProduct";
- this.txtUpProduct.Size = new System.Drawing.Size(94, 23);
- this.txtUpProduct.TabIndex = 394;
- this.txtUpProduct.Visible = false;
- //
- // dgvShop
- //
- this.dgvShop.AllowUserToAddRows = false;
- this.dgvShop.AllowUserToDeleteRows = false;
- dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
- this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
- this.dgvShop.BackgroundColor = System.Drawing.Color.White;
- this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
- this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.colSelect,
- this.colShopId,
- this.colShopName,
- this.colUploadCount,
- this.colStatus});
- this.dgvShop.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dgvShop.Location = new System.Drawing.Point(4, 0);
- this.dgvShop.Name = "dgvShop";
- this.dgvShop.ReadOnly = true;
- dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.dgvShop.RowsDefaultCellStyle = dataGridViewCellStyle3;
- this.dgvShop.RowTemplate.Height = 23;
- this.dgvShop.Size = new System.Drawing.Size(343, 433);
- this.dgvShop.TabIndex = 6;
- this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
- //
- // colSelect
- //
- this.colSelect.FillWeight = 50F;
- this.colSelect.HeaderText = "全选";
- this.colSelect.Name = "colSelect";
- this.colSelect.ReadOnly = true;
- this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.colSelect.Width = 36;
- //
- // colShopId
- //
- this.colShopId.HeaderText = "店铺";
- this.colShopId.Name = "colShopId";
- this.colShopId.ReadOnly = true;
- this.colShopId.Width = 60;
- //
- // colShopName
- //
- this.colShopName.FillWeight = 150F;
- this.colShopName.HeaderText = "店铺名称";
- this.colShopName.Name = "colShopName";
- this.colShopName.ReadOnly = true;
- this.colShopName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.colShopName.Width = 80;
- //
- // colUploadCount
- //
- this.colUploadCount.HeaderText = "上传";
- this.colUploadCount.Name = "colUploadCount";
- this.colUploadCount.ReadOnly = true;
- this.colUploadCount.Width = 50;
- //
- // colStatus
- //
- this.colStatus.HeaderText = "消息";
- this.colStatus.Name = "colStatus";
- this.colStatus.ReadOnly = true;
- this.colStatus.Width = 120;
- //
- // pnlShowError
- //
- this.pnlShowError.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.pnlShowError.CanvasColor = System.Drawing.Color.Empty;
- this.pnlShowError.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.pnlShowError.DisabledBackColor = System.Drawing.Color.Empty;
- this.pnlShowError.Location = new System.Drawing.Point(179, 176);
- this.pnlShowError.Name = "pnlShowError";
- this.pnlShowError.Size = new System.Drawing.Size(400, 100);
- this.pnlShowError.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.pnlShowError.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(163)))), ((int)(((byte)(226)))), ((int)(((byte)(255)))));
- this.pnlShowError.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(163)))), ((int)(((byte)(226)))), ((int)(((byte)(255)))));
- this.pnlShowError.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.pnlShowError.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
- this.pnlShowError.Style.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.pnlShowError.Style.ForeColor.Color = System.Drawing.Color.Red;
- this.pnlShowError.Style.GradientAngle = 90;
- this.pnlShowError.TabIndex = 179;
- this.pnlShowError.Text = "panelEx3";
- this.pnlShowError.Visible = false;
- //
- // splitContainer4
- //
- this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
- this.splitContainer4.Location = new System.Drawing.Point(0, 0);
- this.splitContainer4.Name = "splitContainer4";
- //
- // splitContainer4.Panel1
- //
- this.splitContainer4.Panel1.Controls.Add(this.statusBar);
- //
- // splitContainer4.Panel2
- //
- this.splitContainer4.Panel2.Controls.Add(this.flowLayoutPanel1);
- this.splitContainer4.Size = new System.Drawing.Size(1110, 26);
- this.splitContainer4.SplitterDistance = 703;
- this.splitContainer4.TabIndex = 3;
- //
- // statusBar
- //
- this.statusBar.BackColor = System.Drawing.Color.White;
- this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
- this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.statusBar.Location = new System.Drawing.Point(0, 0);
- this.statusBar.Margin = new System.Windows.Forms.Padding(0);
- this.statusBar.Name = "statusBar";
- this.statusBar.Size = new System.Drawing.Size(703, 26);
- this.statusBar.TabIndex = 2;
- //
- // flowLayoutPanel1
- //
- this.flowLayoutPanel1.Controls.Add(this.btnGo);
- this.flowLayoutPanel1.Controls.Add(this.label27);
- this.flowLayoutPanel1.Controls.Add(this.txtGoPage);
- this.flowLayoutPanel1.Controls.Add(this.label36);
- this.flowLayoutPanel1.Controls.Add(this.lblTotalPage);
- this.flowLayoutPanel1.Controls.Add(this.btnNext);
- this.flowLayoutPanel1.Controls.Add(this.lblCurrentPage);
- this.flowLayoutPanel1.Controls.Add(this.btnPrev);
- this.flowLayoutPanel1.Controls.Add(this.lblPage1);
- this.flowLayoutPanel1.Controls.Add(this.AutoRefcheckBox);
- this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
- this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 0);
- this.flowLayoutPanel1.Name = "flowLayoutPanel1";
- this.flowLayoutPanel1.Size = new System.Drawing.Size(403, 26);
- this.flowLayoutPanel1.TabIndex = 0;
- //
- // btnGo
- //
- this.btnGo.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.btnGo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
- this.btnGo.FlatAppearance.BorderColor = System.Drawing.Color.Silver;
- this.btnGo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnGo.Location = new System.Drawing.Point(359, 0);
- this.btnGo.Margin = new System.Windows.Forms.Padding(2, 0, 4, 0);
- this.btnGo.Name = "btnGo";
- this.btnGo.Size = new System.Drawing.Size(40, 22);
- this.btnGo.TabIndex = 371;
- this.btnGo.Text = "前往";
- this.btnGo.UseCompatibleTextRendering = true;
- this.btnGo.UseVisualStyleBackColor = false;
- this.btnGo.Click += new System.EventHandler(this.btnGo_Click);
- //
- // label27
- //
- this.label27.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.label27.AutoSize = true;
- this.label27.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.label27.Location = new System.Drawing.Point(340, 0);
- this.label27.Margin = new System.Windows.Forms.Padding(0);
- this.label27.Name = "label27";
- this.label27.Size = new System.Drawing.Size(17, 21);
- this.label27.TabIndex = 338;
- this.label27.Text = "页";
- this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.label27.UseCompatibleTextRendering = true;
- //
- // txtGoPage
- //
- this.txtGoPage.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.txtGoPage.Font = new System.Drawing.Font("微软雅黑", 8.5F);
- this.txtGoPage.Location = new System.Drawing.Point(312, 0);
- this.txtGoPage.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
- this.txtGoPage.Name = "txtGoPage";
- this.txtGoPage.Size = new System.Drawing.Size(26, 22);
- this.txtGoPage.TabIndex = 336;
- this.txtGoPage.Text = "1";
- this.txtGoPage.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- //
- // label36
- //
- this.label36.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.label36.AutoSize = true;
- this.label36.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.label36.Location = new System.Drawing.Point(268, 0);
- this.label36.Margin = new System.Windows.Forms.Padding(8, 0, 0, 0);
- this.label36.Name = "label36";
- this.label36.Size = new System.Drawing.Size(42, 21);
- this.label36.TabIndex = 337;
- this.label36.Text = "跳转到";
- this.label36.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.label36.UseCompatibleTextRendering = true;
- //
- // lblTotalPage
- //
- this.lblTotalPage.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.lblTotalPage.AutoSize = true;
- this.lblTotalPage.Cursor = System.Windows.Forms.Cursors.Hand;
- this.lblTotalPage.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.lblTotalPage.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.lblTotalPage.Location = new System.Drawing.Point(224, 0);
- this.lblTotalPage.Margin = new System.Windows.Forms.Padding(0);
- this.lblTotalPage.Name = "lblTotalPage";
- this.lblTotalPage.Size = new System.Drawing.Size(36, 21);
- this.lblTotalPage.TabIndex = 335;
- this.lblTotalPage.Text = "共1页";
- this.lblTotalPage.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.lblTotalPage.UseCompatibleTextRendering = true;
- this.lblTotalPage.Click += new System.EventHandler(this.lblTotalPage_Click);
- //
- // btnNext
- //
- this.btnNext.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.btnNext.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
- this.btnNext.FlatAppearance.BorderColor = System.Drawing.Color.Silver;
- this.btnNext.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnNext.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnNext.Location = new System.Drawing.Point(199, 0);
- this.btnNext.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0);
- this.btnNext.Name = "btnNext";
- this.btnNext.Size = new System.Drawing.Size(22, 22);
- this.btnNext.TabIndex = 370;
- this.btnNext.Text = ">";
- this.btnNext.UseCompatibleTextRendering = true;
- this.btnNext.UseVisualStyleBackColor = false;
- this.btnNext.Click += new System.EventHandler(this.btnNext_Click);
- //
- // lblCurrentPage
- //
- this.lblCurrentPage.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.lblCurrentPage.AutoSize = true;
- this.lblCurrentPage.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.lblCurrentPage.Location = new System.Drawing.Point(184, 0);
- this.lblCurrentPage.Margin = new System.Windows.Forms.Padding(0);
- this.lblCurrentPage.Name = "lblCurrentPage";
- this.lblCurrentPage.Size = new System.Drawing.Size(12, 21);
- this.lblCurrentPage.TabIndex = 339;
- this.lblCurrentPage.Text = "1";
- this.lblCurrentPage.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.lblCurrentPage.UseCompatibleTextRendering = true;
- //
- // btnPrev
- //
- this.btnPrev.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.btnPrev.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
- this.btnPrev.FlatAppearance.BorderColor = System.Drawing.Color.Silver;
- this.btnPrev.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnPrev.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnPrev.Location = new System.Drawing.Point(159, 0);
- this.btnPrev.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0);
- this.btnPrev.Name = "btnPrev";
- this.btnPrev.Size = new System.Drawing.Size(22, 22);
- this.btnPrev.TabIndex = 369;
- this.btnPrev.Text = "<";
- this.btnPrev.UseCompatibleTextRendering = true;
- this.btnPrev.UseVisualStyleBackColor = false;
- this.btnPrev.Click += new System.EventHandler(this.btnPrev_Click);
- //
- // lblPage1
- //
- this.lblPage1.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.lblPage1.AutoSize = true;
- this.lblPage1.Cursor = System.Windows.Forms.Cursors.Hand;
- this.lblPage1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.lblPage1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.lblPage1.Location = new System.Drawing.Point(120, 0);
- this.lblPage1.Margin = new System.Windows.Forms.Padding(0);
- this.lblPage1.Name = "lblPage1";
- this.lblPage1.Size = new System.Drawing.Size(36, 21);
- this.lblPage1.TabIndex = 334;
- this.lblPage1.Text = "第1页";
- this.lblPage1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.lblPage1.UseCompatibleTextRendering = true;
- this.lblPage1.Click += new System.EventHandler(this.lblPage1_Click);
- //
- // AutoRefcheckBox
- //
- this.AutoRefcheckBox.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.AutoRefcheckBox.AutoSize = true;
- this.AutoRefcheckBox.Checked = true;
- this.AutoRefcheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
- this.AutoRefcheckBox.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.AutoRefcheckBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.AutoRefcheckBox.Location = new System.Drawing.Point(50, 0);
- this.AutoRefcheckBox.Margin = new System.Windows.Forms.Padding(0);
- this.AutoRefcheckBox.Name = "AutoRefcheckBox";
- this.AutoRefcheckBox.Size = new System.Drawing.Size(70, 22);
- this.AutoRefcheckBox.TabIndex = 372;
- this.AutoRefcheckBox.Text = "自动刷屏";
- this.AutoRefcheckBox.UseCompatibleTextRendering = true;
- this.AutoRefcheckBox.UseVisualStyleBackColor = true;
- this.AutoRefcheckBox.CheckedChanged += new System.EventHandler(this.AutoRefcheckBox_CheckedChanged);
- //
- // canUpColumn
- //
- this.canUpColumn.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
- this.canUpColumn.HeaderText = "全选";
- this.canUpColumn.Name = "canUpColumn";
- this.canUpColumn.ReadOnly = true;
- this.canUpColumn.Width = 60;
- //
- // showedColumn
- //
- this.showedColumn.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
- this.showedColumn.HeaderText = "可用";
- this.showedColumn.Name = "showedColumn";
- this.showedColumn.ReadOnly = true;
- this.showedColumn.Width = 52;
- //
- // explodeColumn
- //
- this.explodeColumn.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
- this.explodeColumn.HeaderText = "高级";
- this.explodeColumn.Name = "explodeColumn";
- this.explodeColumn.ReadOnly = true;
- this.explodeColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.explodeColumn.Width = 52;
- //
- // BuyAPIColumn
- //
- this.BuyAPIColumn.HeaderText = "购买API";
- this.BuyAPIColumn.Name = "BuyAPIColumn";
- this.BuyAPIColumn.ReadOnly = true;
- this.BuyAPIColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.BuyAPIColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- //
- // dataGridViewCheckBoxColumn1
- //
- this.dataGridViewCheckBoxColumn1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
- this.dataGridViewCheckBoxColumn1.HeaderText = "全选";
- this.dataGridViewCheckBoxColumn1.Name = "dataGridViewCheckBoxColumn1";
- this.dataGridViewCheckBoxColumn1.ReadOnly = true;
- this.dataGridViewCheckBoxColumn1.Width = 60;
- //
- // dataGridViewCheckBoxColumn2
- //
- this.dataGridViewCheckBoxColumn2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
- this.dataGridViewCheckBoxColumn2.HeaderText = "可用";
- this.dataGridViewCheckBoxColumn2.Name = "dataGridViewCheckBoxColumn2";
- this.dataGridViewCheckBoxColumn2.ReadOnly = true;
- this.dataGridViewCheckBoxColumn2.Width = 52;
- //
- // dataGridViewCheckBoxColumn3
- //
- this.dataGridViewCheckBoxColumn3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
- this.dataGridViewCheckBoxColumn3.HeaderText = "高级";
- this.dataGridViewCheckBoxColumn3.Name = "dataGridViewCheckBoxColumn3";
- this.dataGridViewCheckBoxColumn3.ReadOnly = true;
- this.dataGridViewCheckBoxColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewCheckBoxColumn3.Width = 52;
- //
- // dataGridViewLinkColumn1
- //
- this.dataGridViewLinkColumn1.HeaderText = "购买API";
- this.dataGridViewLinkColumn1.Name = "dataGridViewLinkColumn1";
- this.dataGridViewLinkColumn1.ReadOnly = true;
- this.dataGridViewLinkColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewLinkColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- //
- // shopNameColumnx
- //
- this.shopNameColumnx.HeaderText = "店铺";
- this.shopNameColumnx.Name = "shopNameColumnx";
- this.shopNameColumnx.ReadOnly = true;
- this.shopNameColumnx.Width = 110;
- //
- // nameColumn
- //
- this.nameColumn.HeaderText = "店铺名";
- this.nameColumn.Name = "nameColumn";
- this.nameColumn.ReadOnly = true;
- //
- // catNameColumnx
- //
- this.catNameColumnx.HeaderText = "分类";
- this.catNameColumnx.Name = "catNameColumnx";
- this.catNameColumnx.ReadOnly = true;
- this.catNameColumnx.Visible = false;
- this.catNameColumnx.Width = 67;
- //
- // upCountColumn
- //
- this.upCountColumn.HeaderText = "上传";
- this.upCountColumn.Name = "upCountColumn";
- this.upCountColumn.ReadOnly = true;
- this.upCountColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
- this.upCountColumn.Width = 52;
- //
- // productCountColumn
- //
- this.productCountColumn.HeaderText = "商品数量";
- this.productCountColumn.Name = "productCountColumn";
- this.productCountColumn.ReadOnly = true;
- this.productCountColumn.Width = 80;
- //
- // messageColumnx
- //
- this.messageColumnx.HeaderText = "消息";
- this.messageColumnx.Name = "messageColumnx";
- this.messageColumnx.ReadOnly = true;
- this.messageColumnx.Visible = false;
- this.messageColumnx.Width = 80;
- //
- // APIColumn
- //
- this.APIColumn.HeaderText = "API状态";
- this.APIColumn.Name = "APIColumn";
- this.APIColumn.ReadOnly = true;
- this.APIColumn.Width = 80;
- //
- // ServiceEndTimeColumn
- //
- this.ServiceEndTimeColumn.HeaderText = "API到期时间";
- this.ServiceEndTimeColumn.Name = "ServiceEndTimeColumn";
- this.ServiceEndTimeColumn.ReadOnly = true;
- this.ServiceEndTimeColumn.Width = 110;
- //
- // EndTimeColumn
- //
- this.EndTimeColumn.HeaderText = "元宝到期时间";
- this.EndTimeColumn.Name = "EndTimeColumn";
- this.EndTimeColumn.ReadOnly = true;
- this.EndTimeColumn.Width = 120;
- //
- // shopRemarkColumn
- //
- this.shopRemarkColumn.HeaderText = "备注";
- this.shopRemarkColumn.Name = "shopRemarkColumn";
- this.shopRemarkColumn.ReadOnly = true;
- //
- // dataGridViewTextBoxColumn1
- //
- this.dataGridViewTextBoxColumn1.HeaderText = "店铺";
- this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
- this.dataGridViewTextBoxColumn1.ReadOnly = true;
- this.dataGridViewTextBoxColumn1.Width = 110;
- //
- // dataGridViewTextBoxColumn2
- //
- this.dataGridViewTextBoxColumn2.HeaderText = "店铺名";
- this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
- this.dataGridViewTextBoxColumn2.ReadOnly = true;
- //
- // dataGridViewTextBoxColumn3
- //
- this.dataGridViewTextBoxColumn3.HeaderText = "分类";
- this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
- this.dataGridViewTextBoxColumn3.ReadOnly = true;
- this.dataGridViewTextBoxColumn3.Visible = false;
- this.dataGridViewTextBoxColumn3.Width = 67;
- //
- // dataGridViewTextBoxColumn4
- //
- this.dataGridViewTextBoxColumn4.HeaderText = "上传";
- this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
- this.dataGridViewTextBoxColumn4.ReadOnly = true;
- this.dataGridViewTextBoxColumn4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
- this.dataGridViewTextBoxColumn4.Width = 52;
- //
- // dataGridViewTextBoxColumn5
- //
- this.dataGridViewTextBoxColumn5.HeaderText = "商品数量";
- this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
- this.dataGridViewTextBoxColumn5.ReadOnly = true;
- this.dataGridViewTextBoxColumn5.Width = 80;
- //
- // dataGridViewTextBoxColumn6
- //
- this.dataGridViewTextBoxColumn6.HeaderText = "消息";
- this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
- this.dataGridViewTextBoxColumn6.ReadOnly = true;
- this.dataGridViewTextBoxColumn6.Visible = false;
- this.dataGridViewTextBoxColumn6.Width = 80;
- //
- // dataGridViewTextBoxColumn7
- //
- this.dataGridViewTextBoxColumn7.HeaderText = "API状态";
- this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
- this.dataGridViewTextBoxColumn7.ReadOnly = true;
- this.dataGridViewTextBoxColumn7.Width = 80;
- //
- // dataGridViewTextBoxColumn8
- //
- this.dataGridViewTextBoxColumn8.HeaderText = "API到期时间";
- this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
- this.dataGridViewTextBoxColumn8.ReadOnly = true;
- this.dataGridViewTextBoxColumn8.Width = 110;
- //
- // dataGridViewTextBoxColumn9
- //
- this.dataGridViewTextBoxColumn9.HeaderText = "元宝到期时间";
- this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
- this.dataGridViewTextBoxColumn9.ReadOnly = true;
- this.dataGridViewTextBoxColumn9.Width = 120;
- //
- // dataGridViewTextBoxColumn10
- //
- this.dataGridViewTextBoxColumn10.HeaderText = "备注";
- this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
- this.dataGridViewTextBoxColumn10.ReadOnly = true;
- //
- // messageColumn
- //
- this.messageColumn.HeaderText = "状态";
- this.messageColumn.Name = "messageColumn";
- this.messageColumn.ReadOnly = true;
- this.messageColumn.Width = 400;
- //
- // colFromFake
- //
- this.colFromFake.HeaderText = "来源";
- this.colFromFake.Name = "colFromFake";
- this.colFromFake.ReadOnly = true;
- //
- // fromColumn
- //
- this.fromColumn.HeaderText = "来源";
- this.fromColumn.Name = "fromColumn";
- this.fromColumn.ReadOnly = true;
- this.fromColumn.Visible = false;
- //
- // prcieColumn
- //
- this.prcieColumn.HeaderText = "价格";
- this.prcieColumn.Name = "prcieColumn";
- this.prcieColumn.ReadOnly = true;
- //
- // titleColumn
- //
- this.titleColumn.HeaderText = "标题";
- this.titleColumn.Name = "titleColumn";
- this.titleColumn.ReadOnly = true;
- this.titleColumn.Width = 120;
- //
- // shopNameColumn
- //
- this.shopNameColumn.HeaderText = "店铺名";
- this.shopNameColumn.Name = "shopNameColumn";
- this.shopNameColumn.ReadOnly = true;
- this.shopNameColumn.Width = 60;
- //
- // productIdColumn
- //
- this.productIdColumn.FillWeight = 150F;
- this.productIdColumn.HeaderText = "商品Id";
- this.productIdColumn.Name = "productIdColumn";
- this.productIdColumn.ReadOnly = true;
- this.productIdColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.productIdColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.productIdColumn.Width = 120;
- //
- // idColumn
- //
- this.idColumn.HeaderText = "上家Id";
- this.idColumn.Name = "idColumn";
- this.idColumn.ReadOnly = true;
- this.idColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.idColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.idColumn.Width = 95;
- //
- // dgvProduct
- //
- this.dgvProduct.AllowUserToAddRows = false;
- this.dgvProduct.AllowUserToDeleteRows = false;
- dataGridViewCellStyle4.BackColor = System.Drawing.Color.WhiteSmoke;
- this.dgvProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4;
- this.dgvProduct.BackgroundColor = System.Drawing.Color.White;
- this.dgvProduct.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
- this.dgvProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dgvProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.idColumn,
- this.productIdColumn,
- this.shopNameColumn,
- this.titleColumn,
- this.prcieColumn,
- this.fromColumn,
- this.colFromFake,
- this.messageColumn});
- this.dgvProduct.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dgvProduct.Location = new System.Drawing.Point(0, 0);
- this.dgvProduct.Name = "dgvProduct";
- this.dgvProduct.ReadOnly = true;
- dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.dgvProduct.RowsDefaultCellStyle = dataGridViewCellStyle6;
- this.dgvProduct.RowTemplate.Height = 23;
- this.dgvProduct.Size = new System.Drawing.Size(755, 433);
- this.dgvProduct.TabIndex = 7;
- this.dgvProduct.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvProduct_CellContentClick);
- this.dgvProduct.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dgvProduct_RowsAdded);
- //
- // UploadProductForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
- this.BackColor = System.Drawing.Color.White;
- this.ClientSize = new System.Drawing.Size(1110, 647);
- this.Controls.Add(this.splitContainer1);
- this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
- this.Name = "UploadProductForm";
- this.Text = "UploadProductForm";
- this.Load += new System.EventHandler(this.UploadProductForm_Load);
- 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.ucTabControlMetro1.ResumeLayout(false);
- this.tabPage1.ResumeLayout(false);
- this.tabPage1.PerformLayout();
- this.flowLayoutPanel2.ResumeLayout(false);
- this.flowLayoutPanel2.PerformLayout();
- this.tabPage2.ResumeLayout(false);
- this.tabPage2.PerformLayout();
- this.tabPage5.ResumeLayout(false);
- this.tabPage5.PerformLayout();
- this.tabPage3.ResumeLayout(false);
- this.tabPage3.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
- this.tabPage4.ResumeLayout(false);
- this.tabPage4.PerformLayout();
- this.splitContainer3.Panel1.ResumeLayout(false);
- this.splitContainer3.Panel2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
- this.splitContainer3.ResumeLayout(false);
- this.splitContainer2.Panel1.ResumeLayout(false);
- this.splitContainer2.Panel1.PerformLayout();
- this.splitContainer2.Panel2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
- this.splitContainer2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
- this.splitContainer4.Panel1.ResumeLayout(false);
- this.splitContainer4.Panel2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit();
- this.splitContainer4.ResumeLayout(false);
- this.flowLayoutPanel1.ResumeLayout(false);
- this.flowLayoutPanel1.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dgvProduct)).EndInit();
- this.ResumeLayout(false);
-
- }
-
- #endregion
- private System.Windows.Forms.SplitContainer splitContainer1;
- private System.Windows.Forms.TextBox txtMultiple;
- private System.Windows.Forms.TextBox txtPostage;
- private System.Windows.Forms.ComboBox cmbPlusOrMinus;
- private System.Windows.Forms.SplitContainer splitContainer2;
- private System.Windows.Forms.DataGridViewCheckBoxColumn canUpColumn;
- private System.Windows.Forms.DataGridViewTextBoxColumn shopNameColumnx;
- private System.Windows.Forms.DataGridViewTextBoxColumn nameColumn;
- private System.Windows.Forms.DataGridViewTextBoxColumn catNameColumnx;
- private System.Windows.Forms.DataGridViewTextBoxColumn upCountColumn;
- private System.Windows.Forms.DataGridViewTextBoxColumn productCountColumn;
- private System.Windows.Forms.DataGridViewCheckBoxColumn showedColumn;
- private System.Windows.Forms.DataGridViewCheckBoxColumn explodeColumn;
- private System.Windows.Forms.DataGridViewTextBoxColumn messageColumnx;
- private System.Windows.Forms.DataGridViewLinkColumn BuyAPIColumn;
- private System.Windows.Forms.DataGridViewTextBoxColumn APIColumn;
- private System.Windows.Forms.DataGridViewTextBoxColumn ServiceEndTimeColumn;
- private System.Windows.Forms.DataGridViewTextBoxColumn EndTimeColumn;
- private System.Windows.Forms.DataGridViewTextBoxColumn shopRemarkColumn;
- private System.Windows.Forms.DataGridViewCheckBoxColumn dataGridViewCheckBoxColumn1;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
- private System.Windows.Forms.DataGridViewCheckBoxColumn dataGridViewCheckBoxColumn2;
- private System.Windows.Forms.DataGridViewCheckBoxColumn dataGridViewCheckBoxColumn3;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
- private System.Windows.Forms.DataGridViewLinkColumn dataGridViewLinkColumn1;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
- private UserComponent.DataGridViewEx dgvShop;
- private System.Windows.Forms.Label lblWaitUpload;
- private System.Windows.Forms.Label countLabel;
- private System.Windows.Forms.SplitContainer splitContainer3;
- private UserControls.StatusBarUserControl statusBar;
- private System.Windows.Forms.SplitContainer splitContainer4;
- private System.Windows.Forms.Button btnGo;
- private System.Windows.Forms.Button btnNext;
- private System.Windows.Forms.Button btnPrev;
- private System.Windows.Forms.Label lblPage1;
- private System.Windows.Forms.Label lblTotalPage;
- private System.Windows.Forms.Label label27;
- private System.Windows.Forms.Label lblCurrentPage;
- private System.Windows.Forms.Label label36;
- private System.Windows.Forms.TextBox txtGoPage;
- private System.Windows.Forms.CheckBox AutoRefcheckBox;
- private System.Windows.Forms.Label label9;
- private System.Windows.Forms.TextBox beforPricetextBox;
- private System.Windows.Forms.Label label11;
- private System.Windows.Forms.Label label37;
- private System.Windows.Forms.TextBox txtStockLessThanCount;
- private System.Windows.Forms.CheckBox chkStockLessThan;
- private System.Windows.Forms.CheckBox littleSkuCheckBox;
- private System.Windows.Forms.TextBox txtSingleUpload;
- private System.Windows.Forms.Label label26;
- private System.Windows.Forms.Label label5;
- private UserControls.ButtonEx btnUploadGood;
- private UserControls.ButtonEx btnUpload;
- private UserControls.ButtonEx buttonEx1;
- private System.Windows.Forms.TextBox txtPhone;
- private System.Windows.Forms.Label label4;
- private UserControls.ButtonEx btnGetUpId;
- private System.Windows.Forms.TextBox txtUpProduct;
- private System.Windows.Forms.Label label29;
- private System.Windows.Forms.ComboBox shopthreadCountTextBox;
- private System.Windows.Forms.CheckBox chkFilterTitle;
- private System.Windows.Forms.TextBox prefixTextBox;
- private System.Windows.Forms.ComboBox comboBox1;
- private UserControls.ButtonEx buttonEx4;
- private System.Windows.Forms.CheckBox chkOnlyPostFree;
- private System.Windows.Forms.Label label48;
- private System.Windows.Forms.ComboBox cboHour;
- private System.Windows.Forms.CheckBox chklogistime;
- private System.Windows.Forms.Label label34;
- private System.Windows.Forms.Label label32;
- private System.Windows.Forms.TextBox lowPriceAddtextBox;
- private System.Windows.Forms.TextBox lowPricePercenttextBox;
- private System.Windows.Forms.CheckBox lowPricecheckBox;
- private System.Windows.Forms.TextBox txtremark;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.CheckBox chkSaveToDraft;
- private System.Windows.Forms.ComboBox comboBox5;
- private System.Windows.Forms.CheckBox proxyCheckBox;
- private System.Windows.Forms.CheckBox chkIsSetCommission;
- private System.Windows.Forms.Label label18;
- private System.Windows.Forms.CheckBox chkCustomStock;
- private System.Windows.Forms.TextBox txtCustomStock;
- private DevComponents.DotNetBar.PanelEx pnlShowError;
- private UserControls.ButtonEx buttonEx2;
- private System.Windows.Forms.CheckBox chkMultiUpload;
- private UserControls.ButtonEx btnTest;
- private System.Windows.Forms.Label label10;
- private System.Windows.Forms.TextBox txtRatio;
- private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
- private System.Windows.Forms.CheckBox chkRandomMainImage;
- private System.Windows.Forms.TextBox txtMinSku;
- private System.Windows.Forms.CheckBox chkMinSku;
- private System.Windows.Forms.CheckBox chkSaveToOffLine;
- private System.Windows.Forms.CheckBox chkViolateCheck;
- private PinBaoBao.UserControls.UcTabControlMetro ucTabControlMetro1;
- private System.Windows.Forms.TabPage tabPage1;
- private System.Windows.Forms.TabPage tabPage2;
- private System.Windows.Forms.Label label13;
- private System.Windows.Forms.Label label14;
- private System.Windows.Forms.ComboBox cmbSendDayAfterPre;
- private System.Windows.Forms.ComboBox cmbSendType;
- private System.Windows.Forms.ComboBox cmbNewPreTime;
- private System.Windows.Forms.Label lblNewPreTime;
- private System.Windows.Forms.Label label8;
- private System.Windows.Forms.Label label6;
- private System.Windows.Forms.ComboBox cmbSendDay;
- private System.Windows.Forms.Label sendTime;
- private System.Windows.Forms.DateTimePicker endDateTimePicker;
- private System.Windows.Forms.Label label12;
- private System.Windows.Forms.Label label7;
- private DevComponents.DotNetBar.PanelEx waitButton;
- private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel2;
- private DevComponents.DotNetBar.LabelX labelX1;
- private DevComponents.DotNetBar.PanelEx btnSetTitleFilter;
- private DevComponents.DotNetBar.PanelEx btnSetViolateCheck;
- private System.Windows.Forms.TextBox txtMultiple2;
- private System.Windows.Forms.TextBox txtPostage2;
- private DevComponents.DotNetBar.LabelX lblFromTo;
- private DevComponents.DotNetBar.LabelX lblFromTo2;
- private System.Windows.Forms.ComboBox cmbPlusOrMinus2;
- private System.Windows.Forms.CheckBox chkRoundPrice;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.CheckBox chkFuzzyMatching;
- private System.Windows.Forms.TextBox txtProductBrand;
- private System.Windows.Forms.Label label15;
- private System.Windows.Forms.TabPage tabPage3;
- private System.Windows.Forms.Label label22;
- private System.Windows.Forms.Label label21;
- private System.Windows.Forms.Label label20;
- private System.Windows.Forms.CheckBox chkUseGlobalQualifications;
- private System.Windows.Forms.TextBox txt食品生产许可证编号;
- private System.Windows.Forms.Label label19;
- private System.Windows.Forms.TextBox txt生产企业名称;
- private System.Windows.Forms.TextBox txtBrand;
- private System.Windows.Forms.Label label17;
- private System.Windows.Forms.Label label16;
- private DevComponents.DotNetBar.PanelEx btn上传质检报告;
- private DevComponents.DotNetBar.PanelEx btn上传包装标签图;
- private DevComponents.DotNetBar.PanelEx btn上传食品许可证;
- private System.Windows.Forms.PictureBox pictureBox3;
- private System.Windows.Forms.PictureBox pictureBox2;
- private System.Windows.Forms.PictureBox pictureBox1;
- private DevComponents.DotNetBar.PanelEx btn删除食品许可证;
- private DevComponents.DotNetBar.PanelEx btn删除包装标签图;
- private DevComponents.DotNetBar.PanelEx btn删除质检报告;
- private System.Windows.Forms.ComboBox cmb7Day;
- private System.Windows.Forms.ComboBox cmbDelMainPic;
- private System.Windows.Forms.CheckBox chkDelMainPic;
- private System.Windows.Forms.Label label23;
- private System.Windows.Forms.Label label24;
- private System.Windows.Forms.CheckBox chkDelFirstContentPic;
- private DevComponents.DotNetBar.PanelEx btnSetBrandFilter;
- private System.Windows.Forms.CheckBox chkFilterBrand;
- private DevComponents.DotNetBar.PanelEx btnSetSkuFilter;
- private System.Windows.Forms.CheckBox chkFilterSku;
- private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
- private System.Windows.Forms.DataGridViewTextBoxColumn colShopId;
- private System.Windows.Forms.DataGridViewTextBoxColumn colShopName;
- private System.Windows.Forms.DataGridViewTextBoxColumn colUploadCount;
- private System.Windows.Forms.DataGridViewTextBoxColumn colStatus;
- private System.Windows.Forms.CheckBox chkSaveUploadFailed;
- private DevComponents.DotNetBar.PanelEx btnSetTitleRemove;
- private System.Windows.Forms.CheckBox chkFilterRemoveTitle;
- private System.Windows.Forms.CheckBox chkFilterTMChaoShi;
- private System.Windows.Forms.TabPage tabPage4;
- private DevComponents.DotNetBar.PanelEx panelEx2;
- private DevComponents.DotNetBar.PanelEx panelEx1;
- private System.Windows.Forms.CheckBox checkBox2;
- private System.Windows.Forms.CheckBox chkCustomCategory;
- private System.Windows.Forms.CheckBox checkBox1;
- private System.Windows.Forms.CheckBox chkShopFissionUpload;
- private System.Windows.Forms.TabPage tabPage5;
- private UserComponent.DataGridViewEx dgvProduct;
- private System.Windows.Forms.DataGridViewLinkColumn idColumn;
- private System.Windows.Forms.DataGridViewLinkColumn productIdColumn;
- private System.Windows.Forms.DataGridViewTextBoxColumn shopNameColumn;
- private System.Windows.Forms.DataGridViewTextBoxColumn titleColumn;
- private System.Windows.Forms.DataGridViewTextBoxColumn prcieColumn;
- private System.Windows.Forms.DataGridViewTextBoxColumn fromColumn;
- private System.Windows.Forms.DataGridViewTextBoxColumn colFromFake;
- private System.Windows.Forms.DataGridViewTextBoxColumn messageColumn;
- }
-}
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/UploadProductForm.cs b/TEMUKJD/KJDForms/ProductForms/Old/UploadProductForm.cs
deleted file mode 100644
index 3dc2b0b..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/UploadProductForm.cs
+++ /dev/null
@@ -1,2475 +0,0 @@
-using AllBase;
-using AllBase.Helper;
-using AllBase.Model.Param.UploadManage;
-using AllBase.Model.Result;
-using DevComponents.DotNetBar;
-using TemuKJD.Extension;
-using TemuKJD.KJDForms.BaseForms;
-using TemuKJD.KJDForms.ToolForms;
-using NaiBa.Util;
-using NaiBa.Util.Extension;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Linq;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.IO;
-using System.IO.Compression;
-using System.Linq;
-using System.Net;
-using System.Text;
-using System.Threading;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-using Work;
-using Work.BLL.Upload;
-using Work.CollectClass;
-using Work.DouyinApiClass;
-using Work.GoodDetail;
-
-namespace TemuKJD.KJDForms.ProductForms
-{
- public partial class UploadProductForm : BaseForm
- {
- public static UploadProductForm instance = null;
- public static List lstFissionPcb = new List(); // 数据净化的数据列表
-
- public string formName = "商品发布";
- public static IeForm ieForm = new IeForm();
- public List lstCommissionAddResult; // 添加佣金商品的列表
-
- public string failedUploadFileName = "上货失败文件备份" + DateTime.Now.ToString("yyyyMMddHHmmss") + ".txt";
-
- public UploadProductForm()
- {
- InitializeComponent();
-
- lstCommissionAddResult = NaiBa.Util.Helper.ConfigHelper.LoadConfig>("upload_commission_list");
- if (lstCommissionAddResult == null)
- lstCommissionAddResult = new List();
-
- this.ucTabControlMetro1.TabPages.Remove(tabPage4);
- }
-
- private void UploadProductForm_Load(object sender, EventArgs e)
- {
- instance = this;
-
- // 加载所有全局属性和资质
- UploadProductBLL.sGlobalPropList = NaiBa.Util.Helper.ConfigHelper.LoadConfig>("global_prop_list");
- if (UploadProductBLL.sGlobalPropList == null)
- UploadProductBLL.sGlobalPropList = new List();
- UploadProductBLL.sGlobalQualifications = NaiBa.Util.Helper.ConfigHelper.LoadConfig>("global_qualifications");
- if (UploadProductBLL.sGlobalQualifications == null)
- UploadProductBLL.sGlobalQualifications = new List();
- this.txtBrand.TextChanged -= this.txtBrand_TextChanged;
- this.txt生产企业名称.TextChanged -= this.txt生产企业名称_TextChanged;
- this.txt食品生产许可证编号.TextChanged -= this.txt食品生产许可证号_TextChanged;
- this.txtBrand.Text = UploadProductBLL.sGlobalPropList.Find(p => p.Key == "品牌")?.Value + "";
- this.txt生产企业名称.Text = UploadProductBLL.sGlobalPropList.Find(p => p.Key == "生产企业名称")?.Value + "";
- this.txt食品生产许可证编号.Text = UploadProductBLL.sGlobalPropList.Find(p => p.Key == "食品生产许可证编号")?.Value + "";
- var pic1 = UploadProductBLL.sGlobalQualifications.Find(q => q.quality_name == "食品生产许可证")?.quality_attachments.FirstOrDefault().url;
- if (pic1 != null)
- try { this.pictureBox1.Load(pic1); }
- catch (Exception ex) { BaseMsgForm.ShowError("食品生产许可证:" + ex.Message); }
- var pic2 = UploadProductBLL.sGlobalQualifications.Find(q => q.quality_name == "包装标签图")?.quality_attachments.FirstOrDefault().url;
- if (pic2 != null)
- try { this.pictureBox2.Load(pic2); }
- catch (Exception ex) { BaseMsgForm.ShowError("包装标签图:" + ex.Message); }
- var pic3 = UploadProductBLL.sGlobalQualifications.Find(q => q.quality_name == "质检报告")?.quality_attachments.FirstOrDefault().url;
- if (pic3 != null)
- try { this.pictureBox3.Load(pic3); }
- catch (Exception ex) { BaseMsgForm.ShowError("质检报告:" + ex.Message); }
-
- this.txt食品生产许可证编号.TextChanged += this.txt食品生产许可证号_TextChanged;
- this.txt生产企业名称.TextChanged += this.txt生产企业名称_TextChanged;
- this.txtBrand.TextChanged += this.txtBrand_TextChanged;
- //this.ucTabControlMetro1.TabPages.RemoveAt(2);
-
-#if DEBUG
- this.cmbSendType.Items.Add("现货-预售");
- this.cmbSendType.Items.Add("新预售");
- //this.chkSaveToOffLine.Visible = true;
-#endif
- chkMultiUpload_CheckedChanged(null, null);
-
- LoadShops();
- GetUploadParam();
- Task.Run(() =>
- {
- LoadStock();
-
- ImportFromFission(lstFissionPcb);
- lstFissionPcb.Clear();
- });
- txtMultiple_TextChanged(null, null);
- txtMultiple2_TextChanged(null, null);
- txtPostage_TextChanged(null, null);
- txtPostage2_TextChanged(null, null);
- proxyCheckBox_CheckedChanged(null, null);
- lowPricecheckBox_CheckedChanged(null, null);
- lowPricePercenttextBox_TextChanged(null, null);
- lowPriceAddtextBox_TextChanged(null, null);
- new Thread(RefreshIeForm).Start();
- this.dgvShop.AddSelectorColumn("colSelect");
- this.cmb7Day.SelectedIndex = 2;
- ReadUrlImage();
- InitCommissionCef();
- }
-
-
- private void ReadUrlImage()
- {
- try
- {
- if (FileBase.Exists("temp/imageUrl.txt"))
- {
- UploadProductBLL.baseImageUrl = FileBase.ReadAllText("temp/imageUrl.txt").Trim();
- }
- }
- catch (Exception)
- {
-
- throw;
- }
- }
- public void LoadShops()
- {
- for (int i = 0; i < GlobalConfig.ShopLoginList.Count; i++)
- {
- var shop = GlobalConfig.ShopLoginList[i];
- dgvShop.Rows.Add(false, shop.ShopId, shop.ShopAccount, 0, shop.LoginStatus);
- }
- }
- public void RefreshIeForm()
- {
- while (true)
- {
- try
- {
- if (!string.IsNullOrEmpty(BaseClass.IeUrlShow))
- {
- Invoke(new Action(() =>
- {
- if (IeForm.IsShowIeForm)
- {
- IeForm VerfyForm = new IeForm();
- VerfyForm.Url = BaseClass.IeUrlShow;
- BaseClass.IeUrlShow = "";
- VerfyForm.Text = "淘宝验证窗口";
- VerfyForm.ShowDialog();
- }
- }));
- }
-
- if (UploadProductBLL.IsNoToken)
- {
- Invoke(new Action(() =>
- {
- TokenNewForm tokenForm = new TokenNewForm();
- tokenForm.ShowDialog();
- if (PinduoduoProductCollect.PinDuoDuoTokenList.Where(to => to.ProductDetailStatus == 1).ToList().Count == 0)
- {
- UploadProductBLL.IsNoToken = false;
- }
- }));
- }
- }
- catch
- {
- }
- Thread.Sleep(10);
- }
- }
-
- bool isRunning = false;
-
- private void btnUpload_Click(object sender, EventArgs e)
- {
- if (isRunning)
- return;
-
- SaveUploadParam();
-
- failedUploadFileName = "上货失败文件备份" + DateTime.Now.ToString("yyyyMMddHHmmss") + ".txt";
-
- if (string.IsNullOrEmpty(txtPhone.Text))
- {
- BaseMsgForm.ShowError("请输入客服电话号码!", "上传提醒", FormLevel.MEDIUM);
- return;
- }
- //if (TaobaoMobileCollect.CookiesDic.Count == 0 && UploadProductBLL.ProductStock.Exists(s => s.FromType == "淘宝"))
- //{
- // BaseMsgForm.ShowInfo("为了正常上传,请登录淘宝买手号", "提示");
- // ieForm.Show();
- // ieForm.WindowState = FormWindowState.Normal;
- // ieForm.Activate();
- // return;
- //}
-
- string delayType = cmbSendType.SelectedItem.ToString();
- if (delayType == "现货发货")
- UploadProductBLL.delayType = "0";
- if (delayType == "预售发货")
- UploadProductBLL.delayType = "1";
- if (delayType == "阶梯发货")
- UploadProductBLL.delayType = "2";
- if (delayType == "现货-预售")
- UploadProductBLL.delayType = "3";
- if (delayType == "新预售")
- UploadProductBLL.delayType = "4";
- UploadProductBLL.newPreTime = cmbNewPreTime.SelectedItem.ToString();
- string sendDay = this.cmbSendDay.SelectedItem.ToString();
- if (sendDay == "24")
- UploadProductBLL.sendDay = "1";
- if (sendDay == "48")
- UploadProductBLL.sendDay = "2";
-
- UploadProductBLL.isRandomMainImage = chkRandomMainImage.Checked;
- UploadProductBLL.isDraft = chkSaveToDraft.Checked;
- UploadProductBLL.IsFilterTitleWord = chkFilterTitle.Checked;
- UploadProductBLL.IsFilterRemoveTitleWord = chkFilterRemoveTitle.Checked;
- UploadProductBLL.IsFilterSkuWord = chkFilterSku.Checked;
- UploadProductBLL.IsFilterBrandWord = chkFilterBrand.Checked;
- UploadProductBLL.IsFilterTMChaoShi = chkFilterTMChaoShi.Checked;
-
- UploadProductBLL.isCustomStock = chkCustomStock.Checked;
- UploadProductBLL.skuCustomStock = int.Parse(txtCustomStock.Text);
-
- if (!string.IsNullOrEmpty(txtMinSku.Text))
- UploadProductBLL.minSkuStock = int.Parse(txtMinSku.Text);
- UploadProductBLL.isMinSkuStock = chkMinSku.Checked;
-
- UploadProductBLL.isMultiUpload = chkMultiUpload.Checked;
- //UploadProductBLL.isShopFissionUpload = chkShopFissionUpload.Checked;
-
- if (delayType == "预售发货")
- {
- DateTime endDate;
- DateTime.TryParse(this.endDateTimePicker.Text + " 23:59:59", out endDate);
- if ((endDate - DateTime.Now).TotalDays < 2)
- {
- MessageBox.Show("预售时间不能早于当前时间加2天");
- return;
- }
- if ((endDate - DateTime.Now).TotalDays > 30)
- {
- MessageBox.Show("无法设置,预售时间超过设置范围,最大30天");
- return;
- }
- UploadProductBLL.preEndTime = endDate.ToString("yyyy-MM-dd HH:mm:ss");
- }
- UploadProductBLL.endDay = cmbSendDayAfterPre.SelectedItem.ToString();
- UploadProductBLL.recommend_remark = txtremark.Text;
- SetButtonCanNotUse();
- isRunning = true;
- UploadProductBLL.ids = dgvShop.Rows.Cast()
- .Where(r1 => r1.Cells["colSelect"].Value.ToString().ToLower() == "true")
- .Select(r2 => r2.Cells["colShopId"].Value?.ToString()).ToList();
- UploadProductBLL.isSaveToOffLine = this.chkSaveToOffLine.Checked;
- UploadProductBLL.IsUseGlobalQualifications = this.chkUseGlobalQualifications.Checked;
- UploadProductBLL.supply_7day_return = this.cmb7Day.SelectedIndex.ToString();
-
- UploadProductBLL.isViolateCheck = this.chkViolateCheck.Checked;
- UploadProductBLL.isRoundPrice = this.chkRoundPrice.Checked;
- UploadProductBLL.productBrand = this.txtProductBrand.Text.Trim();
-
- UploadProductBLL.IsDelMainPic = this.chkDelMainPic.Checked;
- UploadProductBLL.DelMainPicId = this.cmbDelMainPic.Text.ParseToInt();
- UploadProductBLL.IsDelFirstContentPic = this.chkDelFirstContentPic.Checked;
-
- UploadPropertyBLL.IsFuzzyMatching = this.chkFuzzyMatching.Checked;
-
- UploadProductBLL.phone = txtPhone.Text;
-
- foreach (var shop in GlobalConfig.ShopLoginList)
- {
- shop.CanUpload = shop.LoginStatus == "登录成功" && shop.ApiAuthStatus == "授权成功";
- }
-
- Task.Run(() =>
- {
- Upload();
- isRunning = false;
- Invoke(new Action(() =>
- {
- SetButtonCanUse(1);
- }));
- });
- }
-
- public void Upload()
- {
- if (UploadProductBLL.isMultiUpload)
- {
- UploadProductBLL.ProductStockTemp.Clear();
- for (int i = 0; i < UploadProductBLL.ProductStock.Count; i++)
- {
- UploadProductBLL.ProductStockTemp.Add(UploadProductBLL.ProductStock[i]);
- }
- }
- List ts = new List();
- for (int i = 0; i < GlobalConfig.ShopLoginList.Count; i++)
- {
- var shop = GlobalConfig.ShopLoginList[i];
- if (!UploadProductBLL.ids.Any(id => id == shop.ShopId) || shop.ApiAuthStatus != "授权成功")
- continue;
- if (UploadProductBLL.isMultiUpload)
- Threadx.ThreadListWait(ref ts, new Thread(GetMulti), UploadProductBLL.ShopThreadCount, shop);
- else
- Threadx.ThreadListWait(ref ts, new Thread(Get), UploadProductBLL.ShopThreadCount, shop);
- Thread.Sleep(1000);
- }
- Threadx.ThreadListWait(ref ts);
- isRunning = false;
- }
- public void SetButtonCanNotUse()
- {
- btnUploadGood.Enabled = false;
- }
- public void SetButtonCanUse(int waitSecond = 5)
- {
- Task.Run(() =>
- {
- Thread.Sleep(1000 * waitSecond);
- Invoke(new Action(() =>
- {
- btnUploadGood.Enabled = true;
- }));
- });
- }
-
- public void Get(object shop)
- {
- var Shop = shop as ShopLoginInfo;
- var bll = new UploadProductBLL(formName, Shop);
- bll.productHandler = RefreshGridView;
- bll.noticeHandler = RefreshLog;
- bll.remainHandler = ReMain;
- bll.UploadProduct();
- }
- ///
- /// 分裂上传(一件商品传到所有店铺)
- ///
- ///
- public void GetMulti(object shop)
- {
- var Shop = shop as ShopLoginInfo;
- var bll = new UploadProductBLL(formName, Shop);
- bll.productHandler = RefreshGridView;
- bll.noticeHandler = RefreshLog;
- bll.remainHandler = ReMain;
- bll.UploadProductMulti();
- }
-
- public void RefreshGridView(TaobaoProductBase p)
- {
- // 佣金设置
- if (p != null && uploadParam.isSetCommission && !lstCommissionAddResult.Any(g => g.ProductId == p?.GoodsId))
- {
- UploadCommissionParam comm = new UploadCommissionParam();
- comm.ProductId = p.GoodsId;
- comm.ShopName = p.ShopName;
- comm.Rate = uploadParam.commissionRatio;
- lstCommissionAddResult.Add(comm);
- NaiBa.Util.Helper.ConfigHelper.SaveConfig("upload_commission_list", lstCommissionAddResult);
- }
-
- // 上货成功后显示到列表
- this.Invoke(new Action(() =>
- {
- //dgvProduct.Rows.Add(p.FromIdBak > 0 ? p.FromIdBak : p.FromId, p.GoodsId, p.ShopName, p.Titlte, p.Price / 100, p.FromType, p.Message);
- totalPage = (int)Math.Ceiling((double)UploadProductBLL.ProductTemp.Count / pageSize);
- if (totalPage == 0)
- totalPage = 1;
- if (newCurrentPage != oldCurrentPage)
- {
- dgvProduct.Rows.Clear();
- oldCurrentPage = newCurrentPage;
- }
- if (newCurrentPage > totalPage)
- newCurrentPage = totalPage;
- if (newCurrentPage < 1)
- newCurrentPage = 1;
- if (totalPage > newCurrentPage && isNewPage)
- newCurrentPage = totalPage;
- this.lblCurrentPage.Text = newCurrentPage.ToString();
- this.lblTotalPage.Text = "共" + totalPage.ToString() + "页";
-
- for (int num = (newCurrentPage - 1) * pageSize; num < (newCurrentPage - 1) * pageSize + pageSize; num++)
- {
- if (num >= UploadProductBLL.ProductTemp.Count)
- break;
- int i = num - (newCurrentPage - 1) * pageSize;
- p = UploadProductBLL.ProductTemp[num];
- if (p == null)
- continue;
- //bool had = false;
- if (dgvProduct.Rows.Count > i)
- {
- continue;
- }
- //dgvProduct.currentPage = (newCurrentPage - 1) * pageSize;
- dgvProduct.Rows.Add(p.FromIdBak > 0 ? p.FromIdBak : p.FromId, p.GoodsId, p.ShopName, p.Titlte, p.Price / 100, p.FromType, "货源网", p.Message);
- }
-
- if (p?.Message == "提交成功")
- {
- var row = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopName"]?.Value?.ToString() == p.ShopName);
- var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopAccount == p.ShopName);
- if (shop != null && row != null)
- {
- row.Cells["colUploadCount"].Value = shop.UploadCount;
- }
- }
- else
- {
- if (uploadParam.isAutoSaveUploadFailedProduct)
- {
- var fileName = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory).Trim('\\') + "\\" + failedUploadFileName;
-
- var url = "";
- if (p.FromType == "淘宝")
- url = "https://item.taobao.com/item.htm?id=" + p.FromId;
- else if (p.FromType == "阿里巴巴")
- url = "https://detail.1688.com/offer/" + p.FromId + ".html";
- else if (p.FromType == "微店")
- url = "https://weidian.com/item.html?itemID=" + p.FromId;
- else if (p.FromType == "京喜")
- url = "https://item.m.jd.com/product/" + p.FromId + ".html";
- else if (p.FromType == "拼多多")
- url = "http://mobile.yangkeduo.com/goods.html?goods_id=" + p.FromId;
- else if (p.FromType == "抖音" || p.FromType == "")
- url = "https://haohuo.jinritemai.com/views/product/detail?id=" + p.FromId;
- FileBase.AppendAllText(fileName, url + "====" + p.ShopName + "====" + p.Message + "\r\n");
- }
- }
- }));
- }
-
- public void RefreshLog(string message)
- {
- Task.Run(() =>
- {
- if (this.Created)
- {
- this.Invoke(new Action(() =>
- {
- this.statusBar.lblTaskStatus.Text = message;
- this.statusBar.pgbTaskProgress.Maximum = UploadProductBLL.maxCount;
- this.statusBar.pgbTaskProgress.Value = UploadProductBLL.ProductTemp.Count;
- this.statusBar.pgbTaskProgress.Text = UploadProductBLL.ProductTemp.Count + "/" + UploadProductBLL.maxCount;
- }));
- }
- });
- }
-
- public void ReMain()
- {
- this.Invoke(new Action(() =>
- {
- // 显示剩下未上货商品数量
- if (UploadProductBLL.isMultiUpload && UploadProductBLL.MultiUploadRestCount > -1)
- countLabel.Text = UploadProductBLL.MultiUploadRestCount + "个";
- else
- countLabel.Text = UploadProductBLL.ProductStock.Count + "个";
- }));
- }
-
- private void txtMultiple_TextChanged(object sender, EventArgs e)
- {
- if (txtMultiple.Text == "-")
- return;
- try
- {
- if (!string.IsNullOrEmpty(txtMultiple.Text))
- {
- var multiple = decimal.Parse(txtMultiple.Text);
-
- //把倍数变成百分比
- UploadProductBLL.addMultiple = multiple * 100 - 100;
- if (UploadProductBLL.addMultiple > UploadProductBLL.addMultiple2)
- {
- UploadProductBLL.addMultiple2 = UploadProductBLL.addMultiple;
- this.txtMultiple2.Text = "" + ((UploadProductBLL.addMultiple2 + 100m) / 100);
- }
- }
- }
- catch
- {
- }
- }
-
- private void txtMultiple2_TextChanged(object sender, EventArgs e)
- {
- if (txtMultiple2.Text == "-")
- return;
- try
- {
- if (!string.IsNullOrEmpty(txtMultiple2.Text))
- {
- var multiple2 = decimal.Parse(txtMultiple2.Text);
-
- //把倍数变成百分比
- UploadProductBLL.addMultiple2 = multiple2 * 100 - 100;
- if (UploadProductBLL.addMultiple2 < UploadProductBLL.addMultiple)
- {
- UploadProductBLL.addMultiple = UploadProductBLL.addMultiple2;
- this.txtMultiple.Text = "" + ((UploadProductBLL.addMultiple + 100m) / 100);
- }
- }
- }
- catch
- {
- }
- }
-
- private void txtPostage_TextChanged(object sender, EventArgs e)
- {
- if (txtPostage.Text == "-")
- return;
- try
- {
- if (!string.IsNullOrEmpty(txtPostage.Text))
- UploadProductBLL.postage = decimal.Parse(txtPostage.Text);
- if (cmbPlusOrMinus.SelectedItem.ToString() != "+")
- UploadProductBLL.postage = -UploadProductBLL.postage;
-
- if (UploadProductBLL.postage > UploadProductBLL.postage2)
- {
- UploadProductBLL.postage2 = UploadProductBLL.postage;
- this.txtPostage2.Text = UploadProductBLL.postage2.ToString().Trim('-');
- if (UploadProductBLL.postage2.ToString().Contains("-"))
- cmbPlusOrMinus2.SelectedItem = "-";
- else
- cmbPlusOrMinus2.SelectedItem = "+";
- }
- }
- catch
- {
- }
- }
-
- private void txtPostage2_TextChanged(object sender, EventArgs e)
- {
- if (txtPostage2.Text == "-")
- return;
- try
- {
- if (!string.IsNullOrEmpty(txtPostage2.Text))
- UploadProductBLL.postage2 = decimal.Parse(txtPostage2.Text);
- if (cmbPlusOrMinus2.SelectedItem.ToString() != "+")
- UploadProductBLL.postage2 = -UploadProductBLL.postage2;
-
- if (UploadProductBLL.postage2 < UploadProductBLL.postage)
- {
- UploadProductBLL.postage = UploadProductBLL.postage2;
- this.txtPostage.Text = UploadProductBLL.postage.ToString().Trim('-');
- if (UploadProductBLL.postage.ToString().Contains("-"))
- cmbPlusOrMinus.SelectedItem = "-";
- else
- cmbPlusOrMinus.SelectedItem = "+";
- }
- }
- catch
- {
- }
- }
-
- private void dgvShop_CellContentClick(object sender, DataGridViewCellEventArgs e)
- {
- if (e.ColumnIndex < 0 || e.RowIndex < 0)
- return;
- //string name = dgvShop.Columns[e.ColumnIndex].HeaderText;
- string colId = dgvShop.Columns[e.ColumnIndex].Name;
- long shopId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ParseToLong();
- var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
- if (colId == "colSelect")
- {
- bool canUse = shop?.ApiAuthStatus == "授权成功" && shop?.LoginStatus == "登录成功";
- if (!canUse)
- {
- BaseMsgForm.ShowInfo("店铺未授权或未登录!");
- return;
- }
- bool ok = !bool.Parse(dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value.ToString());
- //string shopName = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ToString();
- dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value = ok;
- //if (ok)
- //{
- // UploadProductBLL.ids.Add(shopName);
- //}
- //else
- //{
- // if (UploadProductBLL.ids.Select(id => id ==shopName).FirstOrDefault())
- // {
- // UploadProductBLL.ids.Remove(shopName);
- // }
- //}
- }
- }
-
- #region 导入数据
- private async void button3_Click(object sender, EventArgs e)
- {
- btnUpload.Enabled = false;
- OpenFileDialog fileDialog = new OpenFileDialog();
- fileDialog.Title = "选择文件";
- fileDialog.Filter = "All files (*.*)|*.*";
- fileDialog.FilterIndex = 1;
- fileDialog.RestoreDirectory = true;
- if (fileDialog.ShowDialog() != DialogResult.OK)
- {
- btnUpload.Enabled = true;
- return;
- }
- await InputData(fileDialog.FileName);
- btnUpload.Enabled = true;
- }
- public async Task InputData(string file)
- {
- await Task.Run(() =>
- {
- string[] arrTmp = FileBase.ReadAllLines(file, GetFileEncoding(file));
- InputDataData(arrTmp);
- });
- }
- public async Task InputDataData(string[] arr)
- {
- bool message = false;
- if (arr == null || arr.Length == 0)
- return;
- for (int i = 0; i < arr.Length; i++)
- {
- if (string.IsNullOrEmpty(arr[i]))
- continue;
- // 外部版暂时只支持拼多多上货
- if (!BaseClass.IsCloudBuyOrder && !arr[i].Contains("yangkeduo.com") && !arr[i].Contains("pinduoduo.com"))
- continue;
- string strTmp = arr[i];
- if (!(strTmp.Contains("detail.tmall") || strTmp.Contains("taobao.com") || strTmp.Contains("jinritemai.com") || strTmp.Contains("1688.com") || strTmp.Contains("weidian.com") || strTmp.Contains("jd.com")))
- {
- try
- {
- if (!(strTmp.Contains("yangkeduo.com") || strTmp.Contains("pinduoduo.com")))
- strTmp = Md5Base.EncryptDecode(strTmp);
- }
- catch
- {
- continue;
- }
- }
- if ((arr[i].Contains("淘宝") || arr[i].Contains("阿里巴巴")) && arr[i].Split(',').Length <= 7)
- strTmp = arr[i];
- if (string.IsNullOrEmpty(strTmp))
- continue;
- string lb = strTmp;
- string sp = "-----";
- string url = strTmp, title = "", shop = "", catid = "", from = "", fid = "";
- string viname = "", viId = "", viPrice = "", viMPrice = "";
- if (strTmp.Contains("\",\""))
- {
- var mm = BaseRegex.GetMatchRegex(strTmp, @"(.*?),""([\d]+)"",""([^""]+?)"",""([\d]+)"",""([\d]+)"",""([\d]+)"",""([\d]+)"",""([\d]+)"",""([-.\d]+%\+[-.\d]+)"",""([^""]+?)""");
- if (mm != null && mm.Count > 0)
- {
- from = mm[0].Groups[1].Value.Replace("\"", "").Replace("\"", "");
- fid = mm[0].Groups[2].Value;
- title = mm[0].Groups[3].Value;
- catid = mm[0].Groups[6].Value;
- viname = mm[0].Groups[7].Value;
- viId = mm[0].Groups[8].Value;
- viPrice = mm[0].Groups[9].Value;
- viMPrice = mm[0].Groups[10].Value;
- goto End;
- }
- var m = BaseRegex.GetMatchRegex(strTmp, @"""([^""]+?)"",""([\d]+?)"",""([^""]+?)"",""([\d]+?)"",""([\d]+?)"",""([\d]+?)"",""([^""]+?)"",""([\d]+?)"",""([^""]+?)""");
- if (m.Count == 0)
- m = BaseRegex.GetMatchRegex(strTmp, @"""([^""]+?)"",""([\d]+?)"",""([^""]+?)"",""([\d]+?)"",""([\d]+?)"",""([\d]+?)""");
- if (m != null && m.Count > 0)
- {
- from = m[0].Groups[1].Value;
- fid = m[0].Groups[2].Value;
- title = m[0].Groups[3].Value;
- catid = m[0].Groups[6].Value;
- viname = m[0].Groups[7].Value;
- viId = m[0].Groups[8].Value;
- viPrice = m[0].Groups[9].Value;
- goto End;
- }
- }
-
- if (strTmp.Contains(sp))
- {
- url = strTmp.Substring(0, strTmp.IndexOf(sp));
- strTmp = strTmp.Substring(strTmp.IndexOf(sp) + sp.Length);
- title = strTmp;
- }
- if (title.Contains(sp))
- {
- title = strTmp.Substring(0, strTmp.IndexOf(sp));
- strTmp = strTmp.Substring(strTmp.IndexOf(sp) + sp.Length);
- shop = strTmp;
- }
- if (shop.Contains(sp))
- {
- shop = strTmp.Substring(0, strTmp.IndexOf(sp));
- strTmp = strTmp.Substring(strTmp.IndexOf(sp) + sp.Length);
- catid = BaseRegex.GetMatchRegexString(strTmp, @"([\d]+)");
- }
- fid = BaseRegex.GetMatchRegexString(url, @"/([\d]+)\.html");
- if (string.IsNullOrEmpty(fid))
- fid = BaseRegex.GetMatchRegexString(url, @"goods_id=([\d]+)");
- if (string.IsNullOrEmpty(fid))
- fid = BaseRegex.GetMatchRegexString(url, @"id=([\d]+)");
- if (url.Contains(".taobao.com") || url.Contains(".tmall.com"))
- from = "淘宝";
- if (url.Contains(".1688.com"))
- from = "阿里巴巴";
- if (url.Contains("weidian.com"))
- from = "微店";
- if (url.Contains("jd.com"))
- from = "京喜";
- if (url.Contains("yangkeduo.com") || url.Contains("pinduoduo.com"))
- from = "拼多多";
- if (url.Contains("jinritemai.com"))
- from = "抖音";
- if (!lb.Contains("-----") && lb.Contains(@""","""))
- {
- var m = BaseRegex.GetMatchRegex(ref lb, @"""(.*?)"",""([\d]+)"",""(.*?)""");
- if (m == null || m.Count <= 0) continue;
- if (m.Count > 0)
- {
- from = m[0].Groups[1].Value;
- fid = m[0].Groups[2].Value;
- title = m[0].Groups[3].Value;
- catid = "";
- }
- }
- End:
- if (!string.IsNullOrEmpty(viname) && viname != "6" && viname != "1")
- continue;
- if (string.IsNullOrEmpty(fid) || string.IsNullOrEmpty(from))
- continue;
- if (!string.IsNullOrEmpty(viPrice) && string.IsNullOrEmpty(viMPrice))
- {
- if (!message)
- {
- MessageBox.Show("老格式数据已经不支持\r\n请升级采集程序,重新转化数据后导入新格式,重新转化速度会很快", "提示:老格式已经不支持");
- message = true;
- }
- continue;
- }
- if (BaseClass.UpIds.Count > 0)
- {
- bool ishas = false;
- for (int j = 0; j < BaseClass.UpIds.Count; j++)
- {
- string rid = BaseRegex.GetMatchRegexString(BaseClass.UpIds[j], @"([\d]+)");
- if (string.IsNullOrEmpty(rid))
- continue;
- if (fid == rid)
- {
- ishas = true;
- break;
- }
- }
- if (ishas)
- continue;
- }
- TaobaoProductBase t = new TaobaoProductBase();
- long idx;
- if (!long.TryParse(fid, out idx))
- continue;
- t.TolerantFormId = fid;
- t.FromId = idx;
- t.ViGoodsName = viname;
- long.TryParse(viId, out t.ViGoodsId);
- t.ViPrice = viPrice;
- t.FromType = from;
- if (!string.IsNullOrEmpty(viMPrice))
- {
- t.ViPriceMaxMin = viMPrice;
- string[] strPrice = viMPrice.Split(':');
- if (strPrice.Length == 3)
- {
- t.ViPriceMin = (int)(decimal.Parse(strPrice[0]) * 100);
- t.ViPriceMax = (int)(decimal.Parse(strPrice[1]) * 100);
- t.ViExpressPrice = (int)(decimal.Parse(strPrice[2]));
- }
- }
- t.Titlte = title.Replace("\",\"", "");
-
-
- if (!UploadProductBLL.ProductStock.Exists(p => p != null && p.FromId == t.FromId && p.Titlte == t.Titlte))
- {
- UploadProductBLL.ProductStock.Add(t);
- //if (t.MainCatId > 0)
- DataBaseTemp.Add(t);
- batchDataBaseTemp.Add(t);
- if (batchDataBaseTemp.Count == 50)
- {
- AddListToDataBaseSingle(batchDataBaseTemp);
- batchDataBaseTemp.Clear();
- }
- }
- ReMain();
- LogSave.Add(formName, strTmp + "正在被导入...");
- }
- if (batchDataBaseTemp.Count > 0)
- {
- AddListToDataBaseSingle(batchDataBaseTemp);
- batchDataBaseTemp.Clear();
- }
- UploadProductBLL.maxCount = UploadProductBLL.ProductStock.Count;
- LogSave.Add(formName, "已经成功导入!");
- }
- public void AddListToDataBaseSingle(List temp)
- {
- for (int i = 0; i < temp.Count; i++)
- {
- AddbatchToDataBase(temp[i]);
- }
- SqliteHelper.BatchExecuteNonQuery(batchString);
- batchString.Clear();
- }
- public static void AddbatchToDataBase(TaobaoProductBase p)
- {
- string content = p.FromId + "," + p.FromType + "," + p.Titlte + "," + p.Cat1 + "," + p.Cat2 + "," +
- p.Cat3 + "," + p.Cat4 + "," + p.CatId + "," + p.MainCatId + "," + p.MainCatName + "," + p.MainImage + "," +
- p.Price + "," + p.SaleCount + "," + p.ShopName + "," + p.AddPrice;
- if (!string.IsNullOrEmpty(p.ViGoodsName))
- content += "," + p.ViGoodsId + "," + p.ViGoodsName + "," + p.ViPrice + "," + p.ViPriceMaxMin;
-
- content = JsonHelper.SerializeObject(p);
- string sql = "insert into Product(content,fromid) values('" + SqliteHelper.ReplaceSqlx(content) + "','" + p.guid + "')";
- batchString.Add(sql);
- }
-
- public static List formIdlist = new List();
- ///
- /// 加载缓存
- ///
- public void LoadStock()
- {
- SqliteHelper.CreateProductTable();
- formIdlist.Clear();
- DataTable dt = SqliteHelper.ExecuteTable("select fromid,content from Product");
- for (int i = 0; dt != null && i < dt.Rows.Count; i++)
- {
- try
- {
- string s = dt.Rows[i]["content"].ToString();
- formIdlist.Add(dt.Rows[i]["fromid"].ToString());
-
- TaobaoProductBase t = JsonHelper.DeserializeJsonToObject(s);
- if (t != null && t.FromId != 0)
- {
- UploadProductBLL.ProductStock.Add(t);
- ReMain();
- }
- }
- catch
- {
- }
-
- try
- {
- string s = dt.Rows[i]["content"].ToString();
- formIdlist.Add(dt.Rows[i]["fromid"].ToString());
- if (string.IsNullOrEmpty(s) || !s.Contains(","))
- continue;
- string[] ll = s.Split(',');
- if (ll.Length != 13 && ll.Length != 15 && ll.Length != 19)
- continue;
-
- TaobaoProductBase t = new TaobaoProductBase();
- if (string.IsNullOrEmpty(ll[0]))
- continue;
- t.FromId = long.Parse(ll[0]);
- t.FromType = ll[1];
- t.Titlte = ll[2].Replace("\",\"", "");
- t.Cat1 = int.Parse(ll[3]);
- t.Cat2 = int.Parse(ll[4]);
- t.Cat3 = int.Parse(ll[5]);
- t.Cat4 = int.Parse(ll[6]);
- t.CatId = int.Parse(ll[7]);
- t.MainCatId = int.Parse(ll[8]);
- t.MainCatName = ll[9];
- t.MainImage = int.Parse(ll[10]);
- t.Price = decimal.Parse(ll[11]);
- t.SaleCount = int.Parse(ll[12]);
- t.guid = dt.Rows[i]["fromid"].ToString();
- if (ll.Length == 15 || ll.Length == 19)
- {
- t.ShopName = ll[13];
- t.AddPrice = int.Parse(ll[14]);
- }
- if (ll.Length > 15)
- {
- long.TryParse(ll[15], out t.ViGoodsId);
- t.ViGoodsName = ll[16];
- t.ViPrice = ll[17];
- t.ViPriceMaxMin = ll[18];
- string[] strPrice = t.ViPriceMaxMin.Split(':');
- if (strPrice.Length == 3)
- {
- t.ViPriceMin = (int)(decimal.Parse(strPrice[0]) * 100);
- t.ViPriceMax = (int)(decimal.Parse(strPrice[1]) * 100);
- t.ViExpressPrice = (int)(decimal.Parse(strPrice[2]));
- }
- }
- //if (t.ViGoodsName != "6")
- // 临时开放转换淘宝
- //if (t.ViGoodsName != "6" && !((t.FromType == "淘宝" || t.FromType == "阿里巴巴") && string.IsNullOrEmpty(t.ViGoodsName)))
- if (t.ViGoodsName != "6" && t.ViGoodsName != "1" && !((t.FromType == "淘宝" || t.FromType == "阿里巴巴" || t.FromType == "微店" || t.FromType == "京喜" || t.FromType == "抖音") && string.IsNullOrEmpty(t.ViGoodsName)))
- continue;
- UploadProductBLL.ProductStock.Add(t);
- ReMain();
- //ProductTempStock.Add(t);
- }
- catch
- {
- }
- }
- }
- public static List batchString = new List();
- public List DataBaseTemp = new List();
- public List batchDataBaseTemp = new List();
- public static System.Text.Encoding GetFileEncoding(string filename)
- {
-
- using (var fs = new System.IO.FileStream(filename, System.IO.FileMode.Open, System.IO.FileAccess.Read))
- using (var br = new System.IO.BinaryReader(fs))
- {
- var buffer = br.ReadBytes(2);
- if (buffer[0] >= 0xEF)
- {
- if (buffer[0] == 0xEF && buffer[1] == 0xBB)
- {
- return System.Text.Encoding.UTF8;
- }
-
- if (buffer[0] == 0xFE && buffer[1] == 0xFF)
- {
- return System.Text.Encoding.BigEndianUnicode;
- }
-
- if (buffer[0] == 0xFF && buffer[1] == 0xFE)
- {
- return System.Text.Encoding.Unicode;
- }
- }
-
- return GetEncodingWithBomUtf8(fs, System.Text.Encoding.Default);
- }
-
- }
- private static System.Text.Encoding GetEncodingWithBomUtf8(Stream fs, Encoding defaultEncoding)
- {
- byte[] unicode = new byte[] { 0xFF, 0xFE, 0x41 };
- byte[] unicodeBig = new byte[] { 0xFE, 0xFF, 0x00 };
-
- //带BOM
- byte[] utf8 = new byte[] { 0xEF, 0xBB, 0xBF };
- var reVal = defaultEncoding;
-
- using (var r = new System.IO.BinaryReader(fs))
- {
- byte[] ss = r.ReadBytes(4);
- if (ss[0] == 0xFE && ss[1] == 0xFF && ss[2] == 0x00)
- {
- reVal = Encoding.BigEndianUnicode;
- }
- else if (ss[0] == 0xFF && ss[1] == 0xFE && ss[2] == 0x41)
- {
- reVal = Encoding.Unicode;
- }
- else
- {
- if (ss[0] == 0xEF && ss[1] == 0xBB && ss[2] == 0xBF)
- {
- reVal = Encoding.UTF8;
- }
- else
- {
- int i;
- int.TryParse(fs.Length.ToString(), out i);
- ss = r.ReadBytes(i);
-
- if (IsUtf8Bytes(ss))
- {
- reVal = Encoding.UTF8;
- }
- }
- }
-
- return reVal;
- }
- }
- private static bool IsUtf8Bytes(byte[] data)
- {
- int charByteCounter = 1; //计算当前正分析的字符应还有的字节数
- for (int i = 0; i < data.Length; i++)
- {
- var curByte = data[i]; //当前分析的字节.
- if (charByteCounter == 1)
- {
- if (curByte >= 0x80)
- {
- //判断当前
- while (((curByte <<= 1) & 0x80) != 0)
- {
- charByteCounter++;
- }
- //标记位首位若为非0 则至少以2个1开始 如:110XXXXX...........1111110X
- if (charByteCounter == 1 || charByteCounter > 6)
- {
- return false;
- }
- }
- }
- else
- {
- //若是UTF-8 此时第一位必须为1
- if ((curByte & 0xC0) != 0x80)
- {
- return false;
- }
- charByteCounter--;
- }
- }
- if (charByteCounter > 1)
- {
- throw new Exception("非预期的byte格式!");
- }
- return true;
- }
- #endregion
-
-
-
- public bool isNewPage = true;
- int oldCurrentPage = 0;
- int newCurrentPage = 1;
- int totalPage = 1;
- int pageSize = 100;
- private void btnPrev_Click(object sender, EventArgs e)
- {
- if (newCurrentPage == 1)
- return;
- newCurrentPage--;
- RefreshGridView(null);
- }
-
- private void btnNext_Click(object sender, EventArgs e)
- {
- if (totalPage == newCurrentPage)
- return;
- newCurrentPage++;
- RefreshGridView(null);
- }
-
- private void btnGo_Click(object sender, EventArgs e)
- {
- int.TryParse(txtGoPage.Text, out newCurrentPage);
- RefreshGridView(null);
- }
-
- private void lblPage1_Click(object sender, EventArgs e)
- {
- newCurrentPage = 1;
- RefreshGridView(null);
- }
-
- private void lblTotalPage_Click(object sender, EventArgs e)
- {
- newCurrentPage = totalPage;
- RefreshGridView(null);
- }
-
- private void button3_Click_1(object sender, EventArgs e)
- {
- UploadProductBLL.ProductTemp.Clear();
- TaobaoProductBase t = new TaobaoProductBase();
- t.FromId = 111;
- UploadProductBLL.ProductTemp.Add(t);
- RefreshGridView(t);
- TaobaoProductBase t2 = new TaobaoProductBase();
- t2.FromId = 222;
- UploadProductBLL.ProductTemp.Add(t2);
- RefreshGridView(t);
- TaobaoProductBase t3 = new TaobaoProductBase();
- t3.FromId = 333;
- UploadProductBLL.ProductTemp.Add(t3);
- RefreshGridView(t);
- TaobaoProductBase t4 = new TaobaoProductBase();
- t4.FromId = 444;
- UploadProductBLL.ProductTemp.Add(t4);
- RefreshGridView(t);
- TaobaoProductBase t5 = new TaobaoProductBase();
- t5.FromId = 555;
- UploadProductBLL.ProductTemp.Add(t5);
- RefreshGridView(t);
- TaobaoProductBase t6 = new TaobaoProductBase();
- t6.FromId = 666;
- UploadProductBLL.ProductTemp.Add(t6);
- RefreshGridView(t);
- }
-
- private void AutoRefcheckBox_CheckedChanged(object sender, EventArgs e)
- {
- if (AutoRefcheckBox.Checked && !isNewPage)
- isNewPage = true;
- if (!AutoRefcheckBox.Checked)
- isNewPage = false;
- if (AutoRefcheckBox.Checked && dgvProduct.Rows.Count > 0)
- {
- if (dgvProduct.CurrentCell.RowIndex >= dgvProduct.Rows.Count - 1)//若当前值不小于行号,则不执行后面代码
- {
- return;
- }
- dgvProduct.CurrentCell = dgvProduct.Rows[dgvProduct.Rows.Count - 1].Cells[0];
- }
- }
-
- private void button4_Click(object sender, EventArgs e)
- {
- if (BaseMsgForm.ShowConfirm("是否清除全部列表数据", "提示").DialogResult == DialogResult.OK)
- {
- dgvProduct.Rows.Clear();
- UploadProductBLL.ProductTemp.Clear();
- }
- if (BaseMsgForm.ShowConfirm("是否清除全部备用上货数据", "提示").DialogResult == DialogResult.OK)
- {
- UploadProductBLL.ProductStock.Clear();
- UploadProductBLL.Delete("");
- ReMain();
- }
- }
-
- private void beforPricetextBox_TextChanged(object sender, EventArgs e)
- {
- if (!string.IsNullOrEmpty(beforPricetextBox.Text))
- UploadProductBLL.beforPrice = decimal.Parse(beforPricetextBox.Text);
- }
-
- private void chkStockLessThan_CheckedChanged(object sender, EventArgs e)
- {
- UploadProductBLL.isStockLessThan = chkStockLessThan.Checked;
- }
-
- private void txtStockLessThanCount_TextChanged(object sender, EventArgs e)
- {
- if (!string.IsNullOrEmpty(txtStockLessThanCount.Text))
- UploadProductBLL.StockLessThanCount = decimal.Parse(txtStockLessThanCount.Text);
- }
-
- private void littleSkuCheckBox_CheckedChanged(object sender, EventArgs e)
- {
- UploadProductBLL.isLitterSku = littleSkuCheckBox.Checked;
- }
-
- private void txtSingleUpload_TextChanged(object sender, EventArgs e)
- {
- UploadProductBLL.MaxSingleShopUploadCount = int.Parse(txtSingleUpload.Text);
- }
-
- private void button6_Click(object sender, EventArgs e)
- {
- GetBrandList();
- }
- ///
- /// 获取商品详情
- ///
- public long GetBrandList()
- {
- var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopAccount == "开箱小店");
- DouyinApi api = new DouyinApi(shop);
- api.JsonData = new Dictionary();
- api.JsonData.Add("product_id", "3522394014194236398");
- api.JsonData.Add("show_draft", "false");
- string html = api.GetProductDetail();
-
- GoodDetail good = null;
- try
- {
- good = JsonConvert.DeserializeObject(html);
- }
- catch (Exception ex)
- {
- }
-
- int a = 0;
-
- var p = good.data;
- Dictionary dictionary = new Dictionary();
-
-
- dictionary.Add("product_id", p.product_id.ToString());
- dictionary.Add("product_type", "0");
- int catid = 0;
- var cat = p.category_detail;
- if (cat.second_cid > 0)
- catid = cat.second_cid;
- if (cat.third_cid > 0)
- catid = cat.third_cid;
- if (cat.fourth_cid > 0)
- catid = cat.fourth_cid;
- dictionary.Add("category_leaf_id", catid.ToString());
- dictionary.Add("first_cid", p.first_cid.ToString());
- dictionary.Add("second_cid", p.second_cid.ToString());
- dictionary.Add("third_cid", p.third_cid.ToString());
-
- string prop = p.product_format;
- string propStr = "";
- //货号 | 8888 ^ 上市年份季节 | 2018年秋季
- var m = BaseRegex.GetMatchRegex(ref prop, @"""[\w\W]+?"":""[\w\W]+?""");
- for (int i = 0; m != null && i < m.Count; i++)
- {
- string item = m[i].Groups[0].Value.Replace(":", "|");
- propStr += item + "^";
- }
- propStr = propStr.Replace("\"", "");
- dictionary.Add("product_format", propStr);
- dictionary.Add("name", p.name);
- dictionary.Add("recommend_remark", p.recommend_remark);
-
- var picStr = p.pic;
- var pic = "";
- for (int i = 0; i < picStr.Count; i++)
- {
- if (pic.Trim() != "")
- {
- pic += "|";
- }
- pic += picStr[i];
- }
- dictionary.Add("pic", pic);
-
-
- var description = p.description;
- string contentImage = "";
- m = BaseRegex.GetMatchRegex(ref description, @"
]*?src=[""'](.*?)[""']");
- if (m.Count == 0)
- m = BaseRegex.GetMatchRegex(ref description, @"
]*?>(.*?)");
- if (m.Count == 0)
- m = BaseRegex.GetMatchRegex(ref description, @"
]+?>(.*?)");
- for (int j = 0; j < m.Count; j++)
- {
- string urlImg = m[j].Groups[1].Value.Replace(".src", "");
- if (contentImage.Trim() != "")
- {
- contentImage += "|";
- }
- if (!string.IsNullOrEmpty(urlImg))
- {
- urlImg = m[j].Groups[1].Value.Replace(".src", "");
- }
- contentImage += urlImg;
- }
- //商品描述,目前只支持图片。多张图片用 "|" 分开
- dictionary.Add("description", contentImage);
- dictionary.Add("pay_type", p.pay_type.ToString());
-
- dictionary.Add("market_price", p.market_price.ToString());
- dictionary.Add("discount_price", p.discount_price.ToString());
- //dictionary.Add("reduce_type", p.reduce_type.ToString());
- //dictionary.Add("assoc_ids", p.assoc_ids.ToString());
- //dictionary.Add("freight_id", p.freight_id.ToString());
- //dictionary.Add("weight", p.weight.ToString());
- //dictionary.Add("weight_unit", p.weight_unit.ToString());
- dictionary.Add("delivery_delay_day", "2");
- dictionary.Add("presell_type", p.presell_type.ToString());
- //dictionary.Add("presell_delay", p.presell_delay.ToString());
- //dictionary.Add("presell_end_time", p.presell_end_time.ToString());
- //dictionary.Add("supply_7day_return", p.supply_7day_return.ToString());
-
- dictionary.Add("mobile", p.mobile.ToString());
- dictionary.Add("commit", "true");
- //dictionary.Add("brand_id", p.brand_id.ToString());
- //dictionary.Add("remark", p.remark.ToString());
- //dictionary.Add("quality_report", p.quality_report.ToString());
- //dictionary.Add("class_quality", p.class_quality.ToString());
- //dictionary.Add("class_quality", p.class_quality.ToString());
- //dictionary.Add("quality_list", p.quality_list.ToString());
- dictionary.Add("out_product_id", p.out_product_id.ToString());
- //dictionary.Add("spec_name", p.class_quality.ToString());
-
- var specs = p.specs;
- string specsStr = "";
- for (int i = 0; i < specs.Count; i++)
- {
- var item = specs[i];
- string specitem = item.name + "|";
- for (int j = 0; j < item.values.Count; j++)
- {
- specitem += item.values[j].name + ",";
- }
- specsStr += specitem.Substring(0, specitem.Length - 1);
- if (!string.IsNullOrEmpty(specsStr))
- {
- specsStr += "^";
- }
- }
-
-
-
- dictionary.Add("specs", specsStr);
- var specPic = p.spec_pics;
- string specPicStr = "";
- for (int i = 0; i < specPic.Count; i++)
- {
- if (specPicStr.Trim() != "")
- {
- specPicStr += ",";
- }
- specPicStr += specPic[i].pic;
- }
-
-
- dictionary.Add("spec_pic", specsStr);
-
- var dic = GetSpecDic(p.specs);
- var specsx = p.spec_prices;
-
- string specStr = "";
- StringBuilder stringBuilder = new StringBuilder();
- for (int i = 0; i < specsx.Count; i++)
- {
- var specItem = specsx[i];
- IDictionary dictionary2 = new Dictionary();
- var id1 = specItem.spec_detail_id1;
- var id2 = specItem.spec_detail_id2;
- var id3 = specItem.spec_detail_id3;
-
- string name1 = "";
- if (id1 > 0 && dic.ContainsKey(id1))
- name1 = dic[id1];
- string name2 = "";
- if (id2 > 0 && dic.ContainsKey(id2))
- name2 = dic[id2];
- string name3 = "";
- if (id3 > 0 && dic.ContainsKey(id3))
- name3 = dic[id3];
- dictionary2.Add("spec_detail_name1", name1);
- dictionary2.Add("spec_detail_name2", name2);
- dictionary2.Add("spec_detail_name3", name3);
- dictionary2.Add("stock_num", specItem.stock_num.ToString());
- dictionary2.Add("price", specItem.price.ToString());
- dictionary2.Add("code", specItem.code);
- dictionary2.Add("step_stock_num", "0");
- foreach (string current in dictionary2.Keys)
- {
- if (current.ToString().Trim() == "stock_num" || current.ToString().Trim() == "price" || current.ToString().Trim() == "step_stock_num")
- {
- stringBuilder.AppendFormat((stringBuilder.Length > 0) ? ",\\\"{0}\\\":{1}" : "\\\"{0}\\\":{1}", current, dictionary2[current].ToString().Replace(" ", ""));
- }
- else
- {
- stringBuilder.AppendFormat((stringBuilder.Length > 0) ? ",\\\"{0}\\\":\\\"{1}\\\"" : "\\\"{0}\\\":\\\"{1}\\\"", current, dictionary2[current].ToString().Replace(" ", ""));
- }
- }
- string str = "{" + stringBuilder.ToString() + "}";
- if (specStr.Trim() != "")
- {
- specStr += ",";
- }
- specStr += str;
- }
- specStr = "[" + specStr + "]";
- //sku详情
- dictionary.Add("spec_prices", specStr);
-
- dictionary.Add("maximum_per_order", p.maximum_per_order.ToString());
- dictionary.Add("limit_per_buyer", p.limit_per_buyer.ToString());
- dictionary.Add("minimum_per_order", p.minimum_per_order.ToString());
-
- DouyinApi apix = new DouyinApi(shop);
- apix.JsonData = dictionary;
- html = apix.GetProductEdit();
- long product_id = BaseRegex.GetLongJson(ref html, "product_id"); //DouyinApi api = new DouyinApi(shop);
- return 0;
- }
- public Dictionary GetSpecDic(List specs)
- {
- Dictionary specDic = new Dictionary();
- for (int j = 0; j < specs.Count; j++)
- {
- var item = specs[j];
- for (int k = 0; k < item.values.Count; k++)
- {
- var s = item.values[k];
- specDic.Add(s.id, s.name);
- }
- }
- return specDic;
- }
- //修改库存
- private void button7_Click(object sender, EventArgs e)
- {
- var shop = GlobalConfig.ShopLoginList[0];
- DouyinApi api = new DouyinApi(shop);
- api.JsonData = new Dictionary();
- api.JsonData.Add("product_id", "3492731930347180135");
- api.JsonData.Add("show_draft", "false");
- string html = api.GetProductDetail();
- GoodDetail good = null;
- try
- {
- good = JsonConvert.DeserializeObject(html);
- }
- catch (Exception ex)
- {
- }
- var p = good.data;
- Dictionary dictionary = new Dictionary();
-
- var specsx = p.spec_prices;
- string skuid = "";
- for (int i = 0; i < specsx.Count; i++)
- {
- var specItem = specsx[i];
- skuid = specItem.sku_id.ToString();
- }
-
-
-
- dictionary.Add("sku_id", skuid.ToString());
- dictionary.Add("stock_num", "100");
- DouyinApi apix = new DouyinApi(shop);
- apix.JsonData = dictionary;
- html = apix.GetEditStock();
- }
- //修改价格
- private void button8_Click(object sender, EventArgs e)
- {
- var shop = GlobalConfig.ShopLoginList[0];
- DouyinApi api = new DouyinApi(shop);
- api.JsonData = new Dictionary();
- api.JsonData.Add("product_id", "3492731930347180135");
- api.JsonData.Add("show_draft", "false");
- string html = api.GetProductDetail();
- GoodDetail good = null;
- try
- {
- good = JsonConvert.DeserializeObject(html);
- }
- catch (Exception ex)
- {
- }
- var p = good.data;
- Dictionary dictionary = new Dictionary();
-
- var specsx = p.spec_prices;
- string skuid = "";
- for (int i = 0; i < specsx.Count; i++)
- {
- var specItem = specsx[i];
- skuid = specItem.sku_id.ToString();
- }
-
-
-
- dictionary.Add("sku_id", skuid.ToString());
- dictionary.Add("price", "30000");
- DouyinApi apix = new DouyinApi(shop);
- apix.JsonData = dictionary;
- html = apix.GetEditPrice();
- }
-
- private void waitButton_Click(object sender, EventArgs e)
- {
- if (waitButton.Text == "暂停")
- {
- waitButton.Text = "继续";
- UploadProductBLL.isWaiting = true;
- }
- else
- {
- waitButton.Text = "暂停";
- UploadProductBLL.isWaiting = false;
- }
- }
-
- private void buttonEx2_Click(object sender, EventArgs e)
- {
- //ChatForm frm = new ChatForm();
- //frm.Show();
- }
-
- public List levellst = new List();
- public List levellst1 = new List();
- public List levellst2 = new List();
- public List levellst3 = new List();
- public List levellst4 = new List();
- public void GetCat()
- {
- levellst.Clear();
-
- string url = "https://fxg.jinritemai.com/product/tproduct/categoryOptionsN?cid=0&appid=1&__token=57ae746dad0cd8c610061da3542bdca8&_lid=185395514703&_signature=_02B4Z6wo00901BWAKpgAAIDDpXHGUFOei0gVhC4AAGVdRDUVkGu0m2x2ZmO7k20IVvpSoGVVeqaYlfIyO5UnExFgL-vcYloVLZPcQAdaoEzdEN.gW97C2FBkXmV4VaxIK566gX6w5Dmb-H1A1d";
- string refere = "https://fxg.jinritemai.com/ffa/g/create";
- string data = "";
- string cookies = "ttcid=e377739c28ce4d18874fa6254b5aae0725; ttwid=1%7CQ2FXDv1XIHPVZa_hjjk6pZMPJKpmh59Y9QK9SmHGygE%7C1609827277%7Ccc7fa8c19ff0f500121b04ca16db39ede90af210620896d14c5ef778f70417ec; passport_csrf_token=e8c9361338d419e123eb9ca6f3cf47d5; passport_csrf_token_default=e8c9361338d419e123eb9ca6f3cf47d5; d_ticket=fd4f4a000273570e1b0a578f3c4b63e9c94fb; source=seo.baidu.001; Hm_lvt_b6520b076191ab4b36812da4c90f7a5e=1614154781; s_v_web_id=verify_klj62wum_mq6ot7Pj_Vd9w_4sZh_85CG_HCdNJeZbV830; SLARDAR_WEB_ID=unLoggedUser; PHPSESSID=bc522a983651ee361db01bef9a77f850; PHPSESSID_SS=bc522a983651ee361db01bef9a77f850; gfpart_1.0.0.3872_38475=0; MONITOR_WEB_ID=4e9f2d73-635d-4692-a761-1429b1436273; gftoken=MWNmNWVjNDllN3wxNjE0MTU0OTE1Mzl8fDAGBgYGBgY; gfpart_1.0.0.82_38574=0; Hm_lpvt_b6520b076191ab4b36812da4c90f7a5e=1614155399; tt_scid=kuImDaeMQkJDlV7RNBzK-cV.aUezLmPA8bf8-e4wjzbBldoQ3mxldypTfyI-r3KK6d9c; odin_tt=9848cda8c40345c38f0e4126ebee82067582ed5810871563287be65b4b5ada777abe060cbea27f6d6bac7de933729a8465d14ae31f9e01d0471d4a4e7918c9ca; n_mh=7-_t6pVZ0Rq_6lA_MFK-D1JitiJQbXT5uC_H35vCdp0; passport_auth_status=5e7c0775b54c286c732d68d07d44907c%2C; passport_auth_status_ss=5e7c0775b54c286c732d68d07d44907c%2C; sid_guard=f5734358799652f2f6d5ad4cf1a06620%7C1614156254%7C5184000%7CSun%2C+25-Apr-2021+08%3A44%3A14+GMT; uid_tt=63b8bfad66b71960e189a182fe122306; uid_tt_ss=63b8bfad66b71960e189a182fe122306; sid_tt=f5734358799652f2f6d5ad4cf1a06620; sessionid=f5734358799652f2f6d5ad4cf1a06620; sessionid_ss=f5734358799652f2f6d5ad4cf1a06620";
- string html = GetPostTaobaoHtml.UploadTaobao(url, refere, true, cookies);
- CategoryResult categoryResult = Newtonsoft.Json.JsonConvert.DeserializeObject(html);
- for (int i = 0; i < categoryResult.data.Count; i++)
- {
- var fxgCatBase = categoryResult.data[i];
- FxgCatLevel level = new FxgCatLevel();
- level.id = fxgCatBase.id;
- level.name = fxgCatBase.name;
- level.cat1id = fxgCatBase.id;
- level.cat1name = fxgCatBase.name;
- level.level = fxgCatBase.level;
- level.is_leaf = fxgCatBase.is_leaf;
- levellst1.Add(level);
- levellst.Add(level);
- }
- for (int i = 0; i < levellst1.Count; i++)
- {
- int cid = levellst1[i].id;
- url = "https://fxg.jinritemai.com/product/tproduct/categoryOptionsN?cid=" + cid + "&appid=1&__token=57ae746dad0cd8c610061da3542bdca8&_lid=185395514703&_signature=_02B4Z6wo00901BWAKpgAAIDDpXHGUFOei0gVhC4AAGVdRDUVkGu0m2x2ZmO7k20IVvpSoGVVeqaYlfIyO5UnExFgL-vcYloVLZPcQAdaoEzdEN.gW97C2FBkXmV4VaxIK566gX6w5Dmb-H1A1d";
- html = GetPostTaobaoHtml.UploadTaobao(url, refere, true, cookies);
- CategoryResult categoryResult2 = Newtonsoft.Json.JsonConvert.DeserializeObject(html);
- for (int j = 0; j < categoryResult2.data.Count; j++)
- {
- var fxgCatBase = categoryResult2.data[j];
- FxgCatLevel level = new FxgCatLevel();
- level.id = fxgCatBase.id;
- level.name = fxgCatBase.name;
- level.cat1id = levellst1[i].id;
- level.cat1name = levellst1[i].name;
- level.cat2id = fxgCatBase.id;
- level.cat2name = fxgCatBase.name;
- level.level = fxgCatBase.level;
- level.is_leaf = fxgCatBase.is_leaf;
- levellst2.Add(level);
- levellst.Add(level);
- }
- Thread.Sleep(2000);
- }
- for (int i = 0; i < levellst2.Count; i++)
- {
- int cid = levellst2[i].id;
- url = "https://fxg.jinritemai.com/product/tproduct/categoryOptionsN?cid=" + cid + "&appid=1&__token=57ae746dad0cd8c610061da3542bdca8&_lid=185395514703&_signature=_02B4Z6wo00901BWAKpgAAIDDpXHGUFOei0gVhC4AAGVdRDUVkGu0m2x2ZmO7k20IVvpSoGVVeqaYlfIyO5UnExFgL-vcYloVLZPcQAdaoEzdEN.gW97C2FBkXmV4VaxIK566gX6w5Dmb-H1A1d";
- html = GetPostTaobaoHtml.UploadTaobao(url, refere, true, cookies);
- CategoryResult categoryResult3 = Newtonsoft.Json.JsonConvert.DeserializeObject(html);
- for (int j = 0; j < categoryResult3.data.Count; j++)
- {
- var fxgCatBase = categoryResult3.data[j];
- FxgCatLevel level = new FxgCatLevel();
- level.id = fxgCatBase.id;
- level.name = fxgCatBase.name;
- level.cat1id = levellst2[i].cat1id;
- level.cat1name = levellst2[i].cat1name;
- level.cat2id = levellst2[i].cat2id;
- level.cat2name = levellst2[i].cat2name;
- level.cat3id = fxgCatBase.id;
- level.cat3name = fxgCatBase.name;
- level.level = fxgCatBase.level;
- level.is_leaf = fxgCatBase.is_leaf;
- levellst3.Add(level);
- levellst.Add(level);
- }
- Thread.Sleep(2000);
- }
- for (int i = 0; i < levellst3.Count; i++)
- {
- int cid = levellst3[i].id;
- url = "https://fxg.jinritemai.com/product/tproduct/categoryOptionsN?cid=" + cid + "&appid=1&__token=57ae746dad0cd8c610061da3542bdca8&_lid=185395514703&_signature=_02B4Z6wo00901BWAKpgAAIDDpXHGUFOei0gVhC4AAGVdRDUVkGu0m2x2ZmO7k20IVvpSoGVVeqaYlfIyO5UnExFgL-vcYloVLZPcQAdaoEzdEN.gW97C2FBkXmV4VaxIK566gX6w5Dmb-H1A1d";
- html = GetPostTaobaoHtml.UploadTaobao(url, refere, true, cookies);
- if (html.Contains("\"total\":0"))
- continue;
- CategoryResult categoryResult4 = Newtonsoft.Json.JsonConvert.DeserializeObject(html);
- for (int j = 0; j < categoryResult4.data.Count; j++)
- {
- var fxgCatBase = categoryResult4.data[j];
- FxgCatLevel level = new FxgCatLevel();
- level.id = fxgCatBase.id;
- level.name = fxgCatBase.name;
- level.cat1id = levellst3[i].cat1id;
- level.cat1name = levellst3[i].cat1name;
- level.cat2id = levellst3[i].cat2id;
- level.cat2name = levellst3[i].cat2name;
- level.cat3id = levellst3[i].cat3id;
- level.cat3name = levellst3[i].cat3name;
- level.cat4id = fxgCatBase.id;
- level.cat4name = fxgCatBase.name;
- level.level = fxgCatBase.level;
- level.is_leaf = fxgCatBase.is_leaf;
- levellst3.Add(level);
- levellst.Add(level);
- }
- Thread.Sleep(2000);
- }
- var jsonBody = Newtonsoft.Json.JsonConvert.SerializeObject(levellst);
- //var jlst = Newtonsoft.Json.JsonConvert.DeserializeObject>(jsonBody);
- FileBase.WriteAllText("temp/cat.txt", jsonBody);
-
- }
-
- private void txtPhone_TextChanged(object sender, EventArgs e)
- {
- }
-
- private void btnGetUpId_Click(object sender, EventArgs e)
- {
- long product_id = 0;
- long.TryParse(txtUpProduct.Text, out product_id);
- if (product_id > 0)
- {
- string urlx = BaseClass.LoginApiUrl + "?obj=upshopid/upid_dd&act=get";
- string datax = "&pid=" + product_id + "&table=" + (product_id % 1024);
- string htmlx = GetHtml.PostUtf8(urlx, UserLogin.GetSignaturex("", "") + datax);
- string id = BaseRegex.GetMatchRegexString(htmlx, @"([\d]+)");
- string url = "";
- if (htmlx.Contains("tb"))
- url = "https://item.taobao.com/item.htm?id=" + id;
- if (htmlx.Contains("pdd"))
- url = "https://mobile.yangkeduo.com/goods.html?goods_id=" + id;
- if (htmlx.Contains("al"))
- url = "https://detail.1688.com/offer/" + id + ".html";
- if (htmlx.Contains("dy"))
- url = "https://weidian.com/item.html?itemID=" + id;
- GetHtml.OpenUrl(url);
- }
- }
-
- private void shopthreadCountTextBox_SelectedIndexChanged(object sender, EventArgs e)
- {
- UploadProductBLL.ShopThreadCount = int.Parse(shopthreadCountTextBox.Text);
- }
-
- private void btnSetTitleRemove_Click(object sender, EventArgs e)
- {
- FilterForm frm = new FilterForm("标题去除词");
- frm.Show();
- }
-
- private void btnSetTitleFilter_Click(object sender, EventArgs e)
- {
- FilterForm frm = new FilterForm();
- frm.Show();
- }
-
- private void btnSetSkuFilter_Click(object sender, EventArgs e)
- {
- FilterForm frm = new FilterForm("属性违规词");
- frm.Show();
- }
-
- private void btnSetBrandFilter_Click(object sender, EventArgs e)
- {
- FilterForm frm = new FilterForm("品牌违规词");
- frm.Show();
- }
-
- private void prefixTextBox_TextChanged(object sender, EventArgs e)
- {
- if (!string.IsNullOrEmpty(prefixTextBox.Text))
- UploadProductBLL.PreFixTitle = prefixTextBox.Text.Trim();
- else
- UploadProductBLL.PreFixTitle = "";
- }
-
- private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
- {
- UploadProductBLL.fixName = comboBox1.SelectedItem.ToString();
- }
-
- private void proxyCheckBox_CheckedChanged(object sender, EventArgs e)
- {
- if (proxyCheckBox.Checked)
- {
- ProxyForm frm = new ProxyForm();
- frm.Show();
- UploadProductBLL.IsUseProxyCollectUp = true;
- }
- else
- {
- UploadProductBLL.IsUseProxyCollectUp = false;
- }
- }
-
- private void buttonEx4_Click(object sender, EventArgs e)
- {
- if (ieForm != null && IeForm.IsShowIeForm)
- {
- //ieForm.cefWebBrowser3.Load("https://www.taobao.com/");
- ieForm.StartPosition = FormStartPosition.CenterScreen;
- ieForm.Show();
- ieForm.Activate();
- }
- }
-
- private void chkOnlyPostFree_CheckedChanged(object sender, EventArgs e)
- {
- UploadProductBLL.JustFree = chkOnlyPostFree.Checked;
- }
-
- private void chklogistime_CheckedChanged(object sender, EventArgs e)
- {
- UploadProductBLL.isLogistics = chklogistime.Checked;
- }
-
- private void cboHour_SelectedIndexChanged(object sender, EventArgs e)
- {
- UploadProductBLL.isLogistHour = Convert.ToInt32(cboHour.Text);
- }
-
- public UploadParam uploadParam = new UploadParam();
- public class UploadParam
- {
- public string phone { get; set; }
- public string addMultiple { get; set; } = "1.2";
- public string addMultiple2 { get; set; } = "1.3";
- public string plusOrMinus { get; set; } = "+";
- public string addPrice { get; set; } = "10";
- public string plusOrMinus2 { get; set; } = "+";
- public string addPrice2 { get; set; } = "10";
- public bool isSetCommission { get; set; } = false;
- public int commissionRatio { get; set; } = 10;
- public bool isRoundPrice { get; set; } = false;
- public string productBrand { get; set; }
- public bool isAutoSaveUploadFailedProduct { get; set; } = false;
- }
-
- public void SaveUploadParam()
- {
- uploadParam.phone = txtPhone.Text;
- uploadParam.addMultiple = txtMultiple.Text;
- uploadParam.addMultiple2 = txtMultiple2.Text;
- uploadParam.plusOrMinus = cmbPlusOrMinus.Text;
- uploadParam.addPrice = txtPostage.Text;
- uploadParam.plusOrMinus2 = cmbPlusOrMinus2.Text;
- uploadParam.addPrice2 = txtPostage2.Text;
- uploadParam.commissionRatio = txtRatio.Text.ParseToInt();
- uploadParam.isSetCommission = chkIsSetCommission.Checked;
- uploadParam.isRoundPrice = chkRoundPrice.Checked;
- uploadParam.productBrand = txtProductBrand.Text.Trim();
- uploadParam.isAutoSaveUploadFailedProduct = chkSaveUploadFailed.Checked;
- try
- {
- NaiBa.Util.Helper.ConfigHelper.SaveConfig("upload_param", uploadParam);
- }
- catch
- {
- }
- }
- public void GetUploadParam()
- {
- try
- {
- uploadParam = NaiBa.Util.Helper.ConfigHelper.LoadConfig("upload_param");
- if (uploadParam == null)
- uploadParam = new UploadParam();
- txtMultiple.Text = uploadParam.addMultiple;
- txtMultiple2.Text = uploadParam.addMultiple2;
- cmbPlusOrMinus.SelectedItem = uploadParam.plusOrMinus;
- txtPostage.Text = uploadParam.addPrice;
- cmbPlusOrMinus2.SelectedItem = uploadParam.plusOrMinus2;
- txtPostage2.Text = uploadParam.addPrice2;
- txtPhone.Text = uploadParam.phone;
- txtRatio.Text = uploadParam.commissionRatio.ToString();
- chkIsSetCommission.Checked = uploadParam.isSetCommission;
- chkRoundPrice.Checked = uploadParam.isRoundPrice;
- txtProductBrand.Text = uploadParam.productBrand;
- chkSaveUploadFailed.Checked = uploadParam.isAutoSaveUploadFailedProduct;
- }
- catch
- {
- }
- }
-
- private void dgvProduct_CellContentClick(object sender, DataGridViewCellEventArgs e)
- {
- if (e.RowIndex < 0 || e.ColumnIndex < 0)
- return;
-
- var goodsId = dgvProduct.Rows[e.RowIndex].Cells["productIdColumn"].Value.ToString();
- var upId = dgvProduct.Rows[e.RowIndex].Cells["idColumn"].Value.ToString();
- var from = dgvProduct.Rows[e.RowIndex].Cells["fromColumn"].Value.ToString();
- var columnName = dgvProduct.Columns[e.ColumnIndex].Name;
- if (columnName == "productIdColumn")
- {
- string url = "https://haohuo.jinritemai.com/views/product/item2?id=" + goodsId;
- GetHtml.OpenUrl(url);
- }
- else if (columnName == "idColumn")
- {
- var url = "";
- if (from == "淘宝")
- url = "https://item.taobao.com/item.htm?id=" + upId;
- else if (from == "阿里巴巴")
- url = "https://detail.1688.com/offer/" + upId + ".html";
- else if (from == "微店")
- url = "https://weidian.com/item.html?itemID=" + upId;
- else if (from == "京喜")
- url = "https://item.m.jd.com/product/" + upId + ".html";
- else if (from == "拼多多")
- url = "http://mobile.yangkeduo.com/goods.html?goods_id=" + upId;
- else if (from == "抖音" || from == "")
- url = "https://haohuo.jinritemai.com/views/product/detail?id=" + upId;
- GetHtml.OpenUrl(url);
- }
- else if (columnName == "messageColumn")
- {
- if (dgvProduct.Rows[e.RowIndex].Cells["messageColumn"].Value.ToString() == "请去店铺后台创建产品尺码表!")
- {
- var url = "https://fxg.jinritemai.com/ffa/g/size-chart/manage";
- var shopName = dgvProduct.Rows[e.RowIndex].Cells["shopNameColumn"].Value.ToString();
- var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopAccount == shopName);
- if (shop != null)
- {
- var cookieStrArr = shop.Cookies.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries);
- var cookieList = new List();
- foreach (var cookieStr in cookieStrArr)
- {
- cookieList.Add(new CefSharp.Cookie
- {
- Domain = ".jinritemai.com",
- Name = cookieStr.Split('=').FirstOrDefault(),
- Value = cookieStr.Split('=').LastOrDefault(),
- Expires = DateTime.Now.AddMonths(1),
- Path = "/"
- });
- }
-
- CefForm cf = new CefForm(url, cookieList);
- cf.ShowDialog();
- }
- }
- }
- }
-
- private void lowPricePercenttextBox_TextChanged(object sender, EventArgs e)
- {
- if (!string.IsNullOrEmpty(lowPricePercenttextBox.Text))
- UploadProductBLL.LowPricePercent = decimal.Parse(lowPricePercenttextBox.Text);
- }
-
- private void lowPriceAddtextBox_TextChanged(object sender, EventArgs e)
- {
- if (!string.IsNullOrEmpty(lowPriceAddtextBox.Text) && lowPriceAddtextBox.Text != "-")
- UploadProductBLL.LowPriceAdd = decimal.Parse(lowPriceAddtextBox.Text);
- if (comboBox5.SelectedItem.ToString() != "+")
- UploadProductBLL.LowPriceAdd = -UploadProductBLL.LowPriceAdd;
- }
-
- private void lowPricecheckBox_CheckedChanged(object sender, EventArgs e)
- {
- UploadProductBLL.LowPriceSku = lowPricecheckBox.Checked;
- }
-
- private void endDateTimePicker_ValueChanged(object sender, EventArgs e)
- {
-
- }
-
- private void comboBox3_SelectedIndexChanged(object sender, EventArgs e)
- {
- sendTime.Visible = false;
- cmbSendDayAfterPre.Visible = false;
- label12.Visible = false;
- label8.Visible = false;
- endDateTimePicker.Visible = false;
- cmbNewPreTime.Visible = lblNewPreTime.Visible = false;
-
- if (cmbSendType.SelectedItem.ToString() == "预售发货")
- {
- sendTime.Visible = true;
- cmbSendDayAfterPre.Visible = true;
- label12.Visible = true;
- label8.Visible = true;
- endDateTimePicker.Visible = true;
- }
- else if (cmbSendType.SelectedItem.ToString() == "新预售" || cmbSendType.SelectedItem.ToString() == "现货-预售")
- {
- cmbNewPreTime.Visible = lblNewPreTime.Visible = true;
- }
- }
-
- private void chkIsSetCommission_CheckedChanged(object sender, EventArgs e)
- {
- UploadProductBLL.IsSetCommission = chkIsSetCommission.Checked;
- }
-
- private void txtRatio_TextChanged(object sender, EventArgs e)
- {
- UploadProductBLL.CommissionRatio = txtRatio.Text.ParseToInt();
- }
-
- private void lblWaitUpload_Click(object sender, EventArgs e)
- {
- //return;
- if (webBrowser != null && btn != null)
- {
- webBrowser.BringToFront();
- btn.BringToFront();
- }
- }
-
- private void buttonEx2_Click_1(object sender, EventArgs e)
- {
- OpenFileDialog dialog = new OpenFileDialog();
- dialog.Multiselect = false;//该值确定是否可以选择多个文件
- dialog.Title = "请选择文件夹"; //窗体标题
- dialog.Filter = "图片文件(*.jpg,*.png,*.jpeg)|*.jpg;*.png;*.jpeg";
- //dialog.Filter = "图片文件(*.jpg,*.jpeg,*.png)|*.jpg|*.jpeg|*.png|*.bmp|*.gif"; //文件筛选
- dialog.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyComputer);
- if (dialog.ShowDialog() == DialogResult.OK)
- {
- string file = dialog.FileName;//文件夹路径
- string path = file.Substring(file.LastIndexOf("\\") + 1); //格式化处理,提取文件名
- FileStream fs = new FileStream(file, FileMode.Open, FileAccess.Read);
- byte[] img = new byte[fs.Length];
- BinaryReader br = new BinaryReader(fs);//二进制读取器
- img = br.ReadBytes(Convert.ToInt32(fs.Length));
- UploadProductBLL.img = img;
- new Thread(SetFixedImage).Start();
- }
- }
- public void SetFixedImage()
- {
- string baseImageUrl = HttpPostDataImage("https://fxg.jinritemai.com/common/img/batchupload?_bid=ffa_goods", "https://fxg.jinritemai.com/ffa/g/create", UploadProductBLL.img);
- UploadProductBLL.baseImageUrl = BaseRegex.GetMatchRegexString(baseImageUrl, @"\[""([\w\W]+?)""\]");
- FileBase.WriteAllText("temp/imageUrl.txt", UploadProductBLL.baseImageUrl, Encoding.UTF8);
- }
- private static string HttpPostDataImage(string url, string referer, byte[] file)
- {
- var shop = GlobalConfig.ShopLoginList.Where(s => s.LoginStatus == "登录成功").FirstOrDefault();
- if (shop == null)
- return "";
- string responseContent = "";
- string cookie = shop.Cookies;
- if (string.IsNullOrEmpty(cookie))
- {
- return "";
- }
- var memStream = new MemoryStream();
- var webRequest = (HttpWebRequest)WebRequest.Create(url);
- // 边界符
- var boundary = "----WebKitFormBoundaryQ6FNeGKnNmZqtskD";
- // 边界符
- var beginBoundary = Encoding.ASCII.GetBytes("--" + boundary + "\r\n");
- // 边界符
- var secondBoundary = Encoding.ASCII.GetBytes("\r\n--" + boundary + "\r\n");
- // 最后的结束符
- var endBoundary = Encoding.ASCII.GetBytes("\r\n--" + boundary + "--");
-
- // 设置属性
- webRequest.Method = "POST";
- webRequest.KeepAlive = true;
- webRequest.Timeout = 5000;
- webRequest.ReadWriteTimeout = 5000;
- webRequest.ContentType = "multipart/form-data; boundary=" + boundary;
- webRequest.Referer = referer;
- webRequest.Accept = "*/*";
- webRequest.UserAgent = BaseClass.ChromeUserAgent;
- webRequest.Headers.Add("Cookie", cookie);
- webRequest.Headers.Add("Origin", @"https://fxg.jinritemai.com");
- //webRequest.Headers.Add("Sec-Fetch-Site", @"same-site");
- //webRequest.Headers.Add("Sec-Fetch-Mode", @"cors");
- webRequest.Headers.Set(HttpRequestHeader.AcceptEncoding, "gzip, deflate");
- webRequest.Headers.Set(HttpRequestHeader.AcceptLanguage, "zh-CN,zh;q=0.9");
- webRequest.Headers.Set(HttpRequestHeader.Cookie, cookie);
- webRequest.ServicePoint.Expect100Continue = false;
-
- string filePartHeader =
- "Content-Disposition: form-data; name=\"{0}\"; filename=\"{1}\"\r\n" +
- "Content-Type: image/jpeg\r\n\r\n";
- var header = string.Format(filePartHeader, "image[0]", "标签.jpg");
- var headerbytes = Encoding.UTF8.GetBytes(header);
- memStream.Write(beginBoundary, 0, beginBoundary.Length);
- memStream.Write(headerbytes, 0, headerbytes.Length);
- // 写入文件
- memStream.Write(file, 0, file.Length);
- // 写入最后的结束边界符
- memStream.Write(endBoundary, 0, endBoundary.Length);
- webRequest.ContentLength = memStream.Length;
- using (Stream stream = webRequest.GetRequestStream())
- {
- memStream.WriteTo(stream);
- }
- var httpWebResponse = (HttpWebResponse)webRequest.GetResponse();
- if (httpWebResponse != null)
- {
- if (string.IsNullOrEmpty(responseContent))
- responseContent = ReadResponsex(httpWebResponse);
- httpWebResponse.Close();
- }
- return responseContent;
- }
-
- public static string ReadResponsex(HttpWebResponse response)
- {
- using (Stream responseStream = response.GetResponseStream())
- {
- Stream streamToRead = responseStream;
- if (response.ContentEncoding.ToLower().Contains("gzip"))
- {
- streamToRead = new GZipStream(streamToRead, CompressionMode.Decompress);
- }
- else if (response.ContentEncoding.ToLower().Contains("deflate"))
- {
- streamToRead = new DeflateStream(streamToRead, CompressionMode.Decompress);
- }
-
- using (StreamReader streamReader = new StreamReader(streamToRead, Encoding.UTF8))
- {
- return streamReader.ReadToEnd();
- }
- }
- }
- //private string GetShopDetail(string productId)
- //{
- // HttpWebResponse response = null;
- // string result;
- // try
- // {
- // string url = "https://ec.snssdk.com/product/getstock?id=3493426708055488550&add_cart=0&b_type_new=0&device_id=0&is_outside=1";
-
- // HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
- // request.ContentType = "application/x-www-form-urlencoded";
- // request.Referer = "https://haohuo.jinritemai.com/";
- // request.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36 Edg/91.0.864.509";
- // request.Headers.Add("origin", @"https://haohuo.jinritemai.com");
-
- // response = (HttpWebResponse)request.GetResponse();
- // }
- // catch (WebException ex)
- // {
- // if (ex.Status == WebExceptionStatus.ProtocolError)
- // {
- // response = (HttpWebResponse)ex.Response;
- // result = GetProxyHtml.ReadResponse(response);
- // return result;
- // }
- // else return ex.Message;
- // }
- // catch (Exception e)
- // {
- // if (response != null) response.Close();
- // return e.Message;
- // }
- // result = GetProxyHtml.ReadResponse(response);
- // return result;
- //}
-
- #region 数据净化数据导入相关静态函数
- ///
- /// 从数据净化导入数据
- ///
- ///
- ///
- public static string ImportFromFission(List pcbList)
- {
- if (instance != null)
- instance.ImportFormFissionData(pcbList);
- else
- lstFissionPcb.AddRange(pcbList);
-
- return "ok";
- }
- #endregion
-
- private void ImportFormFissionData(List pcbs)
- {
- foreach (var pcb in pcbs)
- {
- TaobaoProductBase t = new TaobaoProductBase();
- t.TolerantFormId = pcb.from_id.ToString();
- t.FromId = pcb.from_id;
- t.ViPrice = "";
- t.ViGoodsId = 0;
- t.FromType = pcb.from;
- t.Titlte = pcb.name.Replace("\",\"", "");
- t.pcb = pcb;
- if (!UploadProductBLL.ProductStock.Exists(p => p != null && p.FromId == t.FromId && p.Titlte == t.Titlte))
- {
- UploadProductBLL.ProductStock.Add(t);
- DataBaseTemp.Add(t);
- batchDataBaseTemp.Add(t);
- if (batchDataBaseTemp.Count > 50)
- {
- AddListToDataBaseSingle(batchDataBaseTemp);
- batchDataBaseTemp.Clear();
- ReMain();
- }
- }
- }
- if (batchDataBaseTemp.Count > 0)
- {
- AddListToDataBaseSingle(batchDataBaseTemp);
- batchDataBaseTemp.Clear();
- ReMain();
- }
- }
-
- private void chkRandomMainImage_CheckedChanged(object sender, EventArgs e)
- {
- }
-
- private void chkSaveToOffLine_CheckedChanged(object sender, EventArgs e)
- {
-
- }
-
- FlowLayoutPanel pnlViolateCheck = null;
- private void btnSetViolateCheck_Click(object sender, EventArgs e)
- {
- UploadProductViolateSelectForm f = new UploadProductViolateSelectForm();
- f.ShowDialog();
- return;
-
- if (pnlViolateCheck == null)
- {
- pnlViolateCheck = new FlowLayoutPanel();
- pnlViolateCheck.AutoScroll = true;
- pnlViolateCheck.Anchor = AnchorStyles.Top;
- pnlViolateCheck.BorderStyle = BorderStyle.FixedSingle;
- pnlViolateCheck.SetAutoScrollMargin(10, 10);
- this.Controls.Add(pnlViolateCheck);
-
- // 读取违规信息规则名称列表
- ViolateManageForm.GetAllViolateRuleName();
- // 显示违规信息规则名称列表
- ViolateManageForm.SetViolateSelectList(pnlViolateCheck);
- }
- pnlViolateCheck.Width = this.Width - 150;
- pnlViolateCheck.Height = this.Height - 300;
- pnlViolateCheck.Location = new Point((this.Width - pnlViolateCheck.Width) / 2, 58);
-
- if (btnSetViolateCheck.Text == "设置")
- {
- pnlViolateCheck.Visible = true;
- pnlViolateCheck.BringToFront();
- btnSetViolateCheck.Text = "关闭";
- }
- else
- {
- pnlViolateCheck.Visible = false;
- pnlViolateCheck.SendToBack();
- btnSetViolateCheck.Text = "设置";
- }
- }
-
- private void chkMultiUpload_CheckedChanged(object sender, EventArgs e)
- {
- lblFromTo.Visible = lblFromTo2.Visible = txtMultiple2.Visible = cmbPlusOrMinus2.Visible = txtPostage2.Visible = chkMultiUpload.Checked;
- }
-
- private void txtSetBrand_TextChanged(object sender, EventArgs e)
- {
- //string result = "";
- //while (result == "" || result.Contains("已过期"))
- //{
- // var dyShop = GlobalConfig.DouShopLoginList.FirstOrDefault(s => s.ApiAuthStatus == "授权成功");
- // if (dyShop == null)
- // {
- // BaseMsgForm.ShowError("请确保至少有一个店铺授权成功!");
- // return;
- // }
- // var api = new DouyinApi(dyShop);
- // api.JsonData["category_id"] = detailDataPcb.cat_id.ToString();
- // var textQuery = txt.Text.Split(new string[] { "/" }, StringSplitOptions.RemoveEmptyEntries).LastOrDefault();
- // api.JsonData["query"] = textQuery == null ? "" : textQuery; // "JIXIN/积鑫";
- // result = api.cateBrandList();
- //}
- //
- //try
- //{
- // var jArr = JObject.Parse(result)["data"]["brand_list"] as JArray;
- // ShowBrandList(jArr, txt);
- //}
- //catch (Exception ex) { }
- }
-
- private void btn上传质检报告_Click(object sender, EventArgs e)
- {
- var imageUrl = uploadQualificationFile("3457058945162709852", "质检报告");
- if (!string.IsNullOrEmpty(imageUrl)) this.pictureBox3.Load(imageUrl);
- }
-
- private void btn上传包装标签图_Click(object sender, EventArgs e)
- {
- var imageUrl = uploadQualificationFile("6966228537426575660", "包装标签图");
- if (!string.IsNullOrEmpty(imageUrl)) this.pictureBox2.Load(imageUrl);
- }
-
- private void btn上传食品许可证_Click(object sender, EventArgs e)
- {
- var imageUrl = uploadQualificationFile("6921664837978194184", "食品生产许可证");
- if (!string.IsNullOrEmpty(imageUrl)) this.pictureBox1.Load(imageUrl);
- }
-
- private string uploadQualificationFile(string qualityKey, string qualityName)
- {
- var uploadResult = new FissionBrowserObject().addLocalPic(false);
- if (uploadResult.Contains("\"msg\":\"success\""))
- {
- var qualificationFile = new quality_file();
- qualificationFile.quality_key = qualityKey;
- qualificationFile.quality_name = qualityName;
- if (qualityName == "食品生产许可证")
- {
- var prop = UploadProductBLL.sGlobalPropList.FirstOrDefault(pr => pr.Key == "食品生产许可证编号");
- if (prop != null)
- qualificationFile.quality_number = prop.Value;
- }
- if (qualificationFile.quality_attachments == null)
- qualificationFile.quality_attachments = new List();
-
- var imageUrl = BaseRegex.GetStringJson(ref uploadResult, "src")?.Replace("\\/", "/");
- if (!string.IsNullOrEmpty(imageUrl))
- {
- qualificationFile.quality_attachments.Clear();
- qualificationFile.quality_attachments.Add(new quality_attachment { media_type = 1, url = imageUrl });
- UploadProductBLL.sGlobalQualifications.RemoveAll(q => q.quality_name == qualificationFile.quality_name);
- UploadProductBLL.sGlobalQualifications.Add(qualificationFile);
-
- NaiBa.Util.Helper.ConfigHelper.SaveConfig("global_qualifications", UploadProductBLL.sGlobalQualifications);
- return imageUrl;
- }
- }
- return "";
- }
-
- private void txt食品生产许可证号_TextChanged(object sender, EventArgs e)
- {
- UploadProductBLL.sGlobalPropList.RemoveAll(kv => kv.Key == "食品生产许可证编号");
- if (!string.IsNullOrEmpty(txt食品生产许可证编号.Text.Trim()))
- {
- UploadProductBLL.sGlobalPropList.Add(new KeyValueBase("食品生产许可证编号", txt食品生产许可证编号.Text.Trim()));
- NaiBa.Util.Helper.ConfigHelper.SaveConfig("global_prop_list", UploadProductBLL.sGlobalPropList);
-
- var Qualifications = UploadProductBLL.sGlobalQualifications.FirstOrDefault(q => q.quality_name == "食品生产许可证");
- if (Qualifications != null)
- {
- Qualifications.quality_number = txt食品生产许可证编号.Text.Trim();
- NaiBa.Util.Helper.ConfigHelper.SaveConfig("global_qualifications", UploadProductBLL.sGlobalQualifications);
- }
- }
- }
-
- private void txt生产企业名称_TextChanged(object sender, EventArgs e)
- {
- UploadProductBLL.sGlobalPropList.RemoveAll(kv => kv.Key == "生产企业名称");
- if (!string.IsNullOrEmpty(txt生产企业名称.Text.Trim()))
- {
- UploadProductBLL.sGlobalPropList.Add(new KeyValueBase("生产企业名称", txt生产企业名称.Text.Trim()));
- NaiBa.Util.Helper.ConfigHelper.SaveConfig("global_prop_list", UploadProductBLL.sGlobalPropList);
- }
- }
-
- private void txtBrand_TextChanged(object sender, EventArgs e)
- {
- UploadProductBLL.sGlobalPropList.RemoveAll(kv => kv.Key == "品牌");
- if (!string.IsNullOrEmpty(txtBrand.Text.Trim()))
- {
- UploadProductBLL.sGlobalPropList.Add(new KeyValueBase("品牌", txtBrand.Text.Trim()));
- NaiBa.Util.Helper.ConfigHelper.SaveConfig("global_prop_list", UploadProductBLL.sGlobalPropList);
- }
- }
-
- private void dgvProduct_RowsAdded(object sender, DataGridViewRowsAddedEventArgs e)
- {
- var row = dgvProduct.Rows[e.RowIndex];
- if (row.Cells["messageColumn"].Value.ToString() == "请去店铺后台创建产品尺码表!")
- {
- var font = dgvProduct.RowsDefaultCellStyle.Font;
- row.Cells["messageColumn"].Style.Font = new Font(font.FontFamily, font.Size, FontStyle.Underline);
- }
- }
-
- private void chkSaveUploadFailed_CheckedChanged(object sender, EventArgs e)
- {
-
- }
- }
-
- public class OpenApiResponseBase
- {
- public string msg = "";
- private int tpl_type = 0;
- private int page = 0;
- private int size = 0;
- private int st = 0;
- public int code = 0;
- public int total = 0;
- public List data
- {
- get;
- set;
- }
- public OpenApiResponseBase()
- {
- }
- }
- public class PropertiesBase
- {
- public string hint = "";
- public int multi_select_max = 0;
- public int property_type = 0;
- public string property_id = "";
- public int sequence = 0;
- public int relation_id = 0;
- public string name
- {
- get;
- set;
- }
- public int required
- {
- get;
- set;
- }
- public string type
- {
- get;
- set;
- }
- public List options
- {
- get;
- set;
- }
- public PropertiesBase()
- {
- }
- }
- public class PropertiesValuesBase
- {
- public string name
- {
- get;
- set;
- }
- public string value
- {
- get;
- set;
- }
- public PropertiesValuesBase()
- {
-
- }
- }
-
-
- public class FxgCatBase
- {
- ///
- ///
- ///
- public int id { get; set; }
- ///
- /// 名称
- ///
- public string name { get; set; }
- ///
- /// 类目ID
- ///
- public int parent_cid { get; set; }
- ///
- /// 层级
- ///
- public int level { get; set; }
- ///
- ///
- ///
- public int enable { get; set; }
- ///
- /// 叶子节点
- ///
- public string is_leaf { get; set; }
- ///
- ///
- ///
- public string extra { get; set; }
- }
- public class CategoryResult
- {
- ///
- ///
- ///
- public int st { get; set; }
- ///
- ///
- ///
- public string msg { get; set; }
- ///
- ///
- ///
- public int code { get; set; }
- ///
- ///
- ///
- public List data { get; set; }
- ///
- ///
- ///
- public int page { get; set; }
- ///
- ///
- ///
- public int size { get; set; }
- ///
- ///
- ///
- public int total { get; set; }
- }
- public class FxgCatLevel
- {
- ///
- ///
- ///
- public int id { get; set; }
- ///
- /// 名称
- ///
- public string name { get; set; }
- ///
- /// 类目ID
- ///
- public int cat1id { get; set; }
- ///
- /// 名称
- ///
- public string cat1name { get; set; }
- ///
- /// 类目ID
- ///
- public int cat2id { get; set; }
- ///
- /// 名称
- ///
- public string cat2name { get; set; }
- ///
- /// 类目ID
- ///
- public int cat3id { get; set; }
- ///
- /// 名称
- ///
- public string cat3name { get; set; }
- ///
- /// 类目ID
- ///
- public int cat4id { get; set; }
- ///
- /// 名称
- ///
- public string cat4name { get; set; }
- ///
- /// 层级
- ///
- public int level { get; set; }
- ///
- /// 叶子节点
- ///
- public string is_leaf { get; set; }
- }
-}
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/UploadProductForm.resx b/TEMUKJD/KJDForms/ProductForms/Old/UploadProductForm.resx
deleted file mode 100644
index 67c0085..0000000
--- a/TEMUKJD/KJDForms/ProductForms/Old/UploadProductForm.resx
+++ /dev/null
@@ -1,237 +0,0 @@
-
-
-
-
-