diff --git a/AllBase/AllBase.csproj b/AllBase/AllBase.csproj
index 8211c75..f65a829 100644
--- a/AllBase/AllBase.csproj
+++ b/AllBase/AllBase.csproj
@@ -1,8 +1,8 @@
-
-
-
+
+
+
Debug
AnyCPU
@@ -13,7 +13,7 @@
Properties
AllBase
AllBase
- v4.5.2
+ v4.6.2
512
@@ -109,17 +109,15 @@
false
-
- ..\packages\CefSharp.Common.114.2.120\lib\net452\CefSharp.dll
+
+ ..\packages\CefSharp.Common.138.0.340\lib\net462\CefSharp.dll
-
- ..\packages\CefSharp.Common.114.2.120\lib\net452\CefSharp.Core.dll
+
+ ..\packages\CefSharp.Common.138.0.340\lib\net462\CefSharp.Core.dll
-
- ..\packages\CefSharp.WinForms.114.2.120\lib\net452\CefSharp.WinForms.dll
-
-
- ..\DllReference\DevComponents.DotNetBar2.dll
+
+ ..\packages\CefSharp.WinForms.138.0.340\lib\net462\CefSharp.WinForms.dll
+ True
False
@@ -254,12 +252,12 @@
这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。
-
-
-
-
+
+
+
+
-
+
当前状态不支持修改店铺名,您可一键开新店铺
\"";
- // cefWebBrowser3.GetBrowser().MainFrame.ExecuteJavaScriptAsync(code);
- //}
- }
-
- private void Chat_SearchResultReceived(ShopLoginInfo shop)
- {
- var r = dgvShop.Rows.Cast().FirstOrDefault(x => x.Cells["columnShopId"].Value.ToString() == shop.ShopId);
- if (r != null)
- {
- for (int i = 0; i < dgvShop.Rows.Count; i++)
- {
- var row = dgvShop.Rows[i];
-
- if (row.Cells[0].Value.ToString() == shop.ShopId && shop != currentShop)
- {
- if (ShopChatCount.ContainsKey(shop.ShopId) && ShopChatCount[shop.ShopId] > 0)
- {
- Task.Run(() =>
- {
- for (int j = 0; j < 4; j++)
- {
- Invoke(new Action(() => { row.DefaultCellStyle.BackColor = Color.White; }));
- Thread.Sleep(100);
- Invoke(new Action(() => { row.DefaultCellStyle.BackColor = Color.FromArgb(245, 95, 50); }));
- Thread.Sleep(100);
- Invoke(new Action(() => { row.DefaultCellStyle.BackColor = Color.FromArgb(245, 45, 10); }));
- Thread.Sleep(100);
- }
- });
- }
- else if (row.DefaultCellStyle.BackColor != Color.White)
- {
- row.DefaultCellStyle.BackColor = Color.White;
- }
- break;
- }
- }
- }
- }
-
- private void RequestHandler_ResourceLoadComplete(object sender, string url, string postData, string responseData)
- {
- //{"check_spam_resp":{"decision":"PASS","verify_type":"","check_spam_detail":{}},"code":0,"data":{"reqId":"","action":null,"openStatus":2},"msg":"","request_arrived_time":1634629395771,"server_execution_end_time":1634629395782,"st":0}
- //{"check_spam_resp":{"decision":"PASS","verify_type":"","check_spam_detail":{}},"code":0,"data":{"reqId":"","action":null,"openStatus":2},"msg":"","request_arrived_time":1634629395771,"server_execution_end_time":1634629395782,"st":0}
- //{"ev_type":"batch","list":[{"ev_type":"http","payload":{"api":"xhr","request":{"url":"https://mssdk.snssdk.com/web/report?msToken=qPvfFS_fmS_qrYGcuc8r7tPrFv1vGGyKXz047DsUQwWwS71nflFsNILpxusx7CqhfcCoQqWRqYcsW3uWf8tDwormkmLX_Om59l2butcdH109&X-Bogus=DFSzswVLpIZCR-r8SzOrXdCr9FuN","protocol":"https","domain":"mssdk.snssdk.com","query":"msToken=qPvfFS_fmS_qrYGcuc8r7tPrFv1vGGyKXz047DsUQwWwS71nflFsNILpxusx7CqhfcCoQqWRqYcsW3uWf8tDwormkmLX_Om59l2butcdH109&X-Bogus=DFSzswVLpIZCR-r8SzOrXdCr9FuN","path":"/web/report","hash":"","method":"post","timestamp":1634629435132},"response":{"status":200,"is_custom_error":false,"timestamp":1634629435231,"headers":{"content-type":"text/plain; charset=utf-8"}},"duration":99},"common":{"bid":"mona_plugin","pid":"/pc_seller/main/chat","view_id":"/pc_seller/main/chat_1634628536182","user_id":"pigeon","device_id":"f24e230e-778c-46e5-a9b5-ed2df437c133","session_id":"f6dd538f-2d9d-4cb7-8c54-c06e238a71c8","release":"","env":"production","url":"https://im.jinritemai.com/pc_seller/main/chat","protocol":"https","domain":"im.jinritemai.com","path":"/pc_seller/main/chat","query":"","timestamp":1634629435132,"sdk_version":"0.3.10","sdk_name":"SDK_SLARDAR_WEB","context":{},"network_type":"4g","sample_rate":1}}]}
- //{"check_spam_resp":{"decision":"PASS","verify_type":"","check_spam_detail":{}},"code":0,"data":{"count":8},"msg":"","page":0,"request_arrived_time":1634629460322,"server_execution_end_time":1634629460336,"size":0,"st":0,"total":0}
- //{"check_spam_resp":{"decision":"PASS","verify_type":"","check_spam_detail":{}},"code":0,"data":{"count":1},"msg":"","page":0,"request_arrived_time":1634629460415,"server_execution_end_time":1634629460432,"size":0,"st":0,"total":0}
- if (responseData.Contains("un_replay_customer_num") || responseData.Contains("你好"))
- {
- Task.Run(() =>
- {
- });
- }
- }
-
- private void Collect_InfomationReceived(string infomation)
- {
- //try
- //{
- // this.Invoke(new Action(() =>
- // {
- // lblMsg.Text = infomation;
- // var data = infomation.Split(new string[] { ":" }, StringSplitOptions.RemoveEmptyEntries);
- // if (data.Length == 2)
- // {
- // if (data[1] == FastCarCollect.FASTCAR_QUOTA_FINISH)
- // {
- // var shop = gridShop.Rows.Cast().FirstOrDefault(x => x.Cells["columnShopName"].Value.ToString() == data[0]);
- // if (shop != null)
- // {
- // shop.Cells["columnMsg"].Value = data[1];
- // }
- // }
- // }
- // if (infomation == "修改出价结束")
- // this.btnStart.Enabled = true;
- // if (infomation == "暂停推广结束")
- // this.btnStop.Enabled = true;
- // }));
- //}
- //catch { }
- }
-
- void SearchNewMessageNofity(ShopLoginInfo shop)
- {
- if (SearchResultReceived != null)
- {
- Task.Run(() =>
- {
- SearchResultReceived(shop);
- Thread.Sleep(1000);
- });
- }
- }
-
- void InfomationNotify(string msg)
- {
- if (InfomationReceived != null)
- {
- InfomationReceived(msg);
- Thread.Sleep(200);
- }
- }
-
- public void DgvShopClick(ShopLoginInfo shop)
- {
-
- var r = dgvShop.Rows.Cast().FirstOrDefault(x => x.Cells["columnShopId"].Value.ToString() == shop.ShopId);
- if (r != null)
- {
-
- r.Cells[0].Selected = true;
- var sender = this.dgvShop;
- DataGridViewCellEventArgs e = new DataGridViewCellEventArgs(0, r.Index);
- dgvShop_CellClick(sender, e);
- }
- }
- private void dgvShop_CellContentClick(object sender, DataGridViewCellEventArgs e)
- {
- if (e.ColumnIndex < 0 || e.RowIndex < 0)
- return;
-
- string shopId = dgvShop.Rows[e.RowIndex].Cells["ColumnShopID"].Value?.ToString();
- if (string.IsNullOrEmpty(shopId))
- return;
- var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
- if (shop == null)
- return;
-
- if (dgvShop.Columns[e.ColumnIndex].HeaderText == "登录状态" && dgvShop.Rows[e.RowIndex].Cells[e.ColumnIndex].Value?.ToString() == "未登录 点击登录")
- {
- Task.Run(() =>
- {
- // 如需登录,引导至登录窗口,禁止从聊天窗口登录。
- Invoke(new Action(() =>
- {
- // 登录抖音小店
- ShopLoginForm lf = new ShopLoginForm(shop);
- lf.ShowDialog();
- if (ShopListForm.Instance == null)
- ShopListForm.Instance = new ShopListForm();
- }));
-
- ShopListForm.Instance.CheckShopLogin(new string[] { shop.ShopAccount }, false);
- LoadShop(new List() { shop });
- if (shop.LoginStatus == "登录成功")
- {
- ShowChat(shop);
- while (shop.Chat.IsLoading)
- {
- Thread.Sleep(50);
- }
- }
- });
- }
- }
- private void dgvShop_CellClick(object sender, DataGridViewCellEventArgs e)
- {
- if (e.ColumnIndex < 0 || e.RowIndex < 0)
- return;
-
- string shopId = dgvShop.Rows[e.RowIndex].Cells[0].Value?.ToString();
- if (string.IsNullOrEmpty(shopId))
- return;
-
- dgvShop.Rows[e.RowIndex].DefaultCellStyle.BackColor = Color.White;
- var shop = GlobalConfig.ShopLoginList.Where(s => s.ShopId == shopId).FirstOrDefault();
- if (shop == null)
- return;
-
- if (shop?.Chat != null)
- {
- //SetJsReaload(shop);
- currentShop = shop;
- shop.Chat.Dock = DockStyle.Fill;
- shop.Chat.BringToFront();
- }
-
- Task.Run(() =>
- {
- SetMainBrowserUrl(shop);
- });
- }
-
- ///
- /// 更新店铺后台首页
- ///
- ///
- private void SetMainBrowserUrl(ShopLoginInfo shop)
- {
- if (shop == null)
- return;
-
- var cookieManager = mainWebBrowser.RequestContext.GetCookieManager(null);
- cookieManager.DeleteCookiesAsync("jinritemai.com", null).Wait();
- CEFBrowser.SetCookieAsync("jinritemai.com", shop.Cookies, cookieManager);
-
- mainWebBrowser.Load("https://fxg.jinritemai.com/ffa/mshop/homepage/index");
- }
-
- ///
- ///
- ///
- ///
- /// false表示已经掉线,需要登录
- public bool AutoCheckShopLoginStatus(ShopLoginInfo shop)
- {
- if (shop == null)
- return false;
-
- var browser = shop.Chat;
- if (browser.IsBrowserInitialized)
- {
- var jsStr = "function getNeedLogin() {\r\n"
- + "var bodyHtml = document.body.innerHTML;\r\n"
- + "return bodyHtml.indexOf('登录即代表同意') >= 0 || bodyHtml.indexOf('请输入密码') >= 0 || bodyHtml.indexOf('登录过期') >= 0 /*|| bodyHtml.indexOf('重新登录') >= 0*//*修改密码后出现*/;\r\n"
- + "}\r\n"
- + "getNeedLogin();\r\n";
-
- var html = "";
- if (browser.IsBrowserInitialized)
- {
- var t1 = browser.GetMainFrame().EvaluateScriptAsync(jsStr);
- t1.Wait();
- html = t1.Result?.Result?.ToString()?.ToLower();
- }
-
- if (html == "true")
- {
- Invoke(new Action(() => { browser.Load("about:blank"); }));
- return true;
- }
- }
- return false;
- }
-
- ///
- /// 店铺掉线自动重登
- ///
- ///
- public void AutoReLogin(ShopLoginInfo shop)
- {
- try
- {
- // 如需登录,引导至登录窗口,禁止从聊天窗口登录。
- Invoke(new Action(() =>
- {
- // 登录抖音小店
- ShopLoginForm lf = new ShopLoginForm(shop);
- lf.ShowDialog();
- if (ShopListForm.Instance == null)
- ShopListForm.Instance = new ShopListForm();
- }));
-
- ShopListForm.Instance.CheckShopLogin(new string[] { shop.ShopAccount }, false);
- LoadShop(new List() { shop });
- if (shop.LoginStatus == "登录成功")
- {
- ShowChat(shop);
- while (shop.Chat.IsLoading)
- {
- Thread.Sleep(50);
- }
- }
- }
- catch
- {
-
- }
- }
-
- string GetBrowserHtml(ChromiumWebBrowser browser)
- {
- try
- {
- if (browser == null)
- return null;
- var task = browser.GetBrowser().MainFrame.GetSourceAsync();
- bool isflag = task.Wait(5000);
- if (!isflag)
- return null;
- //Thread.Sleep(500);
- return task.Result;
- }
- catch
- {
- return null;
- }
- }
-
- public void ShowChat(ShopLoginInfo shop)
- {
- while (shop.Chat?.IsBrowserInitialized != true)
- {
- Thread.Sleep(50);
- }
- // 设置cef cookie
- if (shop.Chat != null && shop.Chat.IsBrowserInitialized)
- {
- var cookieManager = shop.Chat.RequestContext.GetCookieManager(null);
-
- cookieManager.DeleteCookiesAsync("jinritemai.com", null).Wait();
- CEFBrowser.SetCookieAsync("jinritemai.com", shop.Cookies, shop.Chat.RequestContext.GetCookieManager(null));
-
- //shop.Chat.Load("https://im.jinritemai.com/pc_seller/main/chat?selfId=4292110529608375");
- if (shop.LoginStatus == "登录成功")
- shop.Chat.Load("https://im.jinritemai.com/pc_seller/main/chat");
- }
- }
-
- public void LoadShop(List shopList = null)
- {
- if (shopList == null)
- shopList = new List();
-
- if (shopList.Count == 0)
- shopList.AddRange(GlobalConfig.ShopLoginList);
-
- for (int i = 0; i < shopList.Count; i++)
- {
- var shop = shopList[i];
- ShopLoginInfo result = new ShopLoginInfo();
- result.ShopId = shop.ShopId;
- result.ShopAccount = shop.ShopAccount;
- result.LoginStatus = shop.LoginStatus;
-
- var r = dgvShop.Rows.Cast().FirstOrDefault(x => x.Cells["columnShopId"].Value.ToString() == shop.ShopId);
- this.Invoke(new Action(() =>
- {
- int iGrid = 0;
- if (r == null)
- iGrid = dgvShop.Rows.Add();
- else
- iGrid = r.Index;
-
- dgvShop.Rows[iGrid].Cells["ColumnShopID"].Value = shop.ShopId; // 店铺ID
- dgvShop.Rows[iGrid].Cells["ColumnShopName"].Value = shop.ShopAccount; // 店铺名称
- dgvShop.Rows[iGrid].Cells["ColumnShopStatus"].Value = shop.LoginStatus == "未登录" ? "未登录 点击登录" : shop.LoginStatus; // 登录状态
- dicRowColor[dgvShop.Rows[iGrid]] = dgvShop.Rows[iGrid].DefaultCellStyle.BackColor;
-
- if (shop.Chat == null)
- {
- LocationXY += 5;
- shop.X = LocationXY % LocationSize;
- shop.Y = LocationXY / LocationSize;
- RequestContextSettings requestContextSettings = new RequestContextSettings();
- requestContextSettings.PersistSessionCookies = false;
- requestContextSettings.PersistUserPreferences = false;
- try
- {
- var cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser("about:blank", false);
- //new ChromiumWebBrowser("https://im.jinritemai.com/pc_seller/main/chat?selfId=4292110529608375");
-
- CustomResourceRequestHandler resourceRequestHandler = new CustomResourceRequestHandler();
- resourceRequestHandler.ResourceLoadCompleteEvent += RequestHandler_ResourceLoadComplete;
- cefWebBrowser.RequestHandler = new CustomRequestHandler(resourceRequestHandler);
- cefWebBrowser.KeyboardHandler = new KeyboardHandler();
-
- var lifeHandler = new LifeSpanHandlerLocal(PopWindowType.NewTitleWindow);
- lifeHandler.OnPop += LifeHandler_OnPop;
- lifeHandler.parent = cefWebBrowser;
- cefWebBrowser.LifeSpanHandler = lifeHandler;
-
- cefWebBrowser.RequestContext = new RequestContext(requestContextSettings);
- cefWebBrowser.Dock = DockStyle.Fill; //DockStyle.None;
- cefWebBrowser.Location = new Point(shop.X, shop.Y);
- shop.Chat = cefWebBrowser;
- panel1.Controls.Add(shop.Chat);
-
- if (i == 0)
- currentShop = shop;
-
- Task.Run(() =>
- {
- ShowChat(shop);
- });
- }
- catch (Exception ex)
- {
- return;
- }
- }
- }));
- }
- }
-
- private void MainLifeHandler_OnPop(object sender, PopData e)
- {
- var targetUrl = e.Url;
- var lifeHandler = sender as LifeSpanHandlerLocal;
-
- Task.Run(() =>
- {
- if (lifeHandler.parent != null)
- {
- var cookies = CEFBrowser.GetCookieList("", lifeHandler.parent.RequestContext.GetCookieManager(null));
- Invoke(new Action(() =>
- {
- CefForm cefForm = new CefForm(targetUrl, cookies);
- cefForm.Show();
- }));
- }
- });
- }
-
- private void LifeHandler_OnPop(object sender, PopData e)
- {
- var targetUrl = e.Url;
- var lifeHandler = sender as LifeSpanHandlerLocal;
-
- Task.Run(() =>
- {
- if (e.Url.StartsWith("https://haohuo.jinritemai.com/views/product/item"))
- {
- var productId = BaseRegex.GetMatchRegexString(ref targetUrl, "&id=(\\d{5,30})");
- if (!string.IsNullOrEmpty(productId))
- {
- long product_id = productId.ParseToLong();
- 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]+)");
- if (htmlx.StartsWith("tb"))
- targetUrl = "https://item.taobao.com/item.htm?id=" + id;
- if (htmlx.StartsWith("pd"))
- targetUrl = "https://mobile.yangkeduo.com/goods.html?goods_id=" + id;
- if (htmlx.StartsWith("al"))
- targetUrl = "https://detail.1688.com/offer/" + id + ".html";
- if (htmlx.StartsWith("dy"))
- targetUrl = "https://weidian.com/item.html?itemID=" + id;
- }
- }
- }
- if (lifeHandler.parent != null)
- {
- var cookies = CEFBrowser.GetCookieList("", lifeHandler.parent.RequestContext.GetCookieManager(null));
- Invoke(new Action(() =>
- {
- CefForm cefForm = new CefForm(targetUrl, cookies);
- cefForm.Show();
- }));
- }
- });
- }
-
- public Dictionary ShopChatCount = new Dictionary();
-
- ///
- /// 获取店铺是否有信息
- ///
- ///
- ///
- private void button4_Click(object sender, EventArgs e)
- {
- //string url = " https://fxg.jinritemai.com/byteshop/broadcast/getIMUnReplyCustomerNum?appid=1&__token=cbaf9d55f488de9de759c2e9de4f9152&_lid=246050185023&_signature=_02B4Z6wo00901prG3SwAAIDBKjcx559pBB6awtmAAMZ2InLzVWKpqWJnptmwhx6Axo5nVtr92zD-a2wI1GAiNviGKrpRnJTAL.hhmniDgXMMnFfzXb7nVj4tluChrVjjRQtlDCcwZSSPWy.13f";
- //string refere = "https://fxg.jinritemai.com/ffa/mshop/homepage/index";
- //string cookies = "ttcid=e377739c28ce4d18874fa6254b5aae0725; d_ticket=fd4f4a000273570e1b0a578f3c4b63e9c94fb; n_mh=7LrrRmeUceh3vjPZWa4C3h7B_APxodsUr7zuYy75V90; passport_csrf_token_default=b4ef061103fdd818fe8746ec1fae1aef; passport_csrf_token=b4ef061103fdd818fe8746ec1fae1aef; gfpart_1.0.0.94_74391=1; gfpart_1.0.0.695_75006=0; SHOP_ID=9050819; PIGEON_CID=4292110529608375; uidpasaddaehruigqreajf=0; s_v_web_id=verify_kqc1ijuf_5YXfMRjv_Moz5_4gr6_8XNu_0p8ukrjQchfx; ttwid=1%7CQ2FXDv1XIHPVZa_hjjk6pZMPJKpmh59Y9QK9SmHGygE%7C1624866462%7Cba22e39f1164af8fa41006ee4c3be28cc85a33c88bb6c8ac62c67dc10e947420; sso_uid_tt=c365c31887ab82602bc259ea1b07a262; sso_uid_tt_ss=c365c31887ab82602bc259ea1b07a262; toutiao_sso_user=ebe18833115e031bff671e946179e29a; toutiao_sso_user_ss=ebe18833115e031bff671e946179e29a; odin_tt=d28cc07aacedc7065370ef3130a156b0307970e1a25f4cc0771804fad95158f8062f22e2e561a5be77c3ac019926791629bec184551ea5e752dc57925bf8c65a; gfpart_1.0.0.4760_75570=1; ucas_sso_c0_ss=CkEKBTEuMC4wEJ6Ig6Db5d_sYBjmJiC9k9DP4oyUBCiwITC39dDb7fTPB0C1_uWGBki1sqKJBlCOvKLE77ansWBYbhIUidlOg6VtyUt7SIO_Fb0g2QfJAPc; ucas_sso_c0=CkEKBTEuMC4wEJ6Ig6Db5d_sYBjmJiC9k9DP4oyUBCiwITC39dDb7fTPB0C1_uWGBki1sqKJBlCOvKLE77ansWBYbhIUidlOg6VtyUt7SIO_Fb0g2QfJAPc; ucas_c0_ss=CkEKBTEuMC4wEI6Ij_7O5d_sYBjmJiC9k9DP4oyUBCiwITC39dDb7fTPB0C1_uWGBki1sqKJBlCOvKLE77ansWBYbhIU1pl84_FKJDuhWOeYpRoGfYdTYro; sid_guard=6b626ebb4c35cfa047b5336166d9f38f%7C1624866613%7C5184000%7CFri%2C+27-Aug-2021+07%3A50%3A13+GMT; uid_tt=124a8219f77a85f9a7440449283ba2af; uid_tt_ss=124a8219f77a85f9a7440449283ba2af; sid_tt=6b626ebb4c35cfa047b5336166d9f38f; sessionid=6b626ebb4c35cfa047b5336166d9f38f; sessionid_ss=6b626ebb4c35cfa047b5336166d9f38f; ucas_c0=CkEKBTEuMC4wEI6Ij_7O5d_sYBjmJiC9k9DP4oyUBCiwITC39dDb7fTPB0C1_uWGBki1sqKJBlCOvKLE77ansWBYbhIU1pl84_FKJDuhWOeYpRoGfYdTYro; PHPSESSID=867244d48bdc5b1e00fcfbfb70b0c755; PHPSESSID_SS=867244d48bdc5b1e00fcfbfb70b0c755; need_choose_shop=0; login_info=%7B%22for_im_reply%22%3A%22867244d48bdc5b1e00fcfbfb70b0c755%22%7D; gftoken=NmI2MjZlYmI0Y3wxNjI0ODY2NjI3NDB8fDAGBgYGBgY; source=seo.baidu; Hm_lvt_b6520b076191ab4b36812da4c90f7a5e=1624517617,1624600241,1624866399,1625023259; Hm_lpvt_b6520b076191ab4b36812da4c90f7a5e=1625023261; tt_scid=IxysFV-v2TAGPLjDxdlg8h-dhjnwZ9NA7Cqz2oaUqu4irVH4n1Yiz3Hu72AeZh4F8425; MONITOR_WEB_ID=4292110529608375";
- //string html = GetPostTaobaoHtml.UploadTaobao(url, refere, true, cookies);
- //int count = BaseRegex.GetIntJson(ref html, "un_replay_customer_num");
- //string shopId = "111111";
- //int oldCount = 0;
- //if (ShopChatCount.ContainsKey(shopId))
- //{
- // oldCount = ShopChatCount[shopId];
- //}
- //if (oldCount == count)
- // return;//countinue;
- //ShopChatCount[shopId] = count;
- //if (count > 0)
- //{
- // var shop = GlobalConfig.DouShopLoginList.Where(s => s.ShopId == shopId).FirstOrDefault();
- // SearchNewMessageNofity(shop);
- //}
- }
-
- private void min_Click(object sender, EventArgs e)
- {
- WindowState = FormWindowState.Minimized;
- ShowInTaskbar = true;
- }
-
- private void max_Click(object sender, EventArgs e)
- {
- if (WindowState.Equals(FormWindowState.Normal))
- {
- WindowState = FormWindowState.Maximized;
- max.Style.BackgroundImage = Properties.Resources.normal;
- max.StyleMouseOver.BackgroundImage = Properties.Resources.normal_hover;
- }
- else if (WindowState.Equals(FormWindowState.Maximized))
- {
- WindowState = FormWindowState.Normal;
- max.Style.BackgroundImage = Properties.Resources.max;
- max.StyleMouseOver.BackgroundImage = Properties.Resources.max_hover;
- }
- }
-
- private void close_Click(object sender, EventArgs e)
- {
- if (BaseMsgForm.ShowConfirm("是否关闭客户端?", "系统提示", FormLevel.SMALL).DialogResult.Equals(DialogResult.Cancel))
- return;
- this.Close();
- }
-
- private void panel2_DoubleClick(object sender, EventArgs e)
- {
- if (WindowState.Equals(FormWindowState.Normal))
- {
- WindowState = FormWindowState.Maximized;
- return;
- }
- if (WindowState.Equals(FormWindowState.Maximized))
- {
- WindowState = FormWindowState.Normal;
- }
- }
-
- public void InitAutoExecute()
- {
- Task.Run(() =>
- {
- while (true)
- {
- foreach (var shop in GlobalConfig.ShopLoginList)
- {
- try
- {
- Thread.Sleep(new Random(DateTime.Now.Millisecond).Next(300, 500));
- bool needReLogin = AutoCheckShopLoginStatus(shop);
- if (ChatConfig.ChatSettingConfig.IsAutoReLogin && needReLogin)
- AutoReLogin(shop);
-
- if (shop.LoginStatus != "登录成功")
- continue;
-
- Thread.Sleep(new Random(DateTime.Now.Millisecond).Next(300, 500));
- AutoReConnect(shop);
-
- Thread.Sleep(new Random(DateTime.Now.Millisecond).Next(300, 500));
- AutoCloseMaskWindow(shop);
-
-
- Thread.Sleep(new Random(DateTime.Now.Millisecond).Next(300, 500));
- var isNewMessage = AutoGetNewMessage(shop);
- while (isNewMessage && ChatConfig.ChatSettingConfig.IsAutoReply)
- {
- AutoReplyWithJs(shop);
- Thread.Sleep(new Random(DateTime.Now.Millisecond).Next(300, 500));
- isNewMessage = AutoGetNewMessage(shop);
- }
- }
- catch (Exception ex)
- {
- }
- }
- }
- });
-
- Task.Run(() =>
- {
- var sleepTime = 1000;
- while (true)
- {
- Thread.Sleep(sleepTime);
- var jsStr = "function getVideo() {\r\n" +
- " var videos = document.getElementsByTagName('video')\r\n" +
- " if (videos && videos.length > 0) {\r\n" +
- " var src = videos[0].src;\r\n" +
- " videos[0].parentElement.parentElement.click();\r\n" +
- " return src;\r\n" +
- " //return '';\r\n" +
- " }\r\n" +
- " return '';\r\n" +
- "}" +
- "getVideo();\r\n";
- if (currentShop?.Chat != null && currentShop.Chat.IsBrowserInitialized)
- {
- var t = currentShop.Chat.GetMainFrame().EvaluateScriptAsync(jsStr);
- t.Wait();
- if (!string.IsNullOrEmpty(t.Result?.Result?.ToString()))
- {
- Invoke(new Action(() =>
- {
- AllBase.GetHtml.OpenUrl(t.Result.Result.ToString());
- }));
- }
- }
- }
- });
-
- Task.Run(() =>
- {
- var sleepTime = 2500;
- while (true)
- {
- try
- {
- Thread.Sleep(sleepTime);
- var jsStr1 = "function ClosePopWindow() {\r\n" +
- " var result = 'no_pop'\r\n" +
- " var item = document.getElementsByClassName('anticon-close-circle');\r\n" +
- " for(i = 0; i < item.length; i++) {\r\n" +
- " item[i].click();\r\n" +
- " result = 'success'\r\n" +
- " }\r\n" +
- " return result;\r\n" +
- "}\r\n" +
- "ClosePopWindow();\r\n";
- var jsStr2 = "function clickPopWindow() {\r\n"
- + "var child = document.body.firstElementChild;\r\n"
- + "var element1 = null;\r\n"
- + " while (child) {\r\n"
- + " if (child.innerHTML.indexOf('知道了') >= 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"
- + " element1.click(); return 'success';\r\n"
- + " } else return 'no_pop';\r\n"
- + "}\r\n"
- + "clickPopWindow();\r\n";
- if (mainWebBrowser.IsBrowserInitialized)
- {
- var t1 = mainWebBrowser.GetMainFrame().EvaluateScriptAsync(jsStr1);
- t1.Wait();
- var t2 = mainWebBrowser.GetMainFrame().EvaluateScriptAsync(jsStr2);
- t2.Wait();
- if (t1.Result?.Result?.ToString() == "success" || t2.Result?.Result?.ToString() == "success")
- sleepTime = Randomx.GetId(550, 650);
- else
- sleepTime = Randomx.GetId(2500, 3000);
- }
- }
- catch (Exception ex) { }
- }
- });
- }
-
- private void chkIsAutoReLogin_CheckedChanged(object sender, EventArgs e)
- {
- ChatConfig.ChatSettingConfig.IsAutoReLogin = chkIsAutoReLogin.Checked;
- ChatConfig.SaveChatSettingParam();
-
- GlobalConfig.DouShopSettingParam.IsAutoDragLogin = chkIsAutoReLogin.Checked;
- }
-
- private void chkIsAutoReply_CheckedChanged(object sender, EventArgs e)
- {
- ChatConfig.ChatSettingConfig.IsAutoReply = chkIsAutoReply.Checked;
- ChatConfig.SaveChatSettingParam();
- }
-
- private void txtAutoReplyText_TextChanged(object sender, EventArgs e)
- {
- ChatConfig.ChatSettingConfig.AutoReplayText = txtAutoReplyText.Text;
- ChatConfig.SaveChatSettingParam();
- }
- private void cmbMessage_SelectedIndexChanged(object sender, EventArgs e)
- {
- ChatConfig.ChatSettingConfig.MessageSound = this.cmbMessage.SelectedItem.ToString();
- ChatConfig.SaveChatSettingParam();
- }
-
- private void panel2_MouseDown(object sender, MouseEventArgs e)
- {
- if (e.Button == MouseButtons.Left)
- {
- mouseOffset = new Point(-e.X, -e.Y);
- isMouseDown = true;
- }
- }
-
- private void panel2_MouseMove(object sender, MouseEventArgs e)
- {
- if (isMouseDown)
- {
- var control = sender as Control;
- if (control == null)
- return;
-
- //获取鼠标的位置
- Point mousePos = MousePosition;
- var x = mouseOffset.X;
- var y = mouseOffset.Y;
- while (control.Parent != null && control.Parent != this)
- {
- x -= control.Location.X;
- y -= control.Location.Y;
- control = control.Parent;
- }
- mousePos.Offset(x, y);
- Location = mousePos;
- }
- }
-
- private void panel2_MouseUp(object sender, MouseEventArgs e)
- {
- isMouseDown = false;
- }
-
- ///
- /// 自动关闭遮罩层
- ///
- ///
- public void AutoCloseMaskWindow(ShopLoginInfo shop)
- {
- if (shop?.Chat != null)
- {
- var browser = shop.Chat;
- var jsStr = "function clickMaskWindow() {\r\n" +
- " var masks = document.getElementsByClassName('ant-modal-wrap');\r\n" +
- " for (i = 0; i < masks.length; i++) {\r\n" +
- " masks[i].click();\r\n" +
- " }\r\n" +
- "}\r\n" +
- "clickMaskWindow();\r\n";
- var t = browser.GetMainFrame().EvaluateScriptAsync(jsStr);
- t.Wait();
- }
- }
-
- ///
- /// 自动重连
- ///
- ///
- public void AutoReConnect(ShopLoginInfo shop)
- {
- if (shop?.Chat != null)
- {
- var browser = shop.Chat;
- var jsStr = "function reConnect() {\r\n"
- + "var child = document.body.firstElementChild;\r\n"
- + "var element1 = null;\r\n"
- + " while (child) {\r\n"
- + " if (child.innerHTML.indexOf('重新连接') >= 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"
- + " element1.click(); return 'success';\r\n"
- + " } else return 'failed'\r\n"
- + "}\r\n"
- + "reConnect();\r\n";
- var t = browser.GetMainFrame().EvaluateScriptAsync(jsStr);
- t.Wait();
- }
- }
-
- ///
- /// 自动回复
- ///
- ///
- public void AutoReplyWithJs(ShopLoginInfo shop)
- {
-#if DEBUG
- //if (shop.ShopId != "9050819") // 测试模式只回复开箱小店
- // return;
-#endif
- if (shop?.Chat == null)
- return;
-
- var webBrowser = shop.Chat;
- var host = webBrowser.GetBrowser().GetHost();
-
- // 获取回复框坐标
- int x = 0, y = 0;
- string code = "function getPos() { var box = document.getElementsByTagName('textarea');" +
- "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(code);
- 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]);
- }
- Thread.Sleep(new Random(DateTime.Now.Millisecond).Next(500, 1000));
-
- // 输入自动回复内容
- string content = ChatConfig.ChatSettingConfig.AutoReplayText;
- var jsStr = "var txt1 = document.getElementsByTagName('textarea')[0]; txt1.focus(); txt1.click(); txt1.value='" + content + " '";
- var response = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- response.Wait(2000);
-
- // 模拟输入退格键
- host.SendKeyEvent(new CefSharp.KeyEvent() { WindowsKeyCode = 8, Type = KeyEventType.RawKeyDown, Modifiers = CefEventFlags.None });
- Thread.Sleep(250 + new Random(DateTime.Now.Millisecond).Next(250));
-
- jsStr = "function getTextAreaText() { var txtArea = document.getElementsByTagName('textarea')[0]; if (txtArea) return txtArea.value; return ''; } getTextAreaText();";
- var response1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- response1.Wait(2000);
-
- if (response1.Result?.Result?.ToString() != content && response1.Result?.Result?.ToString() != content + " ")
- {
- LogSave.Add("自动回复失败,尝试使用剪贴板自动回复功能。-----" + response1.Result?.Result?.ToString());
- int x1 = x + new Random(DateTime.Now.Millisecond).Next(5, 75);
- int y1 = y + new Random(DateTime.Now.Millisecond).Next(5, 25);
- 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("" + content); // 获取自动回复文字
- }));
-
- // 黏贴 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));
- }
- // 回车回复
- host.SendKeyEvent(new CefSharp.KeyEvent() { WindowsKeyCode = 13, Type = KeyEventType.RawKeyDown, Modifiers = CefEventFlags.None });
- Thread.Sleep(250 + new Random(DateTime.Now.Millisecond).Next(250));
- }
- }
-
- ///
- /// 判断是否有新留言
- ///
- ///
- ///
- public bool AutoGetNewMessage(ShopLoginInfo shop)
- {
- bool isNewMessage = false;
- if (shop?.Chat != null)
- {
- var browser = shop.Chat;
- var jsStr = "";
- jsStr += "function clickCurrentMessage() {\r\n";
- jsStr += " var child = document.body.firstElementChild;\r\n";
- jsStr += " var element1 = null;\r\n";
- jsStr += " while (child) {\r\n";
- jsStr += " var bodyHtml = child.innerHTML;\r\n";
- jsStr += " if (bodyHtml.indexOf('messageList') >= 0)\r\n";
- jsStr += " bodyHtml = bodyHtml.substring(0, bodyHtml.indexOf('messageList'));\r\n";
- jsStr += " if (bodyHtml.indexOf('接待人数') >= 0)\r\n";
- jsStr += " bodyHtml = bodyHtml.substring(0, bodyHtml.indexOf('接待人数'));\r\n";
- jsStr += " if (bodyHtml.indexOf('<30秒<') >= 0 || bodyHtml.indexOf('>30秒<') >= 0 || bodyHtml.indexOf('分30秒<') >= 0 " +
- "|| bodyHtml.indexOf('>1分钟<') >= 0 || bodyHtml.indexOf('>2分钟<') >= 0 || bodyHtml.indexOf('>3分钟<') >= 0 " +
- "|| bodyHtml.indexOf('>4分钟<') >= 0 || bodyHtml.indexOf('>5分钟<') >= 0 || bodyHtml.indexOf('>6分钟<') >= 0 " +
- "|| bodyHtml.indexOf('>7分钟<') >= 0 || bodyHtml.indexOf('>8分钟<') >= 0 || bodyHtml.indexOf('>9分钟<') >= 0 " +
- "|| bodyHtml.indexOf('>10分钟<') >= 0) {\r\n";
- jsStr += " element1 = child;\r\n";
- jsStr += " if (child.firstElementChild) {\r\n";
- jsStr += " child = child.firstElementChild; continue;\r\n";
- jsStr += " } else break;\r\n";
- jsStr += " }\r\n";
- jsStr += " child = child.nextElementSibling;\r\n";
- jsStr += " }\r\n";
- jsStr += " if (element1) {\r\n";
- if (ChatConfig.ChatSettingConfig.IsAutoReply) // 如果是自动回复,点击一下稍后要回复的用户名。
- jsStr += " element1.click(); ";
- jsStr += " return 'success';\r\n";
- jsStr += " } else {";
- jsStr += " return 'no_message';";
- jsStr += " }\r\n";
- jsStr += "}\r\n";
- jsStr += "clickCurrentMessage();\r\n";
-
- var t = browser.GetMainFrame().EvaluateScriptAsync(jsStr);
- t.Wait();
- if (t.Result?.Result?.ToString().StartsWith("success") == true)
- isNewMessage = true;
-
- //jsStr = "";
- //jsStr += "var result='';\r\n";
- //jsStr += "var nodes=[];\r\n";
- //jsStr += "nodes.push(document.body);\r\n";
- //jsStr += "function getItems() {\r\n";
- //jsStr += " for (i = 0; i < nodes.length; i++) {\r\n";
- //jsStr += " var node1 = nodes[i];\r\n";
- //jsStr += " if ((node1.nodeType != 3) && (node1.nodeName != 'SCRIPT') &&\r\n";
- //jsStr += " ((node1.innerHTML + '<').indexOf('30秒<') >= 0 || (node1.innerHTML + '<').indexOf('分钟<') >= 0 || (node1.innerHTML + '<').indexOf('小时<') >= 0)) {\r\n";
- //jsStr += " if (!node1.firstElementChild || node1.endWith) { result += node1.parentElement.parentElement.innerHTML + '-----'; }\r\n";
- //jsStr += " else { for (j = 0; j < node1.childNodes.length; j++) nodes.push(node1.childNodes[j]); }\r\n";
- //jsStr += " }\r\n";
- //jsStr += " }\r\n";
- //jsStr += " return result;\r\n";
- //jsStr += "}\r\n";
- //jsStr += "getItems();\r\n";
- }
-
- if (isNewMessage)
- {
- ShopChatCount[shop.ShopId] = 1;
- SearchNewMessageNofity(shop);
- if (!ChatConfig.ChatSettingConfig.IsNotShowMessageWindow)
- ShowMessageForm(shop);
- ShowFlash();
- playSound();
- }
- else
- {
- ShopChatCount[shop.ShopId] = 0;
- SearchNewMessageNofity(shop);
- CloseMessageForm(shop);
- }
-
- return isNewMessage;
- }
-
- ///
- /// 显示右下角消息弹框
- ///
- ///
- private void ShowMessageForm(ShopLoginInfo shop)
- {
- if (!lstChatMessageForm.Any(f => f.shop == shop))
- {
- Invoke(new Action(() =>
- {
- ChatMessageForm cmf = new ChatMessageForm(shop, this);
- cmf.Dragable = false;
- cmf.ShowMinimizedBox = false;
- lstChatMessageForm.Add(cmf);
- Point p = new Point(Screen.PrimaryScreen.WorkingArea.Width - cmf.Width, Screen.PrimaryScreen.WorkingArea.Height);
- cmf.PointToScreen(p);
- cmf.Location = p;
- cmf.Show();
- }));
- }
- }
-
- private void CloseMessageForm(ShopLoginInfo shop)
- {
- var form = lstChatMessageForm.FirstOrDefault(f => f.shop == shop);
- if (form != null)
- {
- Invoke(new Action(() =>
- {
- lstChatMessageForm.Remove(form);
- form.Close();
- this.TopMost = false;
- }));
- }
- }
-
- ///
- /// 任务栏闪烁
- ///
- public void ShowFlash()
- {
- Task.Run(() =>
- {
- for (int i = 0; i < 5; i++)
- {
- Invoke(new Action(() =>
- {
- FlashWindow(Handle, true);
- }));
- Thread.Sleep(1100);
- }
- });
- }
-
- ///
- /// 任务栏闪烁
- ///
- ///
- ///
- ///
- [DllImport("user32.dll")]
- public static extern bool FlashWindow(
- IntPtr hWnd, // handle to window
- bool bInver // flash status
- );
-
- private void button1_Click(object sender, EventArgs e)
- {
- var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == "9050819");
- Task.Run(() => { AutoReplyWithJs(shop); });
- }
-
- private void pnlSet_Click(object sender, EventArgs e)
- {
-
- }
-
- private void button2_Click(object sender, EventArgs e)
- {
- if (mainWebBrowser != null)
- {
- AllBase.GetHtml.OpenUrl(textBox1.Text);
- }
- }
-
- [DllImport("winmm.dll")]
- public static extern uint mciSendString(string lpstrCommand, string lpstrReturnString, uint uReturnLength, uint hWndCallback);
- ///
- /// 播放提示音
- ///
- public void playSound()
- {
- string musicname = "默认提示音";
- if (!string.IsNullOrEmpty(ChatConfig.ChatSettingConfig.MessageSound))
- musicname = ChatConfig.ChatSettingConfig.MessageSound;
- if (musicname == "无")
- return;
- if (musicname == "默认提示音")
- musicname = "9527.wav";
- else
- musicname = musicname + ".mp3";
-
- if (musicname.Contains("wav"))
- {
- try
- {
- SoundPlayer sound = new SoundPlayer("temp/" + musicname);
- sound.Play();
- }
- catch
- {
-
- }
- }
- if (musicname.Contains("mp3"))
- {
- try
- {
- mciSendString(@"close ""temp/" + musicname + @"""", null, 0, 0);
- mciSendString(@"open ""temp/" + musicname + @"""", null, 0, 0);
- mciSendString(@"play ""temp/" + musicname + @"""", null, 0, 0);
- }
- catch
- { }
- }
- }
-
- private void pnlRefresh_Click(object sender, EventArgs e)
- {
- LoadShop();
- }
-
- private void chkNotShowMessageWindow_CheckedChanged(object sender, EventArgs e)
- {
- ChatConfig.ChatSettingConfig.IsNotShowMessageWindow = chkNotShowMessageWindow.Checked;
- ChatConfig.SaveChatSettingParam();
- }
- }
-}
diff --git a/TEMUKJD/ChatForms/ChatForm.designer.cs b/TEMUKJD/ChatForms/ChatForm.designer.cs
deleted file mode 100644
index 1e8122e..0000000
--- a/TEMUKJD/ChatForms/ChatForm.designer.cs
+++ /dev/null
@@ -1,686 +0,0 @@
-namespace TemuKJD.ChatForms
-{
- partial class ChatForm
- {
- ///
- /// 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.splitContainer1 = new System.Windows.Forms.SplitContainer();
- this.splitContainer2 = new System.Windows.Forms.SplitContainer();
- this.chkNotShowMessageWindow = new System.Windows.Forms.CheckBox();
- this.cmbMessage = new System.Windows.Forms.ComboBox();
- this.label1 = new System.Windows.Forms.Label();
- this.pnlSet = new DevComponents.DotNetBar.PanelEx();
- this.line4 = new DevComponents.DotNetBar.Controls.Line();
- this.chkIsAutoReLogin = new System.Windows.Forms.CheckBox();
- this.txtAutoReplyText = new System.Windows.Forms.TextBox();
- this.chkIsAutoReply = new System.Windows.Forms.CheckBox();
- this.splitContainer4 = new System.Windows.Forms.SplitContainer();
- this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
- this.ColumnShopID = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.ColumnShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.ColumnShopStatus = new System.Windows.Forms.DataGridViewLinkColumn();
- this.pnlRefresh = new DevComponents.DotNetBar.PanelEx();
- this.tabControl1 = new TemuKJD.UserComponent.UcTabControl();
- this.tabPage1 = new System.Windows.Forms.TabPage();
- this.panel1 = new System.Windows.Forms.Panel();
- this.tabPage2 = new System.Windows.Forms.TabPage();
- this.mainPanel = new System.Windows.Forms.Panel();
- this.splitContainer3 = new System.Windows.Forms.SplitContainer();
- this.panel2 = new System.Windows.Forms.Panel();
- this.pbLogo = new System.Windows.Forms.PictureBox();
- this.textBox1 = new System.Windows.Forms.TextBox();
- this.button2 = new System.Windows.Forms.Button();
- this.button1 = new System.Windows.Forms.Button();
- this.lblVersionName = new DevComponents.DotNetBar.LabelX();
- this.lblVersionInfo = new DevComponents.DotNetBar.LabelX();
- this.max = new DevComponents.DotNetBar.PanelEx();
- this.min = new DevComponents.DotNetBar.PanelEx();
- this.close = new DevComponents.DotNetBar.PanelEx();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
- this.splitContainer1.Panel1.SuspendLayout();
- this.splitContainer1.Panel2.SuspendLayout();
- this.splitContainer1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
- this.splitContainer2.Panel1.SuspendLayout();
- this.splitContainer2.Panel2.SuspendLayout();
- this.splitContainer2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
- this.splitContainer4.Panel1.SuspendLayout();
- this.splitContainer4.Panel2.SuspendLayout();
- this.splitContainer4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
- this.tabControl1.SuspendLayout();
- this.tabPage1.SuspendLayout();
- this.tabPage2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
- this.splitContainer3.Panel1.SuspendLayout();
- this.splitContainer3.Panel2.SuspendLayout();
- this.splitContainer3.SuspendLayout();
- this.panel2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pbLogo)).BeginInit();
- 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.Controls.Add(this.splitContainer2);
- //
- // splitContainer1.Panel2
- //
- this.splitContainer1.Panel2.Controls.Add(this.tabControl1);
- this.splitContainer1.Size = new System.Drawing.Size(1496, 683);
- this.splitContainer1.SplitterDistance = 270;
- this.splitContainer1.SplitterWidth = 1;
- this.splitContainer1.TabIndex = 0;
- //
- // 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";
- this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
- //
- // splitContainer2.Panel1
- //
- this.splitContainer2.Panel1.Controls.Add(this.chkNotShowMessageWindow);
- this.splitContainer2.Panel1.Controls.Add(this.cmbMessage);
- this.splitContainer2.Panel1.Controls.Add(this.label1);
- this.splitContainer2.Panel1.Controls.Add(this.pnlSet);
- this.splitContainer2.Panel1.Controls.Add(this.line4);
- this.splitContainer2.Panel1.Controls.Add(this.chkIsAutoReLogin);
- this.splitContainer2.Panel1.Controls.Add(this.txtAutoReplyText);
- this.splitContainer2.Panel1.Controls.Add(this.chkIsAutoReply);
- //
- // splitContainer2.Panel2
- //
- this.splitContainer2.Panel2.Controls.Add(this.splitContainer4);
- this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(4, 0, 0, 4);
- this.splitContainer2.Size = new System.Drawing.Size(270, 683);
- this.splitContainer2.SplitterDistance = 136;
- this.splitContainer2.TabIndex = 0;
- //
- // chkNotShowMessageWindow
- //
- this.chkNotShowMessageWindow.AutoSize = true;
- this.chkNotShowMessageWindow.Location = new System.Drawing.Point(4, 33);
- this.chkNotShowMessageWindow.Name = "chkNotShowMessageWindow";
- this.chkNotShowMessageWindow.Size = new System.Drawing.Size(123, 21);
- this.chkNotShowMessageWindow.TabIndex = 201;
- this.chkNotShowMessageWindow.Text = "新消息不弹框提示";
- this.chkNotShowMessageWindow.UseVisualStyleBackColor = true;
- this.chkNotShowMessageWindow.CheckedChanged += new System.EventHandler(this.chkNotShowMessageWindow_CheckedChanged);
- //
- // cmbMessage
- //
- this.cmbMessage.BackColor = System.Drawing.Color.White;
- this.cmbMessage.Font = new System.Drawing.Font("新宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.cmbMessage.FormattingEnabled = true;
- this.cmbMessage.ItemHeight = 12;
- this.cmbMessage.Items.AddRange(new object[] {
- "默认提示音",
- "1号电脑",
- "2号电脑",
- "3号电脑",
- "4号电脑",
- "5号电脑",
- "6号电脑",
- "7号电脑",
- "8号电脑",
- "9号电脑",
- "10号电脑",
- "11号电脑",
- "12号电脑",
- "13号电脑",
- "14号电脑",
- "15号电脑",
- "16号电脑",
- "17号电脑",
- "18号电脑",
- "19号电脑",
- "20号电脑",
- "无"});
- this.cmbMessage.Location = new System.Drawing.Point(180, 4);
- this.cmbMessage.Name = "cmbMessage";
- this.cmbMessage.Size = new System.Drawing.Size(90, 20);
- this.cmbMessage.TabIndex = 193;
- this.cmbMessage.SelectedIndexChanged += new System.EventHandler(this.cmbMessage_SelectedIndexChanged);
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(118, 6);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(68, 17);
- this.label1.TabIndex = 197;
- this.label1.Text = "消息提示:";
- //
- // pnlSet
- //
- this.pnlSet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.pnlSet.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.pnlSet.Cursor = System.Windows.Forms.Cursors.Hand;
- this.pnlSet.DisabledBackColor = System.Drawing.Color.Empty;
- this.pnlSet.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.pnlSet.Location = new System.Drawing.Point(230, 56);
- this.pnlSet.Name = "pnlSet";
- this.pnlSet.Size = new System.Drawing.Size(40, 20);
- this.pnlSet.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.pnlSet.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.pnlSet.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.pnlSet.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.pnlSet.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
- this.pnlSet.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
- this.pnlSet.Style.ForeColor.Color = System.Drawing.Color.White;
- this.pnlSet.Style.GradientAngle = 90;
- this.pnlSet.TabIndex = 184;
- this.pnlSet.Text = "设 置";
- this.pnlSet.Visible = false;
- this.pnlSet.Click += new System.EventHandler(this.pnlSet_Click);
- //
- // line4
- //
- this.line4.ForeColor = System.Drawing.Color.Silver;
- this.line4.Location = new System.Drawing.Point(4, 24);
- this.line4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
- this.line4.Name = "line4";
- this.line4.Size = new System.Drawing.Size(266, 8);
- this.line4.TabIndex = 180;
- this.line4.Text = "line4";
- //
- // chkIsAutoReLogin
- //
- this.chkIsAutoReLogin.AutoSize = true;
- this.chkIsAutoReLogin.Location = new System.Drawing.Point(4, 5);
- this.chkIsAutoReLogin.Name = "chkIsAutoReLogin";
- this.chkIsAutoReLogin.Size = new System.Drawing.Size(99, 21);
- this.chkIsAutoReLogin.TabIndex = 2;
- this.chkIsAutoReLogin.Text = "掉线自动重登";
- this.chkIsAutoReLogin.UseVisualStyleBackColor = true;
- this.chkIsAutoReLogin.CheckedChanged += new System.EventHandler(this.chkIsAutoReLogin_CheckedChanged);
- //
- // txtAutoReplyText
- //
- this.txtAutoReplyText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.txtAutoReplyText.Location = new System.Drawing.Point(4, 78);
- this.txtAutoReplyText.Multiline = true;
- this.txtAutoReplyText.Name = "txtAutoReplyText";
- this.txtAutoReplyText.Size = new System.Drawing.Size(266, 58);
- this.txtAutoReplyText.TabIndex = 1;
- this.txtAutoReplyText.TextChanged += new System.EventHandler(this.txtAutoReplyText_TextChanged);
- //
- // chkIsAutoReply
- //
- this.chkIsAutoReply.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.chkIsAutoReply.AutoSize = true;
- this.chkIsAutoReply.Location = new System.Drawing.Point(4, 56);
- this.chkIsAutoReply.Name = "chkIsAutoReply";
- this.chkIsAutoReply.Size = new System.Drawing.Size(87, 21);
- this.chkIsAutoReply.TabIndex = 0;
- this.chkIsAutoReply.Text = "自动回复:";
- this.chkIsAutoReply.UseVisualStyleBackColor = true;
- this.chkIsAutoReply.CheckedChanged += new System.EventHandler(this.chkIsAutoReply_CheckedChanged);
- //
- // splitContainer4
- //
- this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
- this.splitContainer4.Location = new System.Drawing.Point(4, 0);
- this.splitContainer4.Name = "splitContainer4";
- this.splitContainer4.Orientation = System.Windows.Forms.Orientation.Horizontal;
- //
- // splitContainer4.Panel1
- //
- this.splitContainer4.Panel1.Controls.Add(this.dgvShop);
- //
- // splitContainer4.Panel2
- //
- this.splitContainer4.Panel2.Controls.Add(this.pnlRefresh);
- this.splitContainer4.Size = new System.Drawing.Size(266, 539);
- this.splitContainer4.SplitterDistance = 509;
- this.splitContainer4.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)))));
- this.dgvShop.BorderStyle = System.Windows.Forms.BorderStyle.None;
- this.dgvShop.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
- 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.ColumnShopID,
- this.ColumnShopName,
- this.ColumnShopStatus});
- this.dgvShop.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dgvShop.Location = new System.Drawing.Point(0, 0);
- this.dgvShop.MultiSelect = false;
- this.dgvShop.Name = "dgvShop";
- this.dgvShop.ReadOnly = true;
- this.dgvShop.RowHeadersWidth = 36;
- 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(266, 509);
- this.dgvShop.TabIndex = 6;
- this.dgvShop.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellClick);
- this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
- //
- // ColumnShopID
- //
- this.ColumnShopID.HeaderText = "店铺账号";
- this.ColumnShopID.Name = "ColumnShopID";
- this.ColumnShopID.ReadOnly = true;
- this.ColumnShopID.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.ColumnShopID.Width = 62;
- //
- // ColumnShopName
- //
- this.ColumnShopName.HeaderText = "店铺名称";
- this.ColumnShopName.Name = "ColumnShopName";
- this.ColumnShopName.ReadOnly = true;
- this.ColumnShopName.Width = 62;
- //
- // ColumnShopStatus
- //
- this.ColumnShopStatus.HeaderText = "登录状态";
- this.ColumnShopStatus.Name = "ColumnShopStatus";
- this.ColumnShopStatus.ReadOnly = true;
- this.ColumnShopStatus.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.ColumnShopStatus.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.ColumnShopStatus.Width = 106;
- //
- // pnlRefresh
- //
- this.pnlRefresh.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.pnlRefresh.Cursor = System.Windows.Forms.Cursors.Hand;
- this.pnlRefresh.DisabledBackColor = System.Drawing.Color.Empty;
- this.pnlRefresh.Dock = System.Windows.Forms.DockStyle.Fill;
- this.pnlRefresh.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.pnlRefresh.Location = new System.Drawing.Point(0, 0);
- this.pnlRefresh.Name = "pnlRefresh";
- this.pnlRefresh.Size = new System.Drawing.Size(266, 26);
- this.pnlRefresh.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.pnlRefresh.Style.BackColor1.Color = System.Drawing.Color.White;
- this.pnlRefresh.Style.BackColor2.Color = System.Drawing.Color.White;
- this.pnlRefresh.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.pnlRefresh.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.pnlRefresh.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.pnlRefresh.Style.GradientAngle = 90;
- this.pnlRefresh.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.pnlRefresh.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.pnlRefresh.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.pnlRefresh.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.pnlRefresh.TabIndex = 188;
- this.pnlRefresh.Text = "刷 新 店 铺";
- this.pnlRefresh.Click += new System.EventHandler(this.pnlRefresh_Click);
- //
- // tabControl1
- //
- this.tabControl1.BackgroundColor = System.Drawing.Color.White;
- this.tabControl1.Controls.Add(this.tabPage1);
- this.tabControl1.Controls.Add(this.tabPage2);
- this.tabControl1.Cursor = System.Windows.Forms.Cursors.Hand;
- this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.tabControl1.ItemSize = new System.Drawing.Size(72, 26);
- this.tabControl1.Location = new System.Drawing.Point(0, 0);
- this.tabControl1.Name = "tabControl1";
- this.tabControl1.SelectedIndex = 0;
- this.tabControl1.ShowCloseButton = false;
- this.tabControl1.Size = new System.Drawing.Size(1225, 683);
- this.tabControl1.TabIndex = 1;
- this.tabControl1.TabSelectColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.tabControl1.TabTextColor = System.Drawing.Color.DimGray;
- //
- // tabPage1
- //
- this.tabPage1.BackColor = System.Drawing.Color.White;
- this.tabPage1.Controls.Add(this.panel1);
- this.tabPage1.Location = new System.Drawing.Point(2, 30);
- this.tabPage1.Name = "tabPage1";
- this.tabPage1.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
- this.tabPage1.Size = new System.Drawing.Size(1219, 649);
- this.tabPage1.TabIndex = 0;
- this.tabPage1.Text = "客服窗口";
- //
- // panel1
- //
- this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.panel1.Location = new System.Drawing.Point(0, 2);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(1219, 647);
- this.panel1.TabIndex = 0;
- //
- // tabPage2
- //
- this.tabPage2.BackColor = System.Drawing.Color.White;
- this.tabPage2.Controls.Add(this.mainPanel);
- this.tabPage2.Location = new System.Drawing.Point(2, 30);
- this.tabPage2.Name = "tabPage2";
- this.tabPage2.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
- this.tabPage2.Size = new System.Drawing.Size(1219, 649);
- this.tabPage2.TabIndex = 1;
- this.tabPage2.Text = "店铺后台";
- //
- // mainPanel
- //
- this.mainPanel.Dock = System.Windows.Forms.DockStyle.Fill;
- this.mainPanel.Location = new System.Drawing.Point(0, 2);
- this.mainPanel.Name = "mainPanel";
- this.mainPanel.Size = new System.Drawing.Size(1219, 647);
- this.mainPanel.TabIndex = 0;
- //
- // splitContainer3
- //
- this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
- this.splitContainer3.Location = new System.Drawing.Point(2, 2);
- this.splitContainer3.Name = "splitContainer3";
- this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
- //
- // splitContainer3.Panel1
- //
- this.splitContainer3.Panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.splitContainer3.Panel1.Controls.Add(this.panel2);
- //
- // splitContainer3.Panel2
- //
- this.splitContainer3.Panel2.Controls.Add(this.splitContainer1);
- this.splitContainer3.Size = new System.Drawing.Size(1496, 764);
- this.splitContainer3.SplitterDistance = 77;
- this.splitContainer3.TabIndex = 1;
- //
- // panel2
- //
- this.panel2.Controls.Add(this.pbLogo);
- this.panel2.Controls.Add(this.textBox1);
- this.panel2.Controls.Add(this.button2);
- this.panel2.Controls.Add(this.button1);
- this.panel2.Controls.Add(this.lblVersionName);
- this.panel2.Controls.Add(this.lblVersionInfo);
- this.panel2.Controls.Add(this.max);
- this.panel2.Controls.Add(this.min);
- this.panel2.Controls.Add(this.close);
- this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.panel2.Location = new System.Drawing.Point(0, 0);
- this.panel2.Name = "panel2";
- this.panel2.Size = new System.Drawing.Size(1496, 77);
- this.panel2.TabIndex = 51;
- this.panel2.DoubleClick += new System.EventHandler(this.panel2_DoubleClick);
- this.panel2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel2_MouseDown);
- this.panel2.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel2_MouseMove);
- this.panel2.MouseUp += new System.Windows.Forms.MouseEventHandler(this.panel2_MouseUp);
- //
- // pbLogo
- //
- this.pbLogo.Image = global::TemuKJD.Properties.Resources.main_form_logo;
- this.pbLogo.Location = new System.Drawing.Point(7, 9);
- this.pbLogo.Name = "pbLogo";
- this.pbLogo.Size = new System.Drawing.Size(180, 60);
- this.pbLogo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
- this.pbLogo.TabIndex = 78;
- this.pbLogo.TabStop = false;
- //
- // textBox1
- //
- this.textBox1.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.textBox1.Location = new System.Drawing.Point(347, 6);
- this.textBox1.Name = "textBox1";
- this.textBox1.Size = new System.Drawing.Size(530, 23);
- this.textBox1.TabIndex = 65;
- this.textBox1.Visible = false;
- //
- // button2
- //
- this.button2.Location = new System.Drawing.Point(271, 6);
- this.button2.Name = "button2";
- this.button2.Size = new System.Drawing.Size(75, 23);
- this.button2.TabIndex = 64;
- this.button2.Text = "button2";
- this.button2.UseVisualStyleBackColor = true;
- this.button2.Visible = false;
- this.button2.Click += new System.EventHandler(this.button2_Click);
- //
- // button1
- //
- this.button1.Location = new System.Drawing.Point(195, 6);
- this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(75, 23);
- this.button1.TabIndex = 51;
- this.button1.Text = "button1";
- this.button1.UseVisualStyleBackColor = true;
- this.button1.Visible = false;
- this.button1.Click += new System.EventHandler(this.button1_Click);
- //
- // lblVersionName
- //
- this.lblVersionName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- //
- //
- //
- this.lblVersionName.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.lblVersionName.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.lblVersionName.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
- this.lblVersionName.Location = new System.Drawing.Point(1418, 31);
- this.lblVersionName.Name = "lblVersionName";
- this.lblVersionName.Size = new System.Drawing.Size(74, 17);
- this.lblVersionName.TabIndex = 34;
- this.lblVersionName.Text = "版本类型";
- this.lblVersionName.TextAlignment = System.Drawing.StringAlignment.Far;
- //
- // lblVersionInfo
- //
- this.lblVersionInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- //
- //
- //
- this.lblVersionInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.lblVersionInfo.Font = new System.Drawing.Font("微软雅黑", 9F);
- this.lblVersionInfo.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(165)))), ((int)(((byte)(204)))));
- this.lblVersionInfo.Location = new System.Drawing.Point(1257, 54);
- this.lblVersionInfo.Name = "lblVersionInfo";
- this.lblVersionInfo.Size = new System.Drawing.Size(235, 16);
- this.lblVersionInfo.TabIndex = 30;
- this.lblVersionInfo.Text = "版本信息";
- this.lblVersionInfo.TextAlignment = System.Drawing.StringAlignment.Far;
- //
- // max
- //
- this.max.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.max.CanvasColor = System.Drawing.SystemColors.Control;
- this.max.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.max.Cursor = System.Windows.Forms.Cursors.Hand;
- this.max.DisabledBackColor = System.Drawing.Color.Empty;
- this.max.Location = new System.Drawing.Point(1449, 6);
- this.max.Name = "max";
- this.max.Size = new System.Drawing.Size(16, 16);
- this.max.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.max.Style.BackColor1.Alpha = ((byte)(0));
- this.max.Style.BackColor1.Color = System.Drawing.Color.Transparent;
- this.max.Style.BackColor2.Alpha = ((byte)(0));
- this.max.Style.BackColor2.Color = System.Drawing.Color.Transparent;
- this.max.Style.BackgroundImage = global::TemuKJD.Properties.Resources.max;
- this.max.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.max.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.max.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
- this.max.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.max.Style.GradientAngle = 90;
- this.max.StyleMouseOver.BackgroundImage = global::TemuKJD.Properties.Resources.max_hover;
- this.max.TabIndex = 33;
- this.max.Click += new System.EventHandler(this.max_Click);
- //
- // min
- //
- this.min.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.min.CanvasColor = System.Drawing.SystemColors.Control;
- this.min.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.min.Cursor = System.Windows.Forms.Cursors.Hand;
- this.min.DisabledBackColor = System.Drawing.Color.Empty;
- this.min.Location = new System.Drawing.Point(1424, 6);
- this.min.Name = "min";
- this.min.Size = new System.Drawing.Size(16, 16);
- this.min.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.min.Style.BackColor1.Alpha = ((byte)(0));
- this.min.Style.BackColor1.Color = System.Drawing.Color.Transparent;
- this.min.Style.BackColor2.Alpha = ((byte)(0));
- this.min.Style.BackColor2.Color = System.Drawing.Color.Transparent;
- this.min.Style.BackgroundImage = global::TemuKJD.Properties.Resources.min;
- this.min.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.min.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.min.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
- this.min.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.min.Style.GradientAngle = 90;
- this.min.StyleMouseOver.BackgroundImage = global::TemuKJD.Properties.Resources.min_hover;
- this.min.TabIndex = 32;
- this.min.Click += new System.EventHandler(this.min_Click);
- //
- // close
- //
- this.close.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.close.CanvasColor = System.Drawing.SystemColors.Control;
- this.close.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.close.Cursor = System.Windows.Forms.Cursors.Hand;
- this.close.DisabledBackColor = System.Drawing.Color.Empty;
- this.close.Location = new System.Drawing.Point(1474, 6);
- this.close.Name = "close";
- this.close.Size = new System.Drawing.Size(16, 16);
- this.close.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.close.Style.BackColor1.Alpha = ((byte)(0));
- this.close.Style.BackColor1.Color = System.Drawing.Color.Transparent;
- this.close.Style.BackColor2.Alpha = ((byte)(0));
- this.close.Style.BackColor2.Color = System.Drawing.Color.Transparent;
- this.close.Style.BackgroundImage = global::TemuKJD.Properties.Resources.close;
- this.close.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.close.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.close.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
- this.close.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.close.Style.GradientAngle = 90;
- this.close.StyleMouseOver.BackgroundImage = global::TemuKJD.Properties.Resources.close_hover;
- this.close.TabIndex = 31;
- this.close.Click += new System.EventHandler(this.close_Click);
- //
- // ChatForm
- //
- 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(1500, 768);
- this.Controls.Add(this.splitContainer3);
- this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
- this.Name = "ChatForm";
- this.Padding = new System.Windows.Forms.Padding(2);
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "客服集成";
- this.Load += new System.EventHandler(this.ChatForm_Load);
- this.splitContainer1.Panel1.ResumeLayout(false);
- this.splitContainer1.Panel2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
- this.splitContainer1.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);
- this.splitContainer4.Panel1.ResumeLayout(false);
- this.splitContainer4.Panel2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit();
- this.splitContainer4.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
- this.tabControl1.ResumeLayout(false);
- this.tabPage1.ResumeLayout(false);
- this.tabPage2.ResumeLayout(false);
- this.splitContainer3.Panel1.ResumeLayout(false);
- this.splitContainer3.Panel2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
- this.splitContainer3.ResumeLayout(false);
- this.panel2.ResumeLayout(false);
- this.panel2.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pbLogo)).EndInit();
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private System.Windows.Forms.SplitContainer splitContainer1;
- private System.Windows.Forms.SplitContainer splitContainer2;
- private UserComponent.DataGridViewEx dgvShop;
- private System.Windows.Forms.Panel panel1;
- private UserComponent.UcTabControl tabControl1;
- private System.Windows.Forms.TabPage tabPage1;
- private System.Windows.Forms.TabPage tabPage2;
- private System.Windows.Forms.Panel mainPanel;
- private System.Windows.Forms.SplitContainer splitContainer3;
- private DevComponents.DotNetBar.LabelX lblVersionName;
- private DevComponents.DotNetBar.LabelX lblVersionInfo;
- private DevComponents.DotNetBar.PanelEx max;
- private DevComponents.DotNetBar.PanelEx min;
- private DevComponents.DotNetBar.PanelEx close;
- private System.Windows.Forms.Panel panel2;
- private System.Windows.Forms.TextBox txtAutoReplyText;
- private System.Windows.Forms.CheckBox chkIsAutoReply;
- private DevComponents.DotNetBar.Controls.Line line4;
- private System.Windows.Forms.CheckBox chkIsAutoReLogin;
- private System.Windows.Forms.Button button1;
- private DevComponents.DotNetBar.PanelEx pnlSet;
- private System.Windows.Forms.TextBox textBox1;
- private System.Windows.Forms.Button button2;
- private System.Windows.Forms.ComboBox cmbMessage;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.SplitContainer splitContainer4;
- private DevComponents.DotNetBar.PanelEx pnlRefresh;
- private System.Windows.Forms.PictureBox pbLogo;
- private System.Windows.Forms.DataGridViewTextBoxColumn ColumnShopID;
- private System.Windows.Forms.DataGridViewTextBoxColumn ColumnShopName;
- private System.Windows.Forms.DataGridViewLinkColumn ColumnShopStatus;
- private System.Windows.Forms.CheckBox chkNotShowMessageWindow;
- }
-}
\ No newline at end of file
diff --git a/TEMUKJD/ChatForms/ChatForm.resx b/TEMUKJD/ChatForms/ChatForm.resx
deleted file mode 100644
index 7b3ed91..0000000
--- a/TEMUKJD/ChatForms/ChatForm.resx
+++ /dev/null
@@ -1,126 +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
-
-
\ No newline at end of file
diff --git a/TEMUKJD/ChatForms/ChatHelper/ChatConfig.cs b/TEMUKJD/ChatForms/ChatHelper/ChatConfig.cs
deleted file mode 100644
index 7e5af68..0000000
--- a/TEMUKJD/ChatForms/ChatHelper/ChatConfig.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using TemuKJD.ChatForms.ChatModel;
-using NaiBa.Util;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace TemuKJD.ChatForms.ChatHelper
-{
- public class ChatConfig
- {
- public static ChatSettingsParam ChatSettingConfig { get; set; }
-
- public static void LoadChatSetting()
- {
- ChatConfig.ChatSettingConfig = NaiBa.Util.Helper.ConfigHelper.LoadConfig("chat_setting");
- if (ChatConfig.ChatSettingConfig == null)
- ChatConfig.ChatSettingConfig = new ChatSettingsParam();
- }
-
- public static void SaveChatSettingParam()
- {
- NaiBa.Util.Helper.ConfigHelper.SaveConfig("chat_setting", ChatConfig.ChatSettingConfig);
- }
- }
-}
diff --git a/TEMUKJD/ChatForms/ChatMessageForm.Designer.cs b/TEMUKJD/ChatForms/ChatMessageForm.Designer.cs
deleted file mode 100644
index 6b706c5..0000000
--- a/TEMUKJD/ChatForms/ChatMessageForm.Designer.cs
+++ /dev/null
@@ -1,100 +0,0 @@
-namespace TemuKJD.ChatForms
-{
- partial class ChatMessageForm
- {
- ///
- /// 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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ChatMessageForm));
- this.timer1 = new System.Windows.Forms.Timer(this.components);
- this.pnlMessage = new DevComponents.DotNetBar.PanelEx();
- this.panel2 = new System.Windows.Forms.Panel();
- this.panel2.SuspendLayout();
- this.SuspendLayout();
- //
- // pnlMessage
- //
- this.pnlMessage.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.pnlMessage.Cursor = System.Windows.Forms.Cursors.Hand;
- this.pnlMessage.DisabledBackColor = System.Drawing.Color.Empty;
- this.pnlMessage.Dock = System.Windows.Forms.DockStyle.Fill;
- this.pnlMessage.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.pnlMessage.Location = new System.Drawing.Point(8, 8);
- this.pnlMessage.Name = "pnlMessage";
- this.pnlMessage.Size = new System.Drawing.Size(238, 94);
- this.pnlMessage.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.pnlMessage.Style.BackColor1.Color = System.Drawing.Color.White;
- this.pnlMessage.Style.BackColor2.Color = System.Drawing.Color.White;
- this.pnlMessage.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.pnlMessage.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.pnlMessage.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.pnlMessage.Style.GradientAngle = 90;
- this.pnlMessage.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.pnlMessage.StyleMouseDown.BackColor1.Color = System.Drawing.Color.White;
- this.pnlMessage.StyleMouseDown.BackColor2.Color = System.Drawing.Color.White;
- this.pnlMessage.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.pnlMessage.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(235)))), ((int)(((byte)(255)))));
- this.pnlMessage.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(235)))), ((int)(((byte)(255)))));
- this.pnlMessage.TabIndex = 188;
- this.pnlMessage.Text = "有新消息";
- this.pnlMessage.Click += new System.EventHandler(this.pnlMessage_Click);
- //
- // panel2
- //
- this.panel2.BackColor = System.Drawing.Color.White;
- this.panel2.Controls.Add(this.pnlMessage);
- this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.panel2.Location = new System.Drawing.Point(1, 33);
- this.panel2.Name = "panel2";
- this.panel2.Padding = new System.Windows.Forms.Padding(8);
- this.panel2.Size = new System.Drawing.Size(254, 110);
- this.panel2.TabIndex = 189;
- //
- // ChatMessageForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
- this.ClientSize = new System.Drawing.Size(256, 144);
- this.Controls.Add(this.panel2);
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.ShowMinimizedBox = true;
- this.Name = "ChatMessageForm";
- this.Text = "新消息";
- this.TitleText = "新消息";
- this.Controls.SetChildIndex(this.panel2, 0);
- this.panel2.ResumeLayout(false);
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private System.Windows.Forms.Timer timer1;
- private DevComponents.DotNetBar.PanelEx pnlMessage;
- private System.Windows.Forms.Panel panel2;
- }
-}
\ No newline at end of file
diff --git a/TEMUKJD/ChatForms/ChatMessageForm.cs b/TEMUKJD/ChatForms/ChatMessageForm.cs
deleted file mode 100644
index 124f8f8..0000000
--- a/TEMUKJD/ChatForms/ChatMessageForm.cs
+++ /dev/null
@@ -1,88 +0,0 @@
-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.Linq;
-using System.Text;
-using System.Threading;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-
-namespace TemuKJD.ChatForms
-{
- public partial class ChatMessageForm : LRBaseForm
- {
- public ShopLoginInfo shop;
- public ChatForm cf;
- public ChatMessageForm(ShopLoginInfo _shop, ChatForm _cf)
- {
- InitializeComponent();
-
- this.shop = _shop;
- this.cf = _cf;
- this.Load += ChatMessageForm_Load;
- this.FormClosed += ChatMessageForm_FormClosed;
- this.TopMost = true;
- }
-
- private void ChatMessageForm_FormClosed(object sender, FormClosedEventArgs e)
- {
- ChatForm.lstChatMessageForm.Remove(this);
- }
-
- private void ChatMessageForm_Load(object sender, EventArgs e)
- {
- if (shop != null)
- {
- this.pnlMessage.Text = "店铺" + shop.ShopAccount + "有新消息\r\n点击查看";
- }
- var height = this.Height;
- Task.Run(() =>
- {
- for (int i = 0; i < height; i++)
- {
- Invoke(new Action(() =>
- {
- Point p = new Point(Screen.PrimaryScreen.WorkingArea.Width - this.Width, Screen.PrimaryScreen.WorkingArea.Height);
- this.Location = new Point(p.X, p.Y - i);
- }));
- Thread.Sleep(5);
- }
- //Thread.Sleep(2000);
- //var _opacity = 1.0;
- //while (_opacity > 0)
- //{
- // _opacity -= 0.02;
- // Invoke(new Action(() =>
- // {
- // this.Opacity = _opacity;
- // if (this.Opacity <= 0)
- // this.Close();
- // }));
- // Thread.Sleep(100);
- //}
- });
- }
-
- private void pnlMessage_Click(object sender, EventArgs e)
- {
- if (cf != null)
- {
- cf.TopMost = true;
- cf.DgvShopClick(shop);
- Task.Run(() =>
- {
- Thread.Sleep(1000);
- Invoke(new Action(() =>
- {
- this.TopMost = false;
- cf.TopMost = false;
- }));
- });
- }
- }
- }
-}
diff --git a/TEMUKJD/ChatForms/ChatMessageForm.resx b/TEMUKJD/ChatForms/ChatMessageForm.resx
deleted file mode 100644
index 9b96c02..0000000
--- a/TEMUKJD/ChatForms/ChatMessageForm.resx
+++ /dev/null
@@ -1,301 +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
-
-
- 17, 17
-
-
-
-
- AAABAAEAgIAQeQAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
- 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/ChatForms/ChatModel/ChatSettingsParam.cs b/TEMUKJD/ChatForms/ChatModel/ChatSettingsParam.cs
deleted file mode 100644
index 3e0a096..0000000
--- a/TEMUKJD/ChatForms/ChatModel/ChatSettingsParam.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace TemuKJD.ChatForms.ChatModel
-{
- public class ChatSettingsParam
- {
- public bool IsAutoReLogin { get; set; } = false;
- public bool IsAutoReply { get; set; } = false;
- public bool IsNotShowMessageWindow { get; set; } = false;
- public string MessageSound { get; set; } = "默认提示音";
- public string AutoReplayText { get; set; } = "您好";
- }
-}
diff --git a/TEMUKJD/DashBoardForms/DashBoardForm.Designer.cs b/TEMUKJD/DashBoardForms/DashBoardForm.Designer.cs
deleted file mode 100644
index 155a376..0000000
--- a/TEMUKJD/DashBoardForms/DashBoardForm.Designer.cs
+++ /dev/null
@@ -1,571 +0,0 @@
-namespace TemuKJD.DashBoardForms
-{
- partial class DashBoardForm
- {
- ///
- /// 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.splitContainer1 = new System.Windows.Forms.SplitContainer();
- this.pnlBanner = new DevComponents.DotNetBar.PanelEx();
- this.txtChatWords = new System.Windows.Forms.TextBox();
- this.rbChat = new System.Windows.Forms.RadioButton();
- this.rbInvite = new System.Windows.Forms.RadioButton();
- this.label7 = new System.Windows.Forms.Label();
- this.btnSend = new TemuKJD.UserControls.ButtonEx();
- this.pnlDetailForm = new DevComponents.DotNetBar.PanelEx();
- this.pnlMainForm = new DevComponents.DotNetBar.PanelEx();
- this.btnLoginDouyin = new TemuKJD.UserControls.ButtonEx();
- this.cmbShop = new DevComponents.DotNetBar.Controls.ComboBoxEx();
- this.label5 = new System.Windows.Forms.Label();
- this.txtSuccessCount = new System.Windows.Forms.TextBox();
- this.label4 = new System.Windows.Forms.Label();
- this.label3 = new System.Windows.Forms.Label();
- this.txtInterval = new System.Windows.Forms.TextBox();
- this.label2 = new System.Windows.Forms.Label();
- this.txtTotalPage = new System.Windows.Forms.TextBox();
- this.label1 = new System.Windows.Forms.Label();
- this.txtCurrentPage = new System.Windows.Forms.TextBox();
- this.textBox3 = new System.Windows.Forms.TextBox();
- this.max = new DevComponents.DotNetBar.PanelEx();
- this.min = new DevComponents.DotNetBar.PanelEx();
- this.close = new DevComponents.DotNetBar.PanelEx();
- this.label6 = new System.Windows.Forms.Label();
- this.line1 = new DevComponents.DotNetBar.Controls.Line();
- this.line2 = new DevComponents.DotNetBar.Controls.Line();
- this.line3 = new DevComponents.DotNetBar.Controls.Line();
- this.line4 = new DevComponents.DotNetBar.Controls.Line();
- this.label8 = new System.Windows.Forms.Label();
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
- this.splitContainer1.Panel1.SuspendLayout();
- this.splitContainer1.SuspendLayout();
- this.pnlBanner.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(2, 2);
- this.splitContainer1.Name = "splitContainer1";
- this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
- //
- // splitContainer1.Panel1
- //
- this.splitContainer1.Panel1.Controls.Add(this.pnlBanner);
- //
- // splitContainer1.Panel2
- //
- this.splitContainer1.Panel2.BackColor = System.Drawing.Color.WhiteSmoke;
- this.splitContainer1.Size = new System.Drawing.Size(1196, 676);
- this.splitContainer1.SplitterDistance = 66;
- this.splitContainer1.SplitterWidth = 1;
- this.splitContainer1.TabIndex = 1;
- //
- // pnlBanner
- //
- this.pnlBanner.CanvasColor = System.Drawing.SystemColors.Control;
- this.pnlBanner.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.pnlBanner.Controls.Add(this.txtChatWords);
- this.pnlBanner.Controls.Add(this.rbChat);
- this.pnlBanner.Controls.Add(this.rbInvite);
- this.pnlBanner.Controls.Add(this.label7);
- this.pnlBanner.Controls.Add(this.btnSend);
- this.pnlBanner.Controls.Add(this.pnlDetailForm);
- this.pnlBanner.Controls.Add(this.pnlMainForm);
- this.pnlBanner.Controls.Add(this.btnLoginDouyin);
- this.pnlBanner.Controls.Add(this.cmbShop);
- this.pnlBanner.Controls.Add(this.label5);
- this.pnlBanner.Controls.Add(this.txtSuccessCount);
- this.pnlBanner.Controls.Add(this.label4);
- this.pnlBanner.Controls.Add(this.label3);
- this.pnlBanner.Controls.Add(this.txtInterval);
- this.pnlBanner.Controls.Add(this.label2);
- this.pnlBanner.Controls.Add(this.txtTotalPage);
- this.pnlBanner.Controls.Add(this.label1);
- this.pnlBanner.Controls.Add(this.txtCurrentPage);
- this.pnlBanner.Controls.Add(this.textBox3);
- this.pnlBanner.Controls.Add(this.max);
- this.pnlBanner.Controls.Add(this.min);
- this.pnlBanner.Controls.Add(this.close);
- this.pnlBanner.Controls.Add(this.label6);
- this.pnlBanner.Controls.Add(this.line1);
- this.pnlBanner.Controls.Add(this.line2);
- this.pnlBanner.Controls.Add(this.line3);
- this.pnlBanner.Controls.Add(this.line4);
- this.pnlBanner.Controls.Add(this.label8);
- this.pnlBanner.DisabledBackColor = System.Drawing.Color.Empty;
- this.pnlBanner.Dock = System.Windows.Forms.DockStyle.Fill;
- this.pnlBanner.Location = new System.Drawing.Point(0, 0);
- this.pnlBanner.Name = "pnlBanner";
- this.pnlBanner.Size = new System.Drawing.Size(1196, 66);
- this.pnlBanner.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.pnlBanner.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.pnlBanner.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.pnlBanner.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.pnlBanner.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.pnlBanner.Style.BorderWidth = 0;
- this.pnlBanner.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.pnlBanner.Style.GradientAngle = 90;
- this.pnlBanner.TabIndex = 0;
- this.pnlBanner.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.pnlBanner_MouseDoubleClick);
- this.pnlBanner.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pnlBanner_MouseDown);
- this.pnlBanner.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pnlBanner_MouseMove);
- this.pnlBanner.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pnlBanner_MouseUp);
- //
- // txtChatWords
- //
- this.txtChatWords.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.txtChatWords.Location = new System.Drawing.Point(524, 26);
- this.txtChatWords.Name = "txtChatWords";
- this.txtChatWords.Size = new System.Drawing.Size(588, 21);
- this.txtChatWords.TabIndex = 405;
- this.txtChatWords.Visible = false;
- this.txtChatWords.TextChanged += new System.EventHandler(this.txtChatWords_TextChanged);
- //
- // rbChat
- //
- this.rbChat.AutoSize = true;
- this.rbChat.ForeColor = System.Drawing.Color.White;
- this.rbChat.Location = new System.Drawing.Point(364, 28);
- this.rbChat.Name = "rbChat";
- this.rbChat.Size = new System.Drawing.Size(71, 16);
- this.rbChat.TabIndex = 404;
- this.rbChat.Text = "在线沟通";
- this.rbChat.UseVisualStyleBackColor = true;
- this.rbChat.Visible = false;
- this.rbChat.CheckedChanged += new System.EventHandler(this.rbChat_CheckedChanged);
- //
- // rbInvite
- //
- this.rbInvite.AutoSize = true;
- this.rbInvite.ForeColor = System.Drawing.Color.White;
- this.rbInvite.Location = new System.Drawing.Point(287, 28);
- this.rbInvite.Name = "rbInvite";
- this.rbInvite.Size = new System.Drawing.Size(71, 16);
- this.rbInvite.TabIndex = 403;
- this.rbInvite.Text = "发送邀约";
- this.rbInvite.UseVisualStyleBackColor = true;
- this.rbInvite.Visible = false;
- this.rbInvite.CheckedChanged += new System.EventHandler(this.rbInvite_CheckedChanged);
- //
- // label7
- //
- this.label7.AutoSize = true;
- this.label7.ForeColor = System.Drawing.Color.White;
- this.label7.Location = new System.Drawing.Point(227, 30);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(53, 12);
- this.label7.TabIndex = 402;
- this.label7.Text = "邀请方式";
- this.label7.Visible = false;
- //
- // btnSend
- //
- this.btnSend.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnSend.BackColor = System.Drawing.Color.NavajoWhite;
- this.btnSend.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnSend.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
- this.btnSend.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnSend.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.btnSend.Location = new System.Drawing.Point(1046, 2);
- this.btnSend.Margin = new System.Windows.Forms.Padding(0);
- this.btnSend.Name = "btnSend";
- this.btnSend.Size = new System.Drawing.Size(66, 21);
- this.btnSend.TabIndex = 386;
- this.btnSend.Text = "开始邀约";
- this.btnSend.UseCompatibleTextRendering = true;
- this.btnSend.UseVisualStyleBackColor = false;
- this.btnSend.Click += new System.EventHandler(this.btnSend_Click);
- //
- // pnlDetailForm
- //
- this.pnlDetailForm.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.pnlDetailForm.CanvasColor = System.Drawing.SystemColors.Control;
- this.pnlDetailForm.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.pnlDetailForm.DisabledBackColor = System.Drawing.Color.Empty;
- this.pnlDetailForm.Location = new System.Drawing.Point(77, 44);
- this.pnlDetailForm.Name = "pnlDetailForm";
- this.pnlDetailForm.Size = new System.Drawing.Size(76, 26);
- this.pnlDetailForm.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.pnlDetailForm.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(210)))), ((int)(((byte)(255)))));
- this.pnlDetailForm.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(210)))), ((int)(((byte)(255)))));
- this.pnlDetailForm.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.pnlDetailForm.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.pnlDetailForm.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.pnlDetailForm.Style.GradientAngle = 90;
- this.pnlDetailForm.TabIndex = 382;
- this.pnlDetailForm.Text = "详情";
- this.pnlDetailForm.Visible = false;
- this.pnlDetailForm.Click += new System.EventHandler(this.btnDetailForm_Click);
- //
- // pnlMainForm
- //
- this.pnlMainForm.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.pnlMainForm.CanvasColor = System.Drawing.SystemColors.Control;
- this.pnlMainForm.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.pnlMainForm.DisabledBackColor = System.Drawing.Color.Empty;
- this.pnlMainForm.Location = new System.Drawing.Point(2, 42);
- this.pnlMainForm.Name = "pnlMainForm";
- this.pnlMainForm.Size = new System.Drawing.Size(76, 26);
- this.pnlMainForm.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.pnlMainForm.Style.BackColor1.Color = System.Drawing.Color.White;
- this.pnlMainForm.Style.BackColor2.Color = System.Drawing.Color.White;
- this.pnlMainForm.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.pnlMainForm.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.pnlMainForm.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.pnlMainForm.Style.GradientAngle = 90;
- this.pnlMainForm.TabIndex = 375;
- this.pnlMainForm.Text = "主页";
- this.pnlMainForm.Click += new System.EventHandler(this.btnMainForm_Click);
- //
- // btnLoginDouyin
- //
- this.btnLoginDouyin.BackColor = System.Drawing.Color.White;
- this.btnLoginDouyin.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnLoginDouyin.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
- this.btnLoginDouyin.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnLoginDouyin.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnLoginDouyin.Location = new System.Drawing.Point(159, 2);
- this.btnLoginDouyin.Margin = new System.Windows.Forms.Padding(0);
- this.btnLoginDouyin.Name = "btnLoginDouyin";
- this.btnLoginDouyin.Size = new System.Drawing.Size(66, 21);
- this.btnLoginDouyin.TabIndex = 374;
- this.btnLoginDouyin.Text = "登录抖音";
- this.btnLoginDouyin.UseCompatibleTextRendering = true;
- this.btnLoginDouyin.UseVisualStyleBackColor = false;
- this.btnLoginDouyin.Click += new System.EventHandler(this.btnLoginDouyin_Click);
- //
- // cmbShop
- //
- this.cmbShop.DisplayMember = "Text";
- this.cmbShop.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
- this.cmbShop.FormattingEnabled = true;
- this.cmbShop.ItemHeight = 15;
- this.cmbShop.Location = new System.Drawing.Point(2, 2);
- this.cmbShop.Name = "cmbShop";
- this.cmbShop.Size = new System.Drawing.Size(156, 21);
- this.cmbShop.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003;
- this.cmbShop.TabIndex = 76;
- //
- // label5
- //
- this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.label5.AutoSize = true;
- this.label5.ForeColor = System.Drawing.Color.White;
- this.label5.Location = new System.Drawing.Point(572, 6);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(65, 12);
- this.label5.TabIndex = 66;
- this.label5.Text = "邀约成功数";
- //
- // txtSuccessCount
- //
- this.txtSuccessCount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.txtSuccessCount.Enabled = false;
- this.txtSuccessCount.Location = new System.Drawing.Point(638, 2);
- this.txtSuccessCount.Name = "txtSuccessCount";
- this.txtSuccessCount.Size = new System.Drawing.Size(33, 21);
- this.txtSuccessCount.TabIndex = 65;
- this.txtSuccessCount.Text = "0";
- //
- // label4
- //
- this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.label4.AutoSize = true;
- this.label4.ForeColor = System.Drawing.Color.White;
- this.label4.Location = new System.Drawing.Point(773, 6);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(17, 12);
- this.label4.TabIndex = 64;
- this.label4.Text = "秒";
- //
- // label3
- //
- this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.label3.AutoSize = true;
- this.label3.ForeColor = System.Drawing.Color.White;
- this.label3.Location = new System.Drawing.Point(683, 6);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(53, 12);
- this.label3.TabIndex = 63;
- this.label3.Text = "邀约间隔";
- //
- // txtInterval
- //
- this.txtInterval.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.txtInterval.Location = new System.Drawing.Point(738, 2);
- this.txtInterval.Name = "txtInterval";
- this.txtInterval.Size = new System.Drawing.Size(33, 21);
- this.txtInterval.TabIndex = 62;
- this.txtInterval.Text = "10";
- this.txtInterval.TextChanged += new System.EventHandler(this.txtInterval_TextChanged);
- //
- // label2
- //
- this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.label2.AutoSize = true;
- this.label2.ForeColor = System.Drawing.Color.White;
- this.label2.Location = new System.Drawing.Point(799, 6);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(77, 12);
- this.label2.TabIndex = 61;
- this.label2.Text = "预计邀约页数";
- //
- // txtTotalPage
- //
- this.txtTotalPage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.txtTotalPage.Location = new System.Drawing.Point(878, 2);
- this.txtTotalPage.Name = "txtTotalPage";
- this.txtTotalPage.Size = new System.Drawing.Size(33, 21);
- this.txtTotalPage.TabIndex = 60;
- this.txtTotalPage.Text = "10";
- this.txtTotalPage.TextChanged += new System.EventHandler(this.txtTotalPage_TextChanged);
- //
- // label1
- //
- this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.label1.AutoSize = true;
- this.label1.ForeColor = System.Drawing.Color.White;
- this.label1.Location = new System.Drawing.Point(922, 6);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(65, 12);
- this.label1.TabIndex = 59;
- this.label1.Text = "当前邀约第";
- //
- // txtCurrentPage
- //
- this.txtCurrentPage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.txtCurrentPage.Enabled = false;
- this.txtCurrentPage.Location = new System.Drawing.Point(989, 2);
- this.txtCurrentPage.Name = "txtCurrentPage";
- this.txtCurrentPage.Size = new System.Drawing.Size(33, 21);
- this.txtCurrentPage.TabIndex = 58;
- this.txtCurrentPage.Text = "1";
- //
- // textBox3
- //
- this.textBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.textBox3.Location = new System.Drawing.Point(229, 2);
- this.textBox3.Name = "textBox3";
- this.textBox3.Size = new System.Drawing.Size(332, 21);
- this.textBox3.TabIndex = 36;
- this.textBox3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox3_KeyDown);
- //
- // max
- //
- this.max.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.max.CanvasColor = System.Drawing.SystemColors.Control;
- this.max.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.max.Cursor = System.Windows.Forms.Cursors.Hand;
- this.max.DisabledBackColor = System.Drawing.Color.Empty;
- this.max.Location = new System.Drawing.Point(1149, 4);
- this.max.Name = "max";
- this.max.Size = new System.Drawing.Size(16, 16);
- this.max.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.max.Style.BackColor1.Alpha = ((byte)(0));
- this.max.Style.BackColor1.Color = System.Drawing.Color.Transparent;
- this.max.Style.BackColor2.Alpha = ((byte)(0));
- this.max.Style.BackColor2.Color = System.Drawing.Color.Transparent;
- this.max.Style.BackgroundImage = global::TemuKJD.Properties.Resources.max;
- this.max.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.max.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.max.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
- this.max.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.max.Style.GradientAngle = 90;
- this.max.StyleMouseOver.BackgroundImage = global::TemuKJD.Properties.Resources.max_hover;
- this.max.TabIndex = 22;
- this.max.Click += new System.EventHandler(this.max_Click);
- //
- // min
- //
- this.min.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.min.CanvasColor = System.Drawing.SystemColors.Control;
- this.min.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.min.Cursor = System.Windows.Forms.Cursors.Hand;
- this.min.DisabledBackColor = System.Drawing.Color.Empty;
- this.min.Location = new System.Drawing.Point(1123, 4);
- this.min.Name = "min";
- this.min.Size = new System.Drawing.Size(16, 16);
- this.min.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.min.Style.BackColor1.Alpha = ((byte)(0));
- this.min.Style.BackColor1.Color = System.Drawing.Color.Transparent;
- this.min.Style.BackColor2.Alpha = ((byte)(0));
- this.min.Style.BackColor2.Color = System.Drawing.Color.Transparent;
- this.min.Style.BackgroundImage = global::TemuKJD.Properties.Resources.min;
- this.min.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.min.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.min.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
- this.min.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.min.Style.GradientAngle = 90;
- this.min.StyleMouseOver.BackgroundImage = global::TemuKJD.Properties.Resources.min_hover;
- this.min.TabIndex = 21;
- this.min.Click += new System.EventHandler(this.min_Click);
- //
- // close
- //
- this.close.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.close.CanvasColor = System.Drawing.SystemColors.Control;
- this.close.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.close.Cursor = System.Windows.Forms.Cursors.Hand;
- this.close.DisabledBackColor = System.Drawing.Color.Empty;
- this.close.Location = new System.Drawing.Point(1175, 4);
- this.close.Name = "close";
- this.close.Size = new System.Drawing.Size(16, 16);
- this.close.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.close.Style.BackColor1.Alpha = ((byte)(0));
- this.close.Style.BackColor1.Color = System.Drawing.Color.Transparent;
- this.close.Style.BackColor2.Alpha = ((byte)(0));
- this.close.Style.BackColor2.Color = System.Drawing.Color.Transparent;
- this.close.Style.BackgroundImage = global::TemuKJD.Properties.Resources.close;
- this.close.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.close.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.close.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
- this.close.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.close.Style.GradientAngle = 90;
- this.close.StyleMouseOver.BackgroundImage = global::TemuKJD.Properties.Resources.close_hover;
- this.close.TabIndex = 20;
- this.close.Click += new System.EventHandler(this.close_Click);
- //
- // label6
- //
- this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.label6.AutoSize = true;
- this.label6.ForeColor = System.Drawing.Color.White;
- this.label6.Location = new System.Drawing.Point(1024, 6);
- this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(17, 12);
- this.label6.TabIndex = 383;
- this.label6.Text = "页";
- //
- // line1
- //
- this.line1.ForeColor = System.Drawing.Color.White;
- this.line1.Location = new System.Drawing.Point(545, 2);
- this.line1.Name = "line1";
- this.line1.Size = new System.Drawing.Size(48, 21);
- this.line1.TabIndex = 387;
- this.line1.Text = "line1";
- this.line1.VerticalLine = true;
- //
- // line2
- //
- this.line2.ForeColor = System.Drawing.Color.White;
- this.line2.Location = new System.Drawing.Point(656, 2);
- this.line2.Name = "line2";
- this.line2.Size = new System.Drawing.Size(48, 21);
- this.line2.TabIndex = 388;
- this.line2.Text = "line2";
- this.line2.VerticalLine = true;
- //
- // line3
- //
- this.line3.ForeColor = System.Drawing.Color.White;
- this.line3.Location = new System.Drawing.Point(772, 2);
- this.line3.Name = "line3";
- this.line3.Size = new System.Drawing.Size(48, 21);
- this.line3.TabIndex = 389;
- this.line3.Text = "line3";
- this.line3.VerticalLine = true;
- //
- // line4
- //
- this.line4.ForeColor = System.Drawing.Color.White;
- this.line4.Location = new System.Drawing.Point(895, 2);
- this.line4.Name = "line4";
- this.line4.Size = new System.Drawing.Size(48, 21);
- this.line4.TabIndex = 390;
- this.line4.Text = "line4";
- this.line4.VerticalLine = true;
- //
- // label8
- //
- this.label8.AutoSize = true;
- this.label8.ForeColor = System.Drawing.Color.White;
- this.label8.Location = new System.Drawing.Point(442, 30);
- this.label8.Name = "label8";
- this.label8.Size = new System.Drawing.Size(89, 12);
- this.label8.TabIndex = 406;
- this.label8.Text = "沟通内容发送:";
- this.label8.Visible = false;
- //
- // DashBoardForm
- //
- 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(1200, 680);
- this.Controls.Add(this.splitContainer1);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
- this.Name = "DashBoardForm";
- this.Padding = new System.Windows.Forms.Padding(2);
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "DashBoardForm";
- this.Load += new System.EventHandler(this.DashBoardForm_Load);
- this.splitContainer1.Panel1.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
- this.splitContainer1.ResumeLayout(false);
- this.pnlBanner.ResumeLayout(false);
- this.pnlBanner.PerformLayout();
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private System.Windows.Forms.SplitContainer splitContainer1;
- private DevComponents.DotNetBar.PanelEx pnlBanner;
- private System.Windows.Forms.Label label5;
- private System.Windows.Forms.TextBox txtSuccessCount;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.TextBox txtInterval;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.TextBox txtTotalPage;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.TextBox txtCurrentPage;
- private System.Windows.Forms.TextBox textBox3;
- private DevComponents.DotNetBar.PanelEx max;
- private DevComponents.DotNetBar.PanelEx min;
- private DevComponents.DotNetBar.PanelEx close;
- private DevComponents.DotNetBar.Controls.ComboBoxEx cmbShop;
- private DevComponents.DotNetBar.PanelEx pnlMainForm;
- private DevComponents.DotNetBar.PanelEx pnlDetailForm;
- private UserControls.ButtonEx btnSend;
- private UserControls.ButtonEx btnLoginDouyin;
- private System.Windows.Forms.Label label4;
- private System.Windows.Forms.Label label6;
- private DevComponents.DotNetBar.Controls.Line line1;
- private DevComponents.DotNetBar.Controls.Line line2;
- private DevComponents.DotNetBar.Controls.Line line3;
- private DevComponents.DotNetBar.Controls.Line line4;
- private System.Windows.Forms.TextBox txtChatWords;
- private System.Windows.Forms.RadioButton rbChat;
- private System.Windows.Forms.RadioButton rbInvite;
- private System.Windows.Forms.Label label7;
- private System.Windows.Forms.Label label8;
- }
-}
\ No newline at end of file
diff --git a/TEMUKJD/DashBoardForms/DashBoardForm.cs b/TEMUKJD/DashBoardForms/DashBoardForm.cs
deleted file mode 100644
index f5752e2..0000000
--- a/TEMUKJD/DashBoardForms/DashBoardForm.cs
+++ /dev/null
@@ -1,828 +0,0 @@
-using AllBase;
-using AllBase.Helper;
-using CefSharp;
-using CefSharp.WinForms;
-using TemuKJD.Helper;
-using TemuKJD.KJDForms.BaseForms;
-using NaiBa.CefHelper;
-using NaiBa.Util;
-using NaiBa.Util.Extension;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Diagnostics;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Text.RegularExpressions;
-using System.Threading;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-
-namespace TemuKJD.DashBoardForms
-{
- public partial class DashBoardForm : BaseForm
- {
- public enum InviteTypeEnum
- {
- Invite,
- Chat,
- }
-
- public class DaRenSettings
- {
- ///
- /// 要采集的总页码数量
- ///
- public int TotalPage { get; set; } = 10;
- ///
- /// 发送邀约操作操作间隔时间
- ///
- public int Interval { get; set; } = 10;
- ///
- /// 翻页操作间隔时间
- ///
- public int PageInterval { get; set; } = 10;
- public string ChatWords { get; set; } = "老板您好!";
- public InviteTypeEnum InviteType { get; set; } = InviteTypeEnum.Invite;
- }
-
- private Point mouseOffset; // 记录鼠标指针的坐标
- private bool isMouseDown; // 记录鼠标左键是否按下
-
- private ChromiumWebBrowser cefWebBrowser = null;
- private ChromiumWebBrowser cefWebBrowserDetail = null;
- private DaRenSettings drSetting;
- private bool IsOpenDaRenPage = false;
-
- public DashBoardForm()
- {
- InitializeComponent();
- this.MaximumSize = new Size(Screen.PrimaryScreen.WorkingArea.Width, Screen.PrimaryScreen.WorkingArea.Height);
- }
-
- private void DashBoardForm_Load(object sender, EventArgs e)
- {
- if (BaseClass.Ico != null)
- this.Icon = BaseClass.Ico;
-
- this.WindowState = FormWindowState.Maximized;
- max.Style.BackgroundImage = Properties.Resources.normal;
- max.StyleMouseOver.BackgroundImage = Properties.Resources.normal_hover;
- this.Padding = new Padding(2);
-
- this.drSetting = NaiBa.Util.Helper.ConfigHelper.LoadConfig("daren_settings");
- if (drSetting == null)
- drSetting = new DaRenSettings();
-
- this.txtChatWords.Text = drSetting.ChatWords;
- this.txtInterval.Text = drSetting.Interval.ToString();
- this.txtTotalPage.Text = drSetting.TotalPage.ToString();
- this.rbInvite.CheckedChanged -= rbInvite_CheckedChanged;
- this.rbChat.CheckedChanged -= rbChat_CheckedChanged;
- if (drSetting.InviteType == InviteTypeEnum.Invite)
- this.rbInvite.Checked = true;
- else
- this.rbChat.Checked = true;
- this.rbInvite.CheckedChanged += rbInvite_CheckedChanged;
- this.rbChat.CheckedChanged += rbChat_CheckedChanged;
- rbInvite.Checked = true;
-
- for (int i = 0; i < GlobalConfig.ShopLoginList.Count; i++)
- {
- var shop = GlobalConfig.ShopLoginList[i];
- this.cmbShop.Items.Add(shop.ShopAccount);
- }
- this.cmbShop.SelectedIndex = 0;
-
- string cookie = "";
- if (GlobalConfig.ShopLoginList.Count > 0)
- {
- cookie = GlobalConfig.ShopLoginList[0].Cookies;
- }
- InitCef(cookie);
- }
-
- private void close_Click(object sender, EventArgs e)
- {
- {
- if (BaseMsgForm.ShowConfirm("是否关闭客户端?", "系统提示", FormLevel.SMALL).DialogResult.Equals(DialogResult.Cancel))
- return;
- else
- Process.GetCurrentProcess().Kill();
- }
- }
-
- private void max_Click(object sender, EventArgs e)
- {
- if (WindowState.Equals(FormWindowState.Normal))
- {
- WindowState = FormWindowState.Maximized;
- max.Style.BackgroundImage = Properties.Resources.normal;
- max.StyleMouseOver.BackgroundImage = Properties.Resources.normal_hover;
- this.Padding = new Padding(0);
- }
- else if (WindowState.Equals(FormWindowState.Maximized))
- {
- WindowState = FormWindowState.Normal;
- max.Style.BackgroundImage = Properties.Resources.max;
- max.StyleMouseOver.BackgroundImage = Properties.Resources.max_hover;
- this.Padding = new Padding(1);
- }
- }
-
- private void min_Click(object sender, EventArgs e)
- {
- WindowState = FormWindowState.Minimized;
- ShowInTaskbar = true;
- }
- private void pnlBanner_MouseDoubleClick(object sender, MouseEventArgs e)
- {
- max_Click(null, null);
- }
-
- private void pnlBanner_MouseDown(object sender, MouseEventArgs e)
- {
- if (e.Button == MouseButtons.Left)
- {
- mouseOffset = new Point(-e.X, -e.Y);
- isMouseDown = true;
- }
- }
-
- private void pnlBanner_MouseMove(object sender, MouseEventArgs e)
- {
- if (isMouseDown)
- {
- //获取鼠标的位置
- Point mousePos = MousePosition;
- mousePos.Offset(mouseOffset.X, mouseOffset.Y);
- Location = mousePos;
- }
- }
-
- private void pnlBanner_MouseUp(object sender, MouseEventArgs e)
- {
- isMouseDown = false;
- }
-
- void InitCef(string cookie = "")
- {
- string mainUrl = "https://fxg.jinritemai.com/ffa/mshop/homepage/index";
- //mainUrl = "https://buyin.jinritemai.com/mpa/account/roles-select?target_url=/dashboard/servicehall/daren-square";
- string darenUrl = "https://buyin.jinritemai.com/dashboard/servicehall/daren-square";
- // GlobalConfig.DouUserCookies;
- if (cefWebBrowser == null)
- {
- cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser("about:blank", true);
- var lifeSapnHandler = new LifeSpanHandlerLocal(PopWindowType.NewTitleWindow);
- lifeSapnHandler.OnPop += LifeSapnHandler_OnPop;
- cefWebBrowser.LifeSpanHandler = lifeSapnHandler;
- cefWebBrowser.KeyboardHandler = new NaiBa.CefHelper.Handler.KeyboardHandler();
- cefWebBrowser.FrameLoadEnd += CefWebBrowser_FrameLoadEnd;
- cefWebBrowser.AddressChanged += CefWebBrowser_AddressChanged;
- cefWebBrowser.Dock = DockStyle.Fill;
-
- //var t = CEFBrowser.SetCookieAsync("jinritemai.com", cookie, cefWebBrowser.RequestContext.GetCookieManager(null));
- var cookieManager = Cef.GetGlobalCookieManager();
- //cookieManager.SetStoragePath(Environment.CurrentDirectory, true);
- var t = CEFBrowser.SetCookieAsync("jinritemai.com", cookie, cookieManager);
-
- splitContainer1.Panel2.Controls.Add(cefWebBrowser);
-
- Task.Run(() =>
- {
- while (true)
- {
- Thread.Sleep(15000);
-
- //var jsCode = "window.localStorage;";
- //var task = cefWebBrowser.GetMainFrame().EvaluateScriptAsync(jsCode, null);
- //task.Wait(5000);
- //var result = task.Result.Result;
- //var dic = result as IDictionary;
- //GlobalConfig.dicLocalStorage = dic;
- //StartUp.SaveDouLocalStorage();
- }
- });
-
- Task.Run(() =>
- {
- do
- {
- Thread.Sleep(10);
- }
- while (cefWebBrowser == null || !cefWebBrowser.IsBrowserInitialized || cefWebBrowser.IsLoading);
-
- var jsCode = "";
- if (GlobalConfig.dicLocalStorage != null)
- {
- foreach (var key in GlobalConfig.dicLocalStorage.Keys)
- {
- if (GlobalConfig.dicLocalStorage[key] is string)
- {
- jsCode += "localStorage.setItem('" + key + "', '" + GlobalConfig.dicLocalStorage[key] + "');\r\n";
- }
- }
- var ta0 = cefWebBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsCode);
- ta0.Wait(5000);
- }
-
- cefWebBrowser.Load("https://fxg.jinritemai.com/ffa/mshop/homepage/index");
- do
- {
- Thread.Sleep(1000);
- }
- while (cefWebBrowser.IsLoading);
- Thread.Sleep(AllBase.Randomx.GetId(5000, 6000));
-
- var jsStr = clickJsElementStr + "getElement('精选联盟').click();";
- var ta2 = cefWebBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- ta2.Wait(8000);
- do
- {
- Thread.Sleep(1000);
- }
- while (cefWebBrowser.IsLoading);
- Thread.Sleep(AllBase.Randomx.GetId(2000, 3000));
-
- retry:
- jsStr = "window.location.href='" + darenUrl + "';";
- var ta3 = cefWebBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- ta3.Wait(8000);
- do
- {
- Thread.Sleep(1000);
- }
- while (cefWebBrowser.IsLoading);
- Thread.Sleep(AllBase.Randomx.GetId(4000, 5000));
-
- jsStr = clickJsElementStr +
- "function clickBtn(txt) {\r\n" +
- " if (document.body.innerHTML.indexOf('加载失败') >= 0)\r\n" +
- " return '加载失败';\r\n" +
- " return 'ok';\r\n" +
- "}\r\n" +
- "clickBtn('添加商品');\r\n";
- var ta4 = cefWebBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
- ta4.Wait();
- if (ta4.Result?.Result?.ToString() == "加载失败" || ta4.Result?.Result?.ToString() == null)
- goto retry;
-
- var sleepTime = 2500;
- while (true)
- {
- try
- {
- Thread.Sleep(sleepTime);
- var jsStr1 =
- "function ClosePopWindow(txt) {\r\n" +
- " var result = 'no_pop'\r\n" +
- " var item = document.getElementsByClassName(txt);\r\n" +
- " if (document.body.innerHTML.indexOf('重要消息') < 0) return result;\r\n" +
- " for(i = 0; i < item.length; i++) {\r\n" +
- " item[i].click();\r\n" +
- " result = 'success'\r\n" +
- " }\r\n" +
- " return result;\r\n" +
- "}\r\n" +
- "ClosePopWindow('anticon-close-circle');\r\n" +
- "ClosePopWindow('ant-modal-close-x');\r\n";
- var jsStr2 = "function clickPopWindow(txt) {\r\n"
- + "var child = document.body.firstElementChild;\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 && element1.innerHTML === txt) {\r\n"
- + " element1.click(); return 'success';\r\n"
- + " } else return 'no_pop';\r\n"
- + "}\r\n"
- //+ "clickPopWindow('我知道了');\r\n"
- + "clickPopWindow('知道了');\r\n"
- + "clickPopWindow('完 成');\r\n"
- + "clickPopWindow('下一个');\r\n";
- var success1 = false;
- if (cefWebBrowser.IsBrowserInitialized && !cefWebBrowser.IsLoading)
- {
- var t1 = cefWebBrowser.GetMainFrame().EvaluateScriptAsync(jsStr1);
- t1.Wait(1000);
- var t2 = cefWebBrowser.GetMainFrame().EvaluateScriptAsync(jsStr2);
- t2.Wait(1000);
- if (t1.Result?.Result?.ToString() == "success" || t2.Result?.Result?.ToString() == "success")
- success1 = true;
- else
- success1 = false;
- }
- var success2 = false;
- if (cefWebBrowserDetail != null && cefWebBrowserDetail.IsBrowserInitialized && !cefWebBrowserDetail.IsLoading)
- {
- var t1 = cefWebBrowserDetail.GetMainFrame().EvaluateScriptAsync(jsStr1);
- t1.Wait(1000);
- var t2 = cefWebBrowserDetail.GetMainFrame().EvaluateScriptAsync(jsStr2);
- t2.Wait(1000);
- if (t1.Result?.Result?.ToString() == "success" || t2.Result?.Result?.ToString() == "success")
- success2 = true;
- else
- success2 = false;
- }
- if (success1 || success2)
- {
- sleepTime = Randomx.GetId(550, 650);
- }
- else
- sleepTime = Randomx.GetId(1500, 2000);
- }
- catch (Exception ex) { }
- }
- });
- }
- else
- {
- //CEFBrowser.DeleteCookie(cefWebBrowser.RequestContext.GetCookieManager(null));
- CEFBrowser.DeleteCookie(Cef.GetGlobalCookieManager());
-
- //var t = CEFBrowser.SetCookieAsync("jinritemai.com", cookie, cefWebBrowser.RequestContext.GetCookieManager(null));
- var t = CEFBrowser.SetCookieAsync("jinritemai.com", cookie, Cef.GetGlobalCookieManager());
- t.Wait(5000);
-
- cefWebBrowser.Load(mainUrl);
- }
- }
-
- private void LifeSapnHandler_OnPop(object sender, PopData e)
- {
- if (e.Url == "https://fxg.jinritemai.com/alliance/common/redirectBuyin?target_url=%2Fdashboard")
- {
- cefWebBrowser.Load(e.Url);
- return;
- }
-
- string cookie = GlobalConfig.DouUserCookies;
- if (cefWebBrowserDetail == null)
- {
- //cefWebBrowserDetail = CEFBrowser.CreateChromiumWebBrowser(e.Url, false);
- cefWebBrowserDetail = CEFBrowser.CreateChromiumWebBrowser(e.Url);
- var lifeSapnHandler = new LifeSpanHandlerLocal(PopWindowType.NewTitleWindow);
- lifeSapnHandler.OnPop += LifeSapnHandler_OnPop;
- cefWebBrowserDetail.LifeSpanHandler = lifeSapnHandler;
- cefWebBrowserDetail.KeyboardHandler = new NaiBa.CefHelper.Handler.KeyboardHandler();
- cefWebBrowserDetail.FrameLoadEnd += CefWebBrowser_FrameLoadEnd;
- cefWebBrowserDetail.AddressChanged += CefWebBrowser_AddressChanged;
- cefWebBrowserDetail.Dock = DockStyle.Fill;
-
- //var t = CEFBrowser.SetCookieAsync("jinritemai.com", cookie, cefWebBrowserDetail.RequestContext.GetCookieManager(null));
- //var t = CEFBrowser.SetCookieAsync("jinritemai.com", cookie, Cef.GetGlobalCookieManager());
-
- Task.Run(() =>
- {
- while (true)
- {
- Thread.Sleep(15000);
-
- //var jsCode = "window.localStorage;";
- //var task = cefWebBrowserDetail.GetMainFrame().EvaluateScriptAsync(jsCode, null);
- //task.Wait(5000);
- //var result = task.Result.Result;
- //var dic = result as IDictionary;
- //GlobalConfig.dicLocalDetailStorage = dic;
- //StartUp.SaveDouLocalDetailStorage();
- }
- });
-
- Invoke(new Action(() =>
- {
- splitContainer1.Panel2.Controls.Add(cefWebBrowserDetail);
- btnDetailForm_Click(null, null);
- pnlDetailForm.Visible = true;
- }));
- }
- else
- {
- cefWebBrowserDetail.Load(e.Url);
- Invoke(new Action(() =>
- {
- btnDetailForm_Click(null, null);
- }));
- }
-
- Task.Run(() =>
- {
- for (int i = 0; i < 1000 && (cefWebBrowserDetail.IsBrowserInitialized == false || cefWebBrowserDetail.IsLoading); i++)
- {
- Thread.Sleep(10);
- }
-
- var jsCode = "";
- if (GlobalConfig.dicLocalDetailStorage != null)
- {
- foreach (var key in GlobalConfig.dicLocalDetailStorage.Keys)
- {
- if (GlobalConfig.dicLocalDetailStorage[key] is string)
- {
- jsCode += "localStorage.setItem('" + key + "', '" + GlobalConfig.dicLocalDetailStorage[key] + "');\r\n";
- }
- }
- cefWebBrowserDetail.GetBrowser().MainFrame.ExecuteJavaScriptAsync(jsCode);
- }
-
- // 达人邀约
- if (drSetting.InviteType == InviteTypeEnum.Invite)
- {
- if (IsOpenDaRenPage)
- {
- while (cefWebBrowserDetail.IsLoading)
- Thread.Sleep(Randomx.GetId(500, 800));
- retry1:
- Thread.Sleep(Randomx.GetId(500, 1000));
- jsCode = "function jsFunc1() {" +
- " if (document.body.innerHTML.indexOf('>待回复') > 0 || document.body.innerHTML.indexOf('>已同意') > 0) " +
- " return 'had';" +
- " if (document.getElementsByClassName('contact-btn-text text4').length > 0) {" +
- " document.getElementsByClassName('contact-btn-text text4')[0].click(); " +
- " return 'ok';" +
- " }" +
- " return document.body.innerHTML.indexOf('加载失败,请稍后重试') >= 0 ? 'error' : 'noBtn'; " +
- "} " +
- "jsFunc1();";
- var t1 = cefWebBrowserDetail.GetBrowser().MainFrame.EvaluateScriptAsync(jsCode);
- t1.Wait(2000);
- if (t1.Result?.Result?.ToString() == "had")
- {
- IsOpenDaRenPage = false;
- return;
- }
- else if (t1.Result?.Result?.ToString() != "ok")
- {
- Thread.Sleep(Randomx.GetId(800, 1500));
- if (t1.Result?.Result?.ToString() == null || t1.Result?.Result?.ToString() == "error")
- {
- cefWebBrowserDetail.Reload();
- }
- goto retry1;
- }
- Thread.Sleep(Randomx.GetId(500, 800));
- }
- if (IsOpenDaRenPage)
- {
- Thread.Sleep(Randomx.GetId(500, 800));
- jsCode = "function jsFx() {var btns = document.getElementsByClassName('ant-btn ant-btn-primary');" +
- " for (i = 0; i < btns.length; i++) " +
- " {" +
- " if (btns[i].innerHTML.indexOf('我知道了') > 0)" +
- " {" +
- " btns[i].click();" +
- " }" +
- " }" +
- "} jsFx();";
- var tx = cefWebBrowserDetail.GetBrowser().MainFrame.EvaluateScriptAsync(jsCode);
- tx.Wait(2000);
-
- Thread.Sleep(Randomx.GetId(500, 800));
- retry2:
- Thread.Sleep(Randomx.GetId(1200, 2400));
- jsCode = "function jsFunc2() { document.getElementsByClassName('text4 add-product-last-operate')[0].click(); return 'ok'} jsFunc2();";
- var t2 = cefWebBrowserDetail.GetBrowser().MainFrame.EvaluateScriptAsync(jsCode);
- t2.Wait(2000);
- if (t2.Result?.Result?.ToString() != "ok")
- {
- Thread.Sleep(Randomx.GetId(300, 500));
- goto retry2;
- }
- Thread.Sleep(Randomx.GetId(500, 800));
- }
- if (IsOpenDaRenPage)
- {
- Thread.Sleep(Randomx.GetId(500, 800));
- jsCode = "function jsFunc3() {" +
- " var btns = document.getElementsByClassName('auxo-btn auxo-btn-primary');" +
- " for (i = 0; i < btns.length; i++) " +
- " {" +
- " if (btns[i].innerHTML.indexOf('发送邀约') > 0)" +
- " {" +
- " btns[i].click(); return 'ok';" +
- " }" +
- " }" +
- "} " +
- "jsFunc3();";
- var t3 = cefWebBrowserDetail.GetBrowser().MainFrame.EvaluateScriptAsync(jsCode);
- t3.Wait(2000);
-
- Invoke(new Action(() =>
- {
- this.txtSuccessCount.Text = (Convert.ToInt32(this.txtSuccessCount.Text) + 1).ToString();
- }));
- IsOpenDaRenPage = false;
- }
- }
- // 在线沟通
- else
- {
- // 点击沟通按钮
- if (IsOpenDaRenPage)
- {
- chatRetry:
- while (cefWebBrowserDetail.IsLoading)
- Thread.Sleep(Randomx.GetId(500, 1000));
- jsCode = "function jsFunc1() { " +
- " if (document.body.innerHTML.indexOf('>待回复') > 0 || document.body.innerHTML.indexOf('>已同意') > 0) {" +
- " return 'had';" +
- " }" +
- " var btns = document.getElementsByClassName('contact-btn-text text4');" +
- " for (i = 0; i < btns.length; i++) {" +
- " if (btns[i].innerHTML.indexOf('在线沟通') >= 0) {" +
- " btns[i].click(); return 'ok';" +
- " }" +
- " }" +
- " return document.body.innerHTML.indexOf('加载失败,请稍后重试') >= 0 ? 'error' : 'noBtn'; " +
- "}" +
- "jsFunc1();";
- var t1 = cefWebBrowserDetail.GetBrowser().MainFrame.EvaluateScriptAsync(jsCode);
- t1.Wait(2000);
- if (t1.Result?.Result?.ToString() == "had")
- {
- IsOpenDaRenPage = false;
- return;
- }
- else if (t1.Result?.Result?.ToString() != "ok")
- {
- Thread.Sleep(Randomx.GetId(800, 1500));
- if (t1.Result?.Result?.ToString() == "error")
- {
- cefWebBrowserDetail.Reload();
- }
- goto chatRetry;
- }
- Thread.Sleep(Randomx.GetId(500, 800));
- }
-
- // 点击沟通对话框
- if (IsOpenDaRenPage)
- {
- chatRetry:
- while (cefWebBrowserDetail.IsLoading)
- Thread.Sleep(Randomx.GetId(500, 1000));
- Thread.Sleep(2500);
- jsCode = "function jsFuncChat() {" +
- " if (document.getElementsByClassName('im-textarea text-area')[0]) {" +
- " var txt1 = document.getElementsByClassName('im-textarea text-area')[0];" +
- " txt1.focus(); txt1.click(); txt1.innerHTML = '" + drSetting.ChatWords + " ';" +
- " return 'ok';" +
- " }" +
- " return 'noBtn'" +
- "}" +
- "jsFuncChat();";
- var t1 = cefWebBrowserDetail.GetBrowser().MainFrame.EvaluateScriptAsync(jsCode);
- t1.Wait(2000);
- if (t1.Result?.Result?.ToString() != "ok")
- {
- Thread.Sleep(Randomx.GetId(300, 500));
- if (t1.Result?.Result?.ToString() == null || t1.Result?.Result?.ToString() == "error")
- {
- //cefWebBrowserDetail.Reload();
- }
- goto chatRetry;
- }
- Thread.Sleep(Randomx.GetId(500, 800));
-
- chatSendRetry:
-
- var host = cefWebBrowserDetail.GetBrowser().GetHost();
- host.SendKeyEvent(new CefSharp.KeyEvent() { WindowsKeyCode = 8, Type = KeyEventType.RawKeyDown, Modifiers = CefEventFlags.None });
- Thread.Sleep(250 + new Random(DateTime.Now.Millisecond).Next(250));
-
- while (cefWebBrowserDetail.IsLoading)
- Thread.Sleep(Randomx.GetId(500, 1000));
- while (true)
- {
- break;
- }
- Thread.Sleep(2500);
- jsCode = "function jsFuncChatSend() { " +
- " document.getElementsByClassName('send-button')[0].click();" +
- " return 'ok';" +
- "}" +
- "jsFuncChatSend();";
- var t2 = cefWebBrowserDetail.GetBrowser().MainFrame.EvaluateScriptAsync(jsCode);
- t2.Wait(2000);
- if (t2.Result?.Result?.ToString() != "ok")
- {
- Thread.Sleep(Randomx.GetId(300, 500));
- if (t2.Result?.Result?.ToString() == null || t2.Result?.Result?.ToString() == "error")
- {
- //cefWebBrowserDetail.Reload();
- }
- goto chatSendRetry;
- }
-
- Invoke(new Action(() =>
- {
- this.txtSuccessCount.Text = (Convert.ToInt32(this.txtSuccessCount.Text) + 1).ToString();
- }));
- IsOpenDaRenPage = false;
- }
- }
- });
- }
-
- private void CefWebBrowser_AddressChanged(object sender, CefSharp.AddressChangedEventArgs e)
- {
- Invoke(new Action(() => { this.textBox3.Text = e.Address; }));
- if (e.Address.Contains("https://buyin.jinritemai.com/dashboard")) //https://fxg.jinritemai.com/ffa/mshop/homepage/index
- {
- Task.Run(() =>
- {
- //AllBase.Helper.GlobalConfig.DouUserCookies = CEFBrowser.GetCookie("", cefWebBrowser.RequestContext.GetCookieManager(null));
- GlobalConfig.DouUserCookies = CEFBrowser.GetCookie("jinritemai.com", Cef.GetGlobalCookieManager());
- StartUp.SaveDouUserCookies();
- });
- }
- }
-
- private void CefWebBrowser_FrameLoadEnd(object sender, CefSharp.FrameLoadEndEventArgs e)
- {
- }
-
- //int totalPage = 10;
- int currentPage = 1;
- //int pageTimeInterval = 10; // 翻页间隔秒数
- private void btnSend_Click(object sender, EventArgs e)
- {
- try
- {
- this.txtSuccessCount.Text = "0";
- Task.Run(() => { GetDaRen(); });
- }
- catch
- {
- BaseMsgForm.ShowError("请注意参数格式。");
- }
- }
-
- void GetDaRen()
- {
- while (currentPage <= drSetting.TotalPage)
- {
- var html = GetCefHtml(cefWebBrowser);
- var items = BaseRegex.GetMatchRegex(ref html, "data-item-uid=\"([\\s\\S]+?)\"");
- List daRenIdList = new List();
- foreach (Match m in items)
- {
- daRenIdList.Add(m.Groups[1].ToString());
- }
-
- var jsCode = "";
- for (int i = 0; i < daRenIdList.Count; i++)
- {
- Invoke(new Action(() => { btnMainForm_Click(null, null); }));
- jsCode = "document.getElementsByClassName('daren-card')[" + i + "].click();";
- cefWebBrowser.GetMainFrame().EvaluateScriptAsync(jsCode, null);
- //i += 20; // 测试翻页
-
- IsOpenDaRenPage = true;
- while (IsOpenDaRenPage)
- {
- Thread.Sleep(50);
- }
- //while (cefWebBrowserDetail == null || !daRenIdList.Any(d => cefWebBrowserDetail.Address.Contains(d)))
- //{
- // Thread.Sleep(50);
- //}
- //while (cefWebBrowserDetail.IsLoading)
- //{
- // Thread.Sleep(50);
- //}
-
- Thread.Sleep(drSetting.Interval * Randomx.GetId(1000, 1200));
- }
-
- Invoke(new Action(() => { btnMainForm_Click(null, null); }));
- Thread.Sleep(Randomx.GetId(1000, 1200));
- jsCode = "document.getElementsByClassName('anticon anticon-right')[0].click();";
- cefWebBrowser.GetMainFrame().EvaluateScriptAsync(jsCode, null);
- Thread.Sleep(drSetting.PageInterval * Randomx.GetId(1000, 1200));
- currentPage++;
- Invoke(new Action(() => { txtCurrentPage.Text = "" + currentPage; }));
- }
- }
-
- string GetCefHtml(ChromiumWebBrowser browser)
- {
- if (browser.IsBrowserInitialized)
- {
- var task = browser.GetBrowser().MainFrame.GetSourceAsync();
- task.Wait();
- Thread.Sleep(50);
- return task.Result;
- }
- return "";
- }
-
- private void btnMainForm_Click(object sender, EventArgs e)
- {
- if (cefWebBrowser != null)
- cefWebBrowser.BringToFront();
-
- pnlDetailForm.Style.BackColor1.Color = pnlDetailForm.Style.BackColor2.Color = Color.FromArgb(175, 210, 255);
- pnlMainForm.Style.BackColor1.Color = pnlMainForm.Style.BackColor2.Color = Color.White;
- pnlDetailForm.Location = new Point(pnlDetailForm.Location.X, 44);
- pnlMainForm.Location = new Point(pnlMainForm.Location.X, 42);
- }
-
- private void btnDetailForm_Click(object sender, EventArgs e)
- {
- if (cefWebBrowserDetail != null)
- cefWebBrowserDetail.BringToFront();
-
- pnlDetailForm.Style.BackColor1.Color = pnlDetailForm.Style.BackColor2.Color = Color.White;
- pnlMainForm.Style.BackColor1.Color = pnlMainForm.Style.BackColor2.Color = Color.FromArgb(175, 210, 255);
- pnlDetailForm.Location = new Point(pnlDetailForm.Location.X, 42);
- pnlMainForm.Location = new Point(pnlMainForm.Location.X, 44);
- }
-
- private void btnLoginDouyin_Click(object sender, EventArgs e)
- {
- string cookie = "";
- var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopAccount == cmbShop.SelectedItem.ToString());
- if (shop != null)
- cookie = shop.Cookies;
- InitCef(cookie);
- }
-
- private void rbInvite_CheckedChanged(object sender, EventArgs e)
- {
- if (rbInvite.Checked)
- {
- drSetting.InviteType = InviteTypeEnum.Invite;
- SaveDRSetting();
- }
- }
-
- private void rbChat_CheckedChanged(object sender, EventArgs e)
- {
- if (rbChat.Checked)
- {
- drSetting.InviteType = InviteTypeEnum.Chat;
- SaveDRSetting();
- }
- }
-
- private void txtChatWords_TextChanged(object sender, EventArgs e)
- {
- drSetting.ChatWords = txtChatWords.Text;
- SaveDRSetting();
- }
-
- private void txtInterval_TextChanged(object sender, EventArgs e)
- {
- if (txtInterval.Text.ParseToInt() < 10)
- txtInterval.Text = "10";
- drSetting.Interval = drSetting.PageInterval = txtInterval.Text.ParseToInt();
- SaveDRSetting();
- }
-
- private void txtTotalPage_TextChanged(object sender, EventArgs e)
- {
- drSetting.TotalPage = txtInterval.Text.ParseToInt();
- SaveDRSetting();
- }
-
- private void SaveDRSetting()
- {
- NaiBa.Util.Helper.ConfigHelper.SaveConfig("daren_settings", drSetting);
- }
-
- private void textBox3_KeyDown(object sender, KeyEventArgs e)
- {
- if (e.KeyCode == Keys.Enter)
- {
- cefWebBrowser.Load(textBox3.Text);
- }
- }
-
- 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";
- }
-}
diff --git a/TEMUKJD/DashBoardForms/DashBoardForm.resx b/TEMUKJD/DashBoardForms/DashBoardForm.resx
deleted file mode 100644
index b4b6f09..0000000
--- a/TEMUKJD/DashBoardForms/DashBoardForm.resx
+++ /dev/null
@@ -1,123 +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
-
-
\ No newline at end of file
diff --git a/TEMUKJD/KJD.csproj b/TEMUKJD/KJD.csproj
index f894647..256c2df 100644
--- a/TEMUKJD/KJD.csproj
+++ b/TEMUKJD/KJD.csproj
@@ -1,38 +1,22 @@
-
-
-
-
-
+
+
+
+
Debug
AnyCPU
- {7A28B19F-BD0C-45DF-AC1A-78064631745A}
+ {B8EE868D-56CD-4647-BBA5-04BEF24FF9F6}
WinExe
- Properties
TemuKJD
TemuKJD
- v4.5.2
+ v4.6.2
512
true
+ true
- publish\
- true
- Disk
- false
- Foreground
- 7
- Days
- false
- false
- true
- 0
- 1.0.0.%2a
- false
- false
- true
AnyCPU
@@ -43,97 +27,35 @@
DEBUG;TRACE
prompt
4
- true
AnyCPU
pdbonly
true
- ..\bin\
- DEBUG;TRACE
+ bin\Release\
+ TRACE
prompt
4
- false
- true
icon.ico
-
- true
- bin\x64\Debug\
- DEBUG;TRACE
- full
- x64
- prompt
- MinimumRecommendedRules.ruleset
- true
-
-
- bin\x64\Release\
- TRACE
- true
- pdbonly
- x64
- prompt
- MinimumRecommendedRules.ruleset
- true
-
-
- true
- ..\bin\
- DEBUG;TRACE
- full
- AnyCPU
- prompt
- MinimumRecommendedRules.ruleset
- true
- true
-
-
- ..\bin\
- DEBUG;TRACE
- true
- pdbonly
- AnyCPU
- prompt
- MinimumRecommendedRules.ruleset
- true
-
-
- LocalIntranet
-
-
- false
-
-
- Properties\app.manifest
-
-
- ..\packages\AdvancedStringBuilder.0.1.0\lib\net45\AdvancedStringBuilder.dll
+
+ ..\packages\CefSharp.Common.138.0.340\lib\net462\CefSharp.dll
-
- ..\packages\CefSharp.Common.114.2.120\lib\net452\CefSharp.dll
+
+ ..\packages\CefSharp.Common.138.0.340\lib\net462\CefSharp.Core.dll
-
- ..\packages\CefSharp.Common.114.2.120\lib\net452\CefSharp.Core.dll
-
-
- ..\packages\CefSharp.WinForms.114.2.120\lib\net452\CefSharp.WinForms.dll
+
+ ..\packages\CefSharp.WinForms.138.0.340\lib\net462\CefSharp.WinForms.dll
False
..\DllReference\DevComponents.DotNetBar2.dll
-
- ..\packages\JavaScriptEngineSwitcher.Core.3.0.0\lib\net45\JavaScriptEngineSwitcher.Core.dll
-
-
- ..\packages\JavaScriptEngineSwitcher.V8.3.0.5\lib\net45\JavaScriptEngineSwitcher.V8.dll
-
-
- ..\..\KJD Cef92\DllReference\NaiBa.CefHelper.114.dll
+
+ ..\DllReference\NaiBa.CefHelper.138.dll
..\DllReference\NaiBa.Util.dll
@@ -142,13 +64,15 @@
False
..\DllReference\NaiBa.Util.Winform.dll
+
+ False
+ ..\DllReference\NaiBa.Util.Zip.dll
+
..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll
-
- C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.dll
-
-
+
+
False
@@ -166,10 +90,6 @@
-
- False
- ..\DllReference\websocket-sharp.dll
-
@@ -179,36 +99,22 @@
ChangeForm.cs
-
- Form
-
-
- ChatForm.cs
-
-
-
- Form
-
-
- ChatMessageForm.cs
-
-
-
- Form
-
-
- DashBoardForm.cs
-
-
+
Form
InitForm.cs
+
+ Form
+
+
+ AdminAccountForm.cs
+
Form
@@ -221,23 +127,17 @@
AdminShopAddSubSaForm.cs
-
- Form
-
-
- AdminShopLoginForm.cs
-
Form
AdminShopListForm.cs
-
+
Form
-
- AdminAccountForm.cs
+
+ AdminShopLoginForm.cs
@@ -264,24 +164,154 @@
OrderForm.cs
+
+ UserControl
+
+
+ UcCategoryProp.cs
+
+
+ UserControl
+
+
+ UcQualifiaction.cs
+
+
+ Form
+
+
+ CatForm.cs
+
+
+ Form
+
+
+ CleanDataForm.cs
+
+
+ Form
+
+
+ CommissionForm.cs
+
+
+ Form
+
+
+ FilterForm.cs
+
+
+ Form
+
+
+ Fission.cs
+
+
+
+ Form
+
+
+ FissionDataBaseForm.cs
+
+
+ Form
+
+
+ FissionShowBigImgForm.cs
+
+
+ Form
+
+
+ GetUpProductForm.cs
+
+
+ Form
+
+
+ IeForm.cs
+
+
+ Form
+
+
+ ShopProductForm.cs
+
+
+ Form
+
+
+ SpecialDelaySendForm.cs
+
+
+ Form
+
+
+ StockSyncForm.cs
+
+
+ Form
+
+
+ TbSettleSlideForm.cs
+
+
+ Form
+
+
+ Form
+
+
+ UploadProductErrorForm.cs
+
+
+ Form
+
+
+ UploadProductForm.cs
+
+
+ Form
+
+
+ UploadProductViolateSelectForm.cs
+
+
+ Form
+
+
+ ViolateManageForm.cs
+
Form
PriceManageForm.cs
+
+ Form
+
+
+ ProductForm.cs
+
+
+ Form
+
+
+ SaleStockUpForm.cs
+
Form
DbProductEditNotesForm.cs
-
+
Form
-
- DbProductUserSelectEditNotesForm.cs
+
+ DbProductListForm.cs
Form
@@ -289,12 +319,6 @@
DbProductSelectEditNotesForm.cs
-
- Form
-
-
- DbProductListForm.cs
-
Form
@@ -307,6 +331,12 @@
DbProductSelectSetSubSaForm.cs
+
+ Form
+
+
+ DbProductUserSelectEditNotesForm.cs
+
Form
@@ -343,66 +373,6 @@
MarketingActivityForm.cs
-
- Form
-
-
- FullMinusActiveForm.cs
-
-
- Form
-
-
- FullMinusForm.cs
-
-
- Form
-
-
- FullMinusShopForm.cs
-
-
- Form
-
-
- GroupBuyMonitorForm.cs
-
-
- Form
-
-
- LimitedSalesActivityNameForm.cs
-
-
- Form
-
-
- GroupBuyCustomActivityNameForm.cs
-
-
- Form
-
-
- GroupBuyForm.cs
-
-
- Form
-
-
- GroupBuyShopForm.cs
-
-
- Form
-
-
- LimitedSalesManagerActiveForm.cs
-
-
- UserControl
-
-
- UcCouponAddParam.cs
-
Form
@@ -433,30 +403,96 @@
DouProductProPromotionListSkuInfoForm.cs
+
+ Form
+
+
+ FullMinusActiveForm.cs
+
+
+ Form
+
+
+ FullMinusForm.cs
+
+
+ Form
+
+
+ FullMinusShopForm.cs
+
+
+ Form
+
+
+ GroupBuyCustomActivityNameForm.cs
+
+
+ Form
+
+
+ GroupBuyForm.cs
+
+
+ Form
+
+
+ GroupBuyMonitorForm.cs
+
+
+ Form
+
+
+ GroupBuyShopForm.cs
+
+
+ Form
+
+
+ LimitedSalesActivityNameForm.cs
+
+
+ Form
+
+
+ LimitedSalesManagerActiveForm.cs
+
Form
SeckillingAndLimitedSalesForm.cs
-
- Form
-
-
- SalesCenterForm.cs
-
Form
SeckillingAndLimitedSalesShopForm.cs
+
+ UserControl
+
+
+ UcCouponAddParam.cs
+
+
+ Form
+
+
+ SalesCenterForm.cs
+
UserControl
UcActivityDiscountCtrl.cs
+
+ Form
+
+
+ FreightTemplateAddForm.cs
+
Form
@@ -487,6 +523,12 @@
MaterialManageForm.cs
+
+ Form
+
+
+ ShopAuthForm.cs
+
Form
@@ -499,11 +541,17 @@
ShopAddEditForm.cs
-
+
Form
-
- ShopAuthForm.cs
+
+ ShopForm.cs
+
+
+ Form
+
+
+ ShopListForm.cs
Form
@@ -511,12 +559,6 @@
ShopLoginForm.cs
-
- Form
-
-
- FreightTemplateAddForm.cs
-
Form
@@ -559,6 +601,12 @@
OptimizeForm.cs
+
+ Form
+
+
+ SystemForm.cs
+
Form
@@ -577,6 +625,12 @@
ChangeIPForm.cs
+
+ Form
+
+
+ IeForm.cs
+
Form
@@ -625,160 +679,6 @@
TokenNewForm.cs
-
- Form
-
-
- CatForm.cs
-
-
- Form
-
-
- CleanDataForm.cs
-
-
- Form
-
-
- CommissionForm.cs
-
-
- Form
-
-
- FilterForm.cs
-
-
- Form
-
-
- Fission.cs
-
-
- Form
-
-
- FissionDataBaseForm.cs
-
-
- Form
-
-
- FissionShowBigImgForm.cs
-
-
- UserControl
-
-
- UcCategoryProp.cs
-
-
- Form
-
-
- GetUpProductForm.cs
-
-
- Form
-
-
- IeForm.cs
-
-
-
- Form
-
-
- SaleStockUpForm.cs
-
-
- Form
-
-
- UploadProductErrorForm.cs
-
-
- Form
-
-
- UploadProductViolateSelectForm.cs
-
-
- Form
-
-
- ViolateManageForm.cs
-
-
- UserControl
-
-
- UcQualifiaction.cs
-
-
- Form
-
-
- SpecialDelaySendForm.cs
-
-
- Form
-
-
- StockSyncForm.cs
-
-
- Form
-
-
- TbSettleSlideForm.cs
-
-
- Form
-
-
- ProductForm.cs
-
-
- Form
-
-
- Form
-
-
- UploadProductForm.cs
-
-
- Form
-
-
- SystemForm.cs
-
-
- Form
-
-
- IeForm.cs
-
-
- Form
-
-
- ShopForm.cs
-
-
- Form
-
-
- ShopListForm.cs
-
-
- Form
-
-
- ShopProductForm.cs
-
Form
@@ -787,11 +687,6 @@
-
- True
- True
- Resources.resx
-
Form
@@ -802,10 +697,10 @@
Component
-
+
Component
-
+
Component
@@ -861,12 +756,6 @@
UcSplitPage.cs
-
- Form
-
-
- SupportQrCodeForm.cs
-
Form
@@ -885,18 +774,15 @@
ResetPasswordForm.cs
+
+ Form
+
+
+ SupportQrCodeForm.cs
+
ChangeForm.cs
-
- ChatForm.cs
-
-
- ChatMessageForm.cs
-
-
- DashBoardForm.cs
-
InitForm.cs
@@ -909,12 +795,12 @@
AdminShopAddSubSaForm.cs
-
- AdminShopLoginForm.cs
-
AdminShopListForm.cs
+
+ AdminShopLoginForm.cs
+
BaseForm.cs
@@ -927,27 +813,90 @@
OrderForm.cs
+
+ UcCategoryProp.cs
+
+
+ UcQualifiaction.cs
+
+
+ CatForm.cs
+
+
+ CleanDataForm.cs
+
+
+ CommissionForm.cs
+
+
+ FilterForm.cs
+
+
+ Fission.cs
+
+
+ FissionDataBaseForm.cs
+
+
+ FissionShowBigImgForm.cs
+
+
+ GetUpProductForm.cs
+
+
+ IeForm.cs
+
+
+ ShopProductForm.cs
+
+
+ SpecialDelaySendForm.cs
+
+
+ StockSyncForm.cs
+
+
+ TbSettleSlideForm.cs
+
+
+ UploadProductErrorForm.cs
+
+
+ UploadProductForm.cs
+
+
+ UploadProductViolateSelectForm.cs
+
+
+ ViolateManageForm.cs
+
PriceManageForm.cs
+
+ ProductForm.cs
+
+
+ SaleStockUpForm.cs
+
DbProductEditNotesForm.cs
-
- DbProductUserSelectEditNotesForm.cs
+
+ DbProductListForm.cs
DbProductSelectEditNotesForm.cs
-
- DbProductListForm.cs
-
DbProductSelectListManageForm.cs
DbProductSelectSetSubSaForm.cs
+
+ DbProductUserSelectEditNotesForm.cs
+
DbProductUserSelectForm.cs
@@ -966,36 +915,6 @@
MarketingActivityForm.cs
-
- FullMinusActiveForm.cs
-
-
- FullMinusForm.cs
-
-
- FullMinusShopForm.cs
-
-
- GroupBuyMonitorForm.cs
-
-
- LimitedSalesActivityNameForm.cs
-
-
- GroupBuyCustomActivityNameForm.cs
-
-
- GroupBuyForm.cs
-
-
- GroupBuyShopForm.cs
-
-
- LimitedSalesManagerActiveForm.cs
-
-
- UcCouponAddParam.cs
-
CouponForm.cs
@@ -1011,8 +930,32 @@
DouProductProPromotionListSkuInfoForm.cs
-
- SalesCenterForm.cs
+
+ FullMinusActiveForm.cs
+
+
+ FullMinusForm.cs
+
+
+ FullMinusShopForm.cs
+
+
+ GroupBuyCustomActivityNameForm.cs
+
+
+ GroupBuyForm.cs
+
+
+ GroupBuyMonitorForm.cs
+
+
+ GroupBuyShopForm.cs
+
+
+ LimitedSalesActivityNameForm.cs
+
+
+ LimitedSalesManagerActiveForm.cs
SeckillingAndLimitedSalesForm.cs
@@ -1020,9 +963,18 @@
SeckillingAndLimitedSalesShopForm.cs
+
+ UcCouponAddParam.cs
+
+
+ SalesCenterForm.cs
+
UcActivityDiscountCtrl.cs
+
+ FreightTemplateAddForm.cs
+
FreightTemplateForm.cs
Designer
@@ -1039,21 +991,24 @@
MaterialManageForm.cs
+
+ ShopAuthForm.cs
+
ReturnPackageDetailForm.cs
ShopAddEditForm.cs
-
- ShopAuthForm.cs
+
+ ShopForm.cs
+
+
+ ShopListForm.cs
ShopLoginForm.cs
-
- FreightTemplateAddForm.cs
-
ShopUpdateCookieForm.cs
@@ -1075,6 +1030,9 @@
OptimizeForm.cs
+
+ SystemForm.cs
+
SystemRemoveRestrictionsForm.cs
@@ -1084,6 +1042,9 @@
ChangeIPForm.cs
+
+ IeForm.cs
+
CollectVerifyForm.cs
@@ -1108,89 +1069,19 @@
TokenNewForm.cs
-
- CatForm.cs
-
-
- CleanDataForm.cs
-
-
- CommissionForm.cs
-
-
- FilterForm.cs
-
-
- Fission.cs
-
-
- FissionDataBaseForm.cs
-
-
- FissionShowBigImgForm.cs
-
-
- UcCategoryProp.cs
-
-
- GetUpProductForm.cs
-
-
- IeForm.cs
-
-
- SaleStockUpForm.cs
-
-
- UploadProductErrorForm.cs
-
-
- UploadProductViolateSelectForm.cs
-
-
- ViolateManageForm.cs
-
-
- UcQualifiaction.cs
-
-
- SpecialDelaySendForm.cs
-
-
- StockSyncForm.cs
-
-
- TbSettleSlideForm.cs
-
-
- ProductForm.cs
-
-
- UploadProductForm.cs
-
-
- SystemForm.cs
-
-
- IeForm.cs
-
-
- ShopForm.cs
-
-
- ShopListForm.cs
-
-
- ShopProductForm.cs
-
MainForm.cs
ResXFileCodeGenerator
- Designer
Resources.Designer.cs
+ Designer
+
+ True
+ Resources.resx
+ True
+
TaobaoLoginForm.cs
@@ -1200,9 +1091,6 @@
UcSplitPage.cs
-
- SupportQrCodeForm.cs
-
LoginForm.cs
@@ -1212,8 +1100,10 @@
ResetPasswordForm.cs
+
+ SupportQrCodeForm.cs
+
-
SettingsSingleFileGenerator
Settings.Designer.cs
@@ -1223,25 +1113,106 @@
Settings.settings
True
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1253,121 +1224,15 @@
Work
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- False
- .NET Framework 3.5 SP1
- false
-
-
-
-
-
-
-
-
-
-
这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。
-
-
-
-
+
+
+
+
-
-
+
\ No newline at end of file
diff --git a/TEMUKJD/KJD.csproj.user b/TEMUKJD/KJD.csproj.user
deleted file mode 100644
index 7a74901..0000000
--- a/TEMUKJD/KJD.csproj.user
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- ShowAllFiles
- publish\
-
-
-
-
-
- zh-CN
- false
-
-
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/AdminForms/AdminShopLoginForm.cs b/TEMUKJD/KJDForms/AdminForms/AdminShopLoginForm.cs
index b4a1d62..9e9b8cc 100644
--- a/TEMUKJD/KJDForms/AdminForms/AdminShopLoginForm.cs
+++ b/TEMUKJD/KJDForms/AdminForms/AdminShopLoginForm.cs
@@ -3,7 +3,7 @@ using AllBase.Helper;
using AllBase.Model.Result;
using CefSharp;
using CefSharp.WinForms;
-using TemuKJD.DashBoardForms;
+//using TemuKJD.DashBoardForms;
using TemuKJD.Helper;
using TemuKJD.KJDForms.BaseForms;
using Microsoft.Win32;
@@ -20,13 +20,11 @@ using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
-using System.Web.Hosting;
using System.Windows.Forms;
using Work;
using Work.BLL.Tools;
using TemuKJD.KJDForms.ShopForms;
using TemuKJD.KJDForms.ToolForms;
-
namespace TemuKJD.KJDForms.AdminForms
{
public partial class AdminShopLoginForm : LRBaseForm
@@ -122,7 +120,8 @@ namespace TemuKJD.KJDForms.AdminForms
continue;
string cookies = "";
- List cookieList = CEFBrowser.GetCookieList(shopCookieHead, cefWebBrowser.RequestContext.GetCookieManager(null));
+ //List cookieList = CEFBrowser.GetCookieList(shopCookieHead, cefWebBrowser.RequestContext.GetCookieManager(null)); // cef138
+ List cookieList = CEFBrowser.GetCookieList(shopCookieHead, cefWebBrowser.GetCookieManager(null));
var keys = new string[] { "a42", "_bee", "_f77", "_nano_fp", "api_uid", "rckk", "ru1k", "ru2k", "SUB_PASS_ID" };
if (cookieList != null && cookieList.Count > 0)
@@ -209,7 +208,8 @@ namespace TemuKJD.KJDForms.AdminForms
else
{
var cookie2 = shop.Cookies2;
- var t = CEFBrowser.SetCookieAsync(shopCookieHead2, cookie2, cefWebBrowser.RequestContext.GetCookieManager(null));
+ //var t = CEFBrowser.SetCookieAsync(shopCookieHead2, cookie2, cefWebBrowser.RequestContext.GetCookieManager(null)); // cef138
+ var t = CEFBrowser.SetCookieAsync(shopCookieHead2, cookie2, cefWebBrowser.GetCookieManager(null));
t.Wait(5000);
cefWebBrowser.Load("https://agentseller.temu.com");
}
@@ -228,7 +228,8 @@ namespace TemuKJD.KJDForms.AdminForms
continue;
string cookies2 = "";
- List cookieList2 = CEFBrowser.GetCookieList(shopCookieHead2, cefWebBrowser.RequestContext.GetCookieManager(null));
+ //List cookieList2 = CEFBrowser.GetCookieList(shopCookieHead2, cefWebBrowser.RequestContext.GetCookieManager(null));
+ List cookieList2 = CEFBrowser.GetCookieList(shopCookieHead2, cefWebBrowser.GetCookieManager(null)); // cef138
if (cookieList2 != null && cookieList2.Count > 0)
{
for(int i =0; i < cookieList2.Count; i++)
@@ -355,16 +356,26 @@ namespace TemuKJD.KJDForms.AdminForms
///
private void AutoLogin()
{
+ if (InvokeRequired)
+ {
+ }
if (shop == null)
return;
if (cefWebBrowser == null)
{
//cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser("about:blank", false);
+ var setting = new CefSettings();
+ if (Cef.IsInitialized != true)
+ {
+ var rst = Cef.InitializeAsync(setting);
+ rst.Wait();
+ }
+
if (!string.IsNullOrEmpty(InitUrl))
- cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser(InitUrl, false);
+ cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser(InitUrl, true);
else
- cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser(shopMainUrl, false);
+ cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser(shopMainUrl, true);
CustomResourceRequestHandlerLocal resourceRequestHandler = new CustomResourceRequestHandlerLocal();
resourceRequestHandler.ResourceLoadCompleteEvent += RequestHandler_ResourceLoadComplete;
cefWebBrowser.RequestHandler = new CustomRequestHandler(resourceRequestHandler);
@@ -401,21 +412,26 @@ namespace TemuKJD.KJDForms.AdminForms
Task.Run(() =>
{
- var t = CEFBrowser.SetCookieAsync(shopCookieHead, cookie, cefWebBrowser.RequestContext.GetCookieManager(null));
- t.Wait(5000);
-
- if (this.openType != EnumOpenType.login)
- {
- var cookie2 = shop.Cookies2;
- var t2 = CEFBrowser.SetCookieAsync(shopCookieHead2, cookie2, cefWebBrowser.RequestContext.GetCookieManager(null));
- t2.Wait(5000);
- }
-
Invoke(new Action(() =>
{
splitContainer1.Panel1.Controls.Add(cefWebBrowser);
//cefWebBrowser.Load(shopMainUrl);
}));
+ while (!cefWebBrowser.IsBrowserInitialized || !cefWebBrowser.GetBrowser().MainFrame.IsValid)
+ Thread.Sleep(20);
+ CEFBrowser.DeleteCookie(cefWebBrowser.GetCookieManager(null));
+
+ //var t = CEFBrowser.SetCookieAsync(shopCookieHead, cookie, cefWebBrowser.RequestContext.GetCookieManager(null)); // cef138
+ var t = CEFBrowser.SetCookieAsync(shopCookieHead, cookie, cefWebBrowser.GetCookieManager(null));
+ t.Wait(5000);
+
+ if (this.openType != EnumOpenType.login)
+ {
+ var cookie2 = shop.Cookies2;
+ //var t2 = CEFBrowser.SetCookieAsync(shopCookieHead2, cookie2, cefWebBrowser.RequestContext.GetCookieManager(null));
+ var t2 = CEFBrowser.SetCookieAsync(shopCookieHead2, cookie2, cefWebBrowser.GetCookieManager(null)); // cef138
+ t2.Wait(5000);
+ }
//根据登录的具体店铺设置local storage
if (!string.IsNullOrEmpty(shop.ShopId))
@@ -483,7 +499,8 @@ namespace TemuKJD.KJDForms.AdminForms
{
if (lifeHandler.parent != null)
{
- var cookies = CEFBrowser.GetCookieList("", lifeHandler.parent.RequestContext.GetCookieManager(null));
+ //var cookies = CEFBrowser.GetCookieList("", lifeHandler.parent.RequestContext.GetCookieManager(null)); // cef138
+ var cookies = CEFBrowser.GetCookieList("", lifeHandler.parent.GetCookieManager(null));
Invoke(new Action(() =>
{
CefForm cefForm = new CefForm(targetUrl, cookies);
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/Fission.cs b/TEMUKJD/KJDForms/ProductForms/Old/Fission.cs
index 9740d56..3a2927e 100644
--- a/TEMUKJD/KJDForms/ProductForms/Old/Fission.cs
+++ b/TEMUKJD/KJDForms/ProductForms/Old/Fission.cs
@@ -24,10 +24,8 @@ using Work.Api;
using System.Threading;
using TemuKJD.KJDForms.ToolForms;
using TemuKJD.KJDForms.ToolForms.JDVerify;
-using NaiBa.Util;
using Work.DouyinApiClass;
using Work.BLL.Upload;
-using NaiBa.CefHelper;
using AllBase.Model.Param.ProductManage;
using TemuKJD.KJDForms.ProductForms.FissionUserControl;
using AllBase.Model.Result;
diff --git a/TEMUKJD/KJDForms/ProductForms/Old/IeForm.cs b/TEMUKJD/KJDForms/ProductForms/Old/IeForm.cs
index 5e86a7e..3d37723 100644
--- a/TEMUKJD/KJDForms/ProductForms/Old/IeForm.cs
+++ b/TEMUKJD/KJDForms/ProductForms/Old/IeForm.cs
@@ -64,7 +64,7 @@ namespace TemuKJD.KJDForms
}
RequestContextSettings requestContextSettings = new RequestContextSettings();
requestContextSettings.PersistSessionCookies = false;
- requestContextSettings.PersistUserPreferences = false;
+ //cef138//requestContextSettings.PersistUserPreferences = false;
cefWebBrowser3.RequestContext = new RequestContext(requestContextSettings);
cefWebBrowser3.Dock = DockStyle.Fill;
cefWebBrowser3.AutoSize = true;
diff --git a/TEMUKJD/KJDForms/ShopForms/Old/FreightTemplateAddForm.cs b/TEMUKJD/KJDForms/ShopForms/Old/FreightTemplateAddForm.cs
index e8ec552..c856e3e 100644
--- a/TEMUKJD/KJDForms/ShopForms/Old/FreightTemplateAddForm.cs
+++ b/TEMUKJD/KJDForms/ShopForms/Old/FreightTemplateAddForm.cs
@@ -24,36 +24,36 @@ namespace TemuKJD.KJDForms.ShopForms
public partial class FreightTemplateAddForm : BaseForm
{
public static List ids = new List();
-
+
public FreightTemplateAddForm()
{
InitializeComponent();
}
-
-
+
+
private void btnSave_Click(object sender, EventArgs e)
{
string template_name = txtTemplate.Text.ToString();
- int num =0;
+ int num = 0;
decimal price = 0;
int addnum = 0;
decimal addPrcie = 0;
if (rbcost0.Checked)
{
- num = Convert.ToInt32(txtNum.Text);
- price = Convert.ToDecimal(txtPrice.Text);
- addnum = Convert.ToInt32(txtAddNum.Text);
- addPrcie = Convert.ToDecimal(txtAddPrcie.Text);
+ num = Convert.ToInt32(txtNum.Text);
+ price = Convert.ToDecimal(txtPrice.Text);
+ addnum = Convert.ToInt32(txtAddNum.Text);
+ addPrcie = Convert.ToDecimal(txtAddPrcie.Text);
}
var prov = cobProvince.SelectedItem as ListItem;
int pid = int.Parse(prov.Value);
var city = cobCity.SelectedItem as ListItem;
int cid = int.Parse(city.Value);
- ids = dgvShop.Rows.Cast()
- .Where(r1 => r1.Cells["colSelect"].Value.ToString().ToLower() == "true")
- .Select(r2 => r2.Cells["colShopId"].Value?.ToString()).ToList();
+ ids = dgvShop.Rows.Cast()
+ .Where(r1 => r1.Cells["colSelect"].Value.ToString().ToLower() == "true")
+ .Select(r2 => r2.Cells["colShopId"].Value?.ToString()).ToList();
- Task.Run(()=> {
+ Task.Run(() => {
for (int i = 0; i < GlobalConfig.ShopLoginList.Count; i++)
{
var shop = GlobalConfig.ShopLoginList[i];
@@ -99,32 +99,32 @@ namespace TemuKJD.KJDForms.ShopForms
data = HttpUtility.UrlEncode(data, Encoding.UTF8).Replace("%3d", "=").Replace("%26", "&");
string html = GetPostTaobaoHtml.UploadFxgPost(url, refere, true, data, shop.Cookies);
long template_id = BaseRegex.GetLongJson(ref html, "template_id");
- if (template_id>0)
+ if (template_id > 0)
{
RefreshDataGridView(shop, "运费模板设置成功");
- RefreshLog(shop.ShopAccount+"运费模板设置成功");
-
+ RefreshLog(shop.ShopAccount + "运费模板设置成功");
+
}
else
{
RefreshDataGridView(shop, "运费模板设置失败");
RefreshLog(shop.ShopAccount + "运费模板设置失败");
-
+
}
-
+
}
});
-
+
}
int count = 0;
- public void RefreshDataGridView(ShopLoginInfo shop,string message)
+ public void RefreshDataGridView(ShopLoginInfo shop, string message)
{
this.Invoke(new Action(() =>
{
count++;
for (int i = 0; i < dgvShop.Rows.Count; i++)
{
- if (shop.ShopId== dgvShop.Rows[i].Cells["colShopId"].Value.ToString())
+ if (shop.ShopId == dgvShop.Rows[i].Cells["colShopId"].Value.ToString())
{
dgvShop.Rows[i].Cells["colStatus"].Value = message;
break;
@@ -185,7 +185,7 @@ namespace TemuKJD.KJDForms.ShopForms
{
if (rbtype1.Checked)
{
- label5.Text= "件以内,";
+ label5.Text = "件以内,";
label7.Text = "件,增加运费";
}
}
@@ -203,7 +203,7 @@ namespace TemuKJD.KJDForms.ShopForms
{
var area = cobProvince.SelectedItem as ListItem;
int id = int.Parse(area.Value);
- var shop = GlobalConfig.ShopLoginList.Where(s=>s.LoginStatus=="登录成功").FirstOrDefault();
+ var shop = GlobalConfig.ShopLoginList.Where(s => s.LoginStatus == "登录成功").FirstOrDefault();
if (shop == null)
return;
List list = new List();
@@ -219,7 +219,7 @@ namespace TemuKJD.KJDForms.ShopForms
string temp = m[i].Groups[0].Value;
long pid = BaseRegex.GetLongJson(ref temp, "city_id");
string pname = BaseRegex.GetStringJson(ref temp, "city");
- list.Add(new ListItem(pname,pid.ToString()));
+ list.Add(new ListItem(pname, pid.ToString()));
}
cobCity.DisplayMember = "Text";
cobCity.ValueMember = "Value";
@@ -257,7 +257,7 @@ namespace TemuKJD.KJDForms.ShopForms
{
string item = striparr[i];
string pname = item.Split(':')[0];
- string pid= item.Split(':')[1];
+ string pid = item.Split(':')[1];
list.Add(new ListItem(pname, pid));
}
cobProvince.DisplayMember = "Text";
diff --git a/TEMUKJD/KJDForms/ShopForms/ShopListForm.cs b/TEMUKJD/KJDForms/ShopForms/ShopListForm.cs
index 757b168..6534313 100644
--- a/TEMUKJD/KJDForms/ShopForms/ShopListForm.cs
+++ b/TEMUKJD/KJDForms/ShopForms/ShopListForm.cs
@@ -957,11 +957,15 @@ namespace TemuKJD.KJDForms.ShopForms
private void btnRefreshCookie_Click(object sender, EventArgs e)
{
this.pbLoading.Visible = true;
- this.btnRefreshShop.Enabled = false;
+ this.splitContainer1.Panel1.Enabled = false;
var t = Task.Run(() =>
{
- UpdateShop();
- RefreshDataGridView(false);
+ try
+ {
+ UpdateShop();
+ RefreshDataGridView(false);
+ }
+ catch (Exception ex) { BaseMsgForm.ShowError(ex.Message); }
});
Task.Run(() =>
{
@@ -973,7 +977,7 @@ namespace TemuKJD.KJDForms.ShopForms
Invoke(new Action(() =>
{
this.pbLoading.Visible = false;
- this.btnRefreshShop.Enabled = true;
+ this.splitContainer1.Panel1.Enabled = true;
}));
}
}
@@ -1086,9 +1090,36 @@ namespace TemuKJD.KJDForms.ShopForms
private void btnSearch_Click(object sender, EventArgs e)
{
+ //Task.Run(() =>
+ //{
+ // RefreshDataGridView(false);
+ //});
+
+ this.pbLoading.Visible = true;
+ this.splitContainer1.Panel1.Enabled = false;
+ var t = Task.Run(() =>
+ {
+ try
+ {
+ UpdateShop();
+ RefreshDataGridView(false);
+ }
+ catch (Exception ex) { BaseMsgForm.ShowError(ex.Message); }
+ });
Task.Run(() =>
{
- RefreshDataGridView(false);
+ while (true)
+ {
+ Thread.Sleep(1000);
+ if (t.IsCompleted || t.IsCanceled || t.IsFaulted)
+ {
+ Invoke(new Action(() =>
+ {
+ this.pbLoading.Visible = false;
+ this.splitContainer1.Panel1.Enabled = true;
+ }));
+ }
+ }
});
}
diff --git a/TEMUKJD/KJDForms/ShopForms/ShopLoginForm.cs b/TEMUKJD/KJDForms/ShopForms/ShopLoginForm.cs
index 8238796..2f7c8d8 100644
--- a/TEMUKJD/KJDForms/ShopForms/ShopLoginForm.cs
+++ b/TEMUKJD/KJDForms/ShopForms/ShopLoginForm.cs
@@ -3,7 +3,7 @@ using AllBase.Helper;
using AllBase.Model.Result;
using CefSharp;
using CefSharp.WinForms;
-using TemuKJD.DashBoardForms;
+//using TemuKJD.DashBoardForms;
using TemuKJD.Helper;
using TemuKJD.KJDForms.BaseForms;
using Microsoft.Win32;
@@ -20,7 +20,7 @@ using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
-using System.Web.Hosting;
+//using System.Web.Hosting;
using System.Windows.Forms;
using Work;
using Work.BLL.Tools;
@@ -122,7 +122,7 @@ namespace TemuKJD.KJDForms.ShopForms
continue;
string cookies = "";
- List cookieList = CEFBrowser.GetCookieList(shopCookieHead, cefWebBrowser.RequestContext.GetCookieManager(null));
+ List cookieList = CEFBrowser.GetCookieList(shopCookieHead, cefWebBrowser.GetCookieManager(null));
if (cookieList != null && cookieList.Count > 0)
{
foreach (var cookie in cookieList)
@@ -213,7 +213,7 @@ namespace TemuKJD.KJDForms.ShopForms
else
{
var cookie2 = shop.Cookies2;
- var t = CEFBrowser.SetCookieAsync(shopCookieHead2, cookie2, cefWebBrowser.RequestContext.GetCookieManager(null));
+ var t = CEFBrowser.SetCookieAsync(shopCookieHead2, cookie2, cefWebBrowser.GetCookieManager(null));
t.Wait(5000);
cefWebBrowser.Load("https://agentseller.temu.com");
}
@@ -233,7 +233,7 @@ namespace TemuKJD.KJDForms.ShopForms
continue;
string cookies2 = "";
- List cookieList2 = CEFBrowser.GetCookieList(shopCookieHead2, cefWebBrowser.RequestContext.GetCookieManager(null));
+ List cookieList2 = CEFBrowser.GetCookieList(shopCookieHead2, cefWebBrowser.GetCookieManager(null));
if (cookieList2 != null && cookieList2.Count > 0)
{
for (int i = 0; i < cookieList2.Count; i++)
@@ -375,10 +375,10 @@ namespace TemuKJD.KJDForms.ShopForms
if (cefWebBrowser == null)
{
//cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser("about:blank", false);
- if (!string.IsNullOrEmpty(InitUrl))
- cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser(InitUrl, false);
+ if (!string.IsNullOrEmpty(InitUrl)) //temu国际版不支持无痕模式多开,此处改为true,每次创建cefwebbrowser时删除cookie
+ cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser(InitUrl, true);
else
- cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser(shopMainUrl, false);
+ cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser(shopMainUrl, true);
CustomResourceRequestHandlerLocal resourceRequestHandler = new CustomResourceRequestHandlerLocal();
resourceRequestHandler.ResourceLoadCompleteEvent += RequestHandler_ResourceLoadComplete;
cefWebBrowser.RequestHandler = new CustomRequestHandler(resourceRequestHandler);
@@ -413,21 +413,26 @@ namespace TemuKJD.KJDForms.ShopForms
Task.Run(() =>
{
- var t = CEFBrowser.SetCookieAsync(shopCookieHead, cookie, cefWebBrowser.RequestContext.GetCookieManager(null));
- t.Wait(5000);
-
- if (this.openType != EnumOpenType.login)
- {
- var cookie2 = shop.Cookies2;
- var t2 = CEFBrowser.SetCookieAsync(shopCookieHead2, cookie2, cefWebBrowser.RequestContext.GetCookieManager(null));
- t2.Wait(5000);
- }
-
Invoke(new Action(() =>
{
splitContainer1.Panel1.Controls.Add(cefWebBrowser);
//cefWebBrowser.Load(shopMainUrl);
}));
+ // cef138必须init后方可设置或删除cookie
+ while (!cefWebBrowser.IsBrowserInitialized || !cefWebBrowser.GetBrowser().MainFrame.IsValid)
+ Thread.Sleep(20);
+ CEFBrowser.DeleteCookie(cefWebBrowser.GetCookieManager(null));
+
+ //cef 138 如果没有设置RequestContext 可能为空,直接getCookieManager
+ var t = CEFBrowser.SetCookieAsync(shopCookieHead, cookie, cefWebBrowser.GetCookieManager(null));
+ t.Wait(5000);
+
+ if (this.openType != EnumOpenType.login)
+ {
+ var cookie2 = shop.Cookies2;
+ var t2 = CEFBrowser.SetCookieAsync(shopCookieHead2, cookie2, cefWebBrowser.GetCookieManager(null));
+ t2.Wait(5000);
+ }
//根据登录的具体店铺设置local storage
if (!string.IsNullOrEmpty(shop.ShopId))
diff --git a/TEMUKJD/KJDForms/ShopForms/ShopUpdateCookieForm.Designer.cs b/TEMUKJD/KJDForms/ShopForms/ShopUpdateCookieForm.Designer.cs
index 3ea0525..a731a77 100644
--- a/TEMUKJD/KJDForms/ShopForms/ShopUpdateCookieForm.Designer.cs
+++ b/TEMUKJD/KJDForms/ShopForms/ShopUpdateCookieForm.Designer.cs
@@ -30,138 +30,251 @@
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ShopUpdateCookieForm));
this.panel2 = new System.Windows.Forms.Panel();
- this.buttonEx1 = new TemuKJD.UserControls.ButtonEx();
- this.label8 = new System.Windows.Forms.Label();
- this.txtCookieJs = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.splitContainer1 = new System.Windows.Forms.SplitContainer();
+ this.txtCookieJs1 = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.label3 = new System.Windows.Forms.Label();
+ this.txtSubPassId = new System.Windows.Forms.TextBox();
this.txtLoginName = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
- this.btnOk = new TemuKJD.UserControls.ButtonEx();
- this.radioButton1 = new System.Windows.Forms.RadioButton();
+ this.label2 = new System.Windows.Forms.Label();
+ this.txtSellerTemp = new System.Windows.Forms.TextBox();
this.radioButton2 = new System.Windows.Forms.RadioButton();
+ this.radioButton1 = new System.Windows.Forms.RadioButton();
+ this.buttonEx1 = new TemuKJD.UserControls.ButtonEx();
+ this.label8 = new System.Windows.Forms.Label();
+ this.txtCookieJs2 = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.btnOk = new TemuKJD.UserControls.ButtonEx();
+ this.label4 = new System.Windows.Forms.Label();
this.panel2.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
+ this.splitContainer1.Panel1.SuspendLayout();
+ this.splitContainer1.Panel2.SuspendLayout();
+ this.splitContainer1.SuspendLayout();
this.SuspendLayout();
//
// panel2
//
this.panel2.BackColor = System.Drawing.Color.White;
- this.panel2.Controls.Add(this.radioButton2);
- this.panel2.Controls.Add(this.radioButton1);
- this.panel2.Controls.Add(this.buttonEx1);
- this.panel2.Controls.Add(this.label8);
- this.panel2.Controls.Add(this.txtCookieJs);
- this.panel2.Controls.Add(this.txtLoginName);
- this.panel2.Controls.Add(this.label1);
- this.panel2.Controls.Add(this.btnOk);
+ 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(575, 492);
+ this.panel2.Size = new System.Drawing.Size(698, 686);
this.panel2.TabIndex = 1;
//
+ // splitContainer1
+ //
+ this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
+ 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.label4);
+ this.splitContainer1.Panel1.Controls.Add(this.txtCookieJs1);
+ this.splitContainer1.Panel1.Controls.Add(this.label3);
+ this.splitContainer1.Panel1.Controls.Add(this.txtSubPassId);
+ this.splitContainer1.Panel1.Controls.Add(this.txtLoginName);
+ this.splitContainer1.Panel1.Controls.Add(this.label1);
+ //
+ // splitContainer1.Panel2
+ //
+ this.splitContainer1.Panel2.Controls.Add(this.label2);
+ this.splitContainer1.Panel2.Controls.Add(this.txtSellerTemp);
+ this.splitContainer1.Panel2.Controls.Add(this.radioButton2);
+ this.splitContainer1.Panel2.Controls.Add(this.radioButton1);
+ this.splitContainer1.Panel2.Controls.Add(this.buttonEx1);
+ this.splitContainer1.Panel2.Controls.Add(this.label8);
+ this.splitContainer1.Panel2.Controls.Add(this.txtCookieJs2);
+ this.splitContainer1.Panel2.Controls.Add(this.btnOk);
+ this.splitContainer1.Size = new System.Drawing.Size(698, 686);
+ this.splitContainer1.SplitterDistance = 340;
+ this.splitContainer1.TabIndex = 394;
+ //
+ // txtCookieJs1
+ //
+ this.txtCookieJs1.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.txtCookieJs1.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtCookieJs1.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtCookieJs1.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtCookieJs1.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtCookieJs1.Border.Class = "CrumbBarBackgroundKey";
+ this.txtCookieJs1.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txtCookieJs1.Border.PaddingBottom = 2;
+ this.txtCookieJs1.Border.PaddingLeft = 2;
+ this.txtCookieJs1.Border.PaddingRight = 2;
+ this.txtCookieJs1.Border.PaddingTop = 2;
+ this.txtCookieJs1.Location = new System.Drawing.Point(100, 101);
+ this.txtCookieJs1.Multiline = true;
+ this.txtCookieJs1.Name = "txtCookieJs1";
+ this.txtCookieJs1.Size = new System.Drawing.Size(569, 219);
+ this.txtCookieJs1.TabIndex = 398;
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Location = new System.Drawing.Point(16, 72);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(84, 17);
+ this.label3.TabIndex = 397;
+ this.label3.Text = "SUB_PASS_ID";
+ //
+ // txtSubPassId
+ //
+ this.txtSubPassId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.txtSubPassId.Location = new System.Drawing.Point(100, 69);
+ this.txtSubPassId.Name = "txtSubPassId";
+ this.txtSubPassId.Size = new System.Drawing.Size(569, 23);
+ this.txtSubPassId.TabIndex = 396;
+ //
+ // txtLoginName
+ //
+ this.txtLoginName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.txtLoginName.Location = new System.Drawing.Point(100, 15);
+ this.txtLoginName.Name = "txtLoginName";
+ this.txtLoginName.Size = new System.Drawing.Size(569, 23);
+ this.txtLoginName.TabIndex = 395;
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(44, 18);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(56, 17);
+ this.label1.TabIndex = 394;
+ this.label1.Text = "登录账号";
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(26, 18);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(74, 17);
+ this.label2.TabIndex = 399;
+ this.label2.Text = "seller_temp";
+ //
+ // txtSellerTemp
+ //
+ this.txtSellerTemp.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.txtSellerTemp.Location = new System.Drawing.Point(100, 15);
+ this.txtSellerTemp.Name = "txtSellerTemp";
+ this.txtSellerTemp.Size = new System.Drawing.Size(569, 23);
+ this.txtSellerTemp.TabIndex = 398;
+ //
+ // radioButton2
+ //
+ this.radioButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.radioButton2.AutoSize = true;
+ this.radioButton2.Location = new System.Drawing.Point(354, 297);
+ this.radioButton2.Name = "radioButton2";
+ this.radioButton2.Size = new System.Drawing.Size(62, 21);
+ this.radioButton2.TabIndex = 397;
+ this.radioButton2.TabStop = true;
+ this.radioButton2.Text = "国际版";
+ this.radioButton2.UseVisualStyleBackColor = true;
+ this.radioButton2.Visible = false;
+ //
+ // radioButton1
+ //
+ this.radioButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.radioButton1.AutoSize = true;
+ this.radioButton1.Location = new System.Drawing.Point(286, 297);
+ this.radioButton1.Name = "radioButton1";
+ this.radioButton1.Size = new System.Drawing.Size(62, 21);
+ this.radioButton1.TabIndex = 396;
+ this.radioButton1.TabStop = true;
+ this.radioButton1.Text = "国内版";
+ this.radioButton1.UseVisualStyleBackColor = true;
+ this.radioButton1.Visible = false;
+ //
// buttonEx1
//
+ this.buttonEx1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
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(91, 443);
+ this.buttonEx1.Location = new System.Drawing.Point(100, 292);
this.buttonEx1.Margin = new System.Windows.Forms.Padding(2);
this.buttonEx1.Name = "buttonEx1";
this.buttonEx1.Size = new System.Drawing.Size(171, 26);
- this.buttonEx1.TabIndex = 387;
+ this.buttonEx1.TabIndex = 395;
this.buttonEx1.Text = "去Temu首页获取cookie js";
this.buttonEx1.UseVisualStyleBackColor = false;
- this.buttonEx1.Click += new System.EventHandler(this.btnGetCookie_Click);
//
// label8
//
this.label8.AutoSize = true;
- this.label8.Location = new System.Drawing.Point(25, 60);
+ this.label8.Location = new System.Drawing.Point(40, 50);
this.label8.Name = "label8";
- this.label8.Size = new System.Drawing.Size(60, 17);
- this.label8.TabIndex = 386;
- this.label8.Text = "CookieJs";
+ this.label8.Size = new System.Drawing.Size(60, 34);
+ this.label8.TabIndex = 394;
+ this.label8.Text = " 国际版\r\nCookieJs";
//
- // txtCookieJs
+ // txtCookieJs2
+ //
+ this.txtCookieJs2.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.txtCookieJs.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
- this.txtCookieJs.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
- this.txtCookieJs.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
- this.txtCookieJs.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
- this.txtCookieJs.Border.Class = "CrumbBarBackgroundKey";
- this.txtCookieJs.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.txtCookieJs.Border.PaddingBottom = 2;
- this.txtCookieJs.Border.PaddingLeft = 2;
- this.txtCookieJs.Border.PaddingRight = 2;
- this.txtCookieJs.Border.PaddingTop = 2;
- this.txtCookieJs.Location = new System.Drawing.Point(91, 58);
- this.txtCookieJs.Multiline = true;
- this.txtCookieJs.Name = "txtCookieJs";
- this.txtCookieJs.Size = new System.Drawing.Size(452, 342);
- this.txtCookieJs.TabIndex = 385;
- //
- // txtLoginName
- //
- this.txtLoginName.Location = new System.Drawing.Point(91, 29);
- this.txtLoginName.Name = "txtLoginName";
- this.txtLoginName.Size = new System.Drawing.Size(452, 23);
- this.txtLoginName.TabIndex = 336;
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(29, 32);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(56, 17);
- this.label1.TabIndex = 0;
- this.label1.Text = "登录账号";
+ this.txtCookieJs2.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtCookieJs2.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtCookieJs2.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtCookieJs2.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtCookieJs2.Border.Class = "CrumbBarBackgroundKey";
+ this.txtCookieJs2.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txtCookieJs2.Border.PaddingBottom = 2;
+ this.txtCookieJs2.Border.PaddingLeft = 2;
+ this.txtCookieJs2.Border.PaddingRight = 2;
+ this.txtCookieJs2.Border.PaddingTop = 2;
+ this.txtCookieJs2.Location = new System.Drawing.Point(100, 47);
+ this.txtCookieJs2.Multiline = true;
+ this.txtCookieJs2.Name = "txtCookieJs2";
+ this.txtCookieJs2.Size = new System.Drawing.Size(569, 227);
+ this.txtCookieJs2.TabIndex = 393;
//
// btnOk
//
+ this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOk.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnOk.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnOk.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnOk.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnOk.ForeColor = System.Drawing.Color.White;
- this.btnOk.Location = new System.Drawing.Point(488, 443);
+ this.btnOk.Location = new System.Drawing.Point(614, 292);
this.btnOk.Margin = new System.Windows.Forms.Padding(2);
this.btnOk.Name = "btnOk";
this.btnOk.Size = new System.Drawing.Size(55, 26);
- this.btnOk.TabIndex = 372;
+ this.btnOk.TabIndex = 392;
this.btnOk.Text = "保存";
this.btnOk.UseVisualStyleBackColor = false;
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
//
- // radioButton1
+ // label4
//
- this.radioButton1.AutoSize = true;
- this.radioButton1.Location = new System.Drawing.Point(91, 407);
- this.radioButton1.Name = "radioButton1";
- this.radioButton1.Size = new System.Drawing.Size(62, 21);
- this.radioButton1.TabIndex = 388;
- this.radioButton1.TabStop = true;
- this.radioButton1.Text = "国内版";
- this.radioButton1.UseVisualStyleBackColor = true;
- //
- // radioButton2
- //
- this.radioButton2.AutoSize = true;
- this.radioButton2.Location = new System.Drawing.Point(159, 407);
- this.radioButton2.Name = "radioButton2";
- this.radioButton2.Size = new System.Drawing.Size(62, 21);
- this.radioButton2.TabIndex = 389;
- this.radioButton2.TabStop = true;
- this.radioButton2.Text = "国际版";
- this.radioButton2.UseVisualStyleBackColor = true;
+ this.label4.AutoSize = true;
+ this.label4.Location = new System.Drawing.Point(40, 103);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(60, 34);
+ this.label4.TabIndex = 399;
+ this.label4.Text = " 国内版\r\nCookieJs";
//
// ShopUpdateCookieForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
- this.ClientSize = new System.Drawing.Size(577, 526);
+ this.ClientSize = new System.Drawing.Size(700, 720);
this.Controls.Add(this.panel2);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
@@ -171,7 +284,12 @@
this.Load += new System.EventHandler(this.ShopUpdateCookieForm_Load);
this.Controls.SetChildIndex(this.panel2, 0);
this.panel2.ResumeLayout(false);
- this.panel2.PerformLayout();
+ this.splitContainer1.Panel1.ResumeLayout(false);
+ this.splitContainer1.Panel1.PerformLayout();
+ this.splitContainer1.Panel2.ResumeLayout(false);
+ this.splitContainer1.Panel2.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
+ this.splitContainer1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -179,13 +297,20 @@
#endregion
private System.Windows.Forms.Panel panel2;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.SplitContainer splitContainer1;
+ private DevComponents.DotNetBar.Controls.TextBoxX txtCookieJs1;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.TextBox txtSubPassId;
private System.Windows.Forms.TextBox txtLoginName;
- private UserControls.ButtonEx btnOk;
- private System.Windows.Forms.Label label8;
- private DevComponents.DotNetBar.Controls.TextBoxX txtCookieJs;
- private UserControls.ButtonEx buttonEx1;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.TextBox txtSellerTemp;
private System.Windows.Forms.RadioButton radioButton2;
private System.Windows.Forms.RadioButton radioButton1;
+ private UserControls.ButtonEx buttonEx1;
+ private System.Windows.Forms.Label label8;
+ private DevComponents.DotNetBar.Controls.TextBoxX txtCookieJs2;
+ private UserControls.ButtonEx btnOk;
+ private System.Windows.Forms.Label label4;
}
}
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ShopForms/ShopUpdateCookieForm.cs b/TEMUKJD/KJDForms/ShopForms/ShopUpdateCookieForm.cs
index 01efd91..4fdb611 100644
--- a/TEMUKJD/KJDForms/ShopForms/ShopUpdateCookieForm.cs
+++ b/TEMUKJD/KJDForms/ShopForms/ShopUpdateCookieForm.cs
@@ -35,7 +35,7 @@ namespace TemuKJD.KJDForms.ShopForms
shopLoginInfo = shop;
updateFrom = from;
cookieVersion = _cookieVersion;
- this.TitleText = "更新" + cookieVersion + "Cookie";
+ this.TitleText = "更新Cookie";
if (cookieVersion == "国内版")
this.radioButton1.Checked = true;
else
@@ -84,159 +84,179 @@ namespace TemuKJD.KJDForms.ShopForms
}
cookieVersion = this.radioButton1.Checked ? "国内版" : "国际版";
- if (cookieVersion == "国内版")
+ bool ok1 = false;
+ bool ok2 = false;
+ if (this.txtCookieJs1.Text.Contains("SUB_PASS_ID") || !string.IsNullOrWhiteSpace(txtSubPassId.Text))
{
- string txt = this.txtCookieJs.Text;
- txt = txt.Replace("SUB_PASS_ID=;", "").Replace("_nano_fp=;", "").Replace("api_uid=;", "")
- .Replace("_bee=;", "").Replace("ru2k=;", "").Replace("_f77=;", "")
- .Replace("_a42=;", "").Replace("rckk=;", "").Replace("ru1k=;", "");
+ ok1 = GetCookie1();
+ }
+ if (this.txtCookieJs2.Text.Contains("seller_temp") || !string.IsNullOrWhiteSpace(txtSellerTemp.Text)) // 国际版
+ {
+ ok2 = GetCookie2();
+ }
- string api_uid = BaseRegex.GetStringCookie(ref txt, "api_uid").ParseToString().Trim('\'');
- string _nano_fp = BaseRegex.GetStringCookie(ref txt, "_nano_fp").ParseToString().Trim('\'');
- string _bee = BaseRegex.GetStringCookie(ref txt, "_bee").ParseToString().Trim('\'');
- string _f77 = BaseRegex.GetStringCookie(ref txt, "_f77").ParseToString().Trim('\'');
- string _a42 = BaseRegex.GetStringCookie(ref txt, "_a42").ParseToString().Trim('\'');
- string rckk = BaseRegex.GetStringCookie(ref txt, "rckk").ParseToString().Trim('\'');
- string ru1k = BaseRegex.GetStringCookie(ref txt, "ru1k").ParseToString().Trim('\'');
- string ru2k = BaseRegex.GetStringCookie(ref txt, "ru2k").ParseToString().Trim('\'');
- string SUB_PASS_ID = BaseRegex.GetStringCookie(ref txt, "SUB_PASS_ID").ParseToString().Trim('\'');
- string cookie = "api_uid=" + api_uid + ";" +
- "_nano_fp=" + _nano_fp + ";" +
- "_bee=" + _bee + ";" +
- "_f77=" + _f77 + ";" +
- "_a42=" + _a42 + ";" +
- "rckk=" + rckk + ";" +
- "ru1k=" + ru1k + ";" +
- "ru2k=" + ru2k + ";" +
- "SUB_PASS_ID=" + SUB_PASS_ID + ";";
-
- if (string.IsNullOrEmpty(SUB_PASS_ID))
- {
- BaseMsgForm.ShowError("Cookie缺少关键字段,请检查!");
- return;
- }
-
- var cookieShop = new ShopLoginInfo();
- cookieShop.Cookies = cookie;
-
- var data = "";
-
- data = ShopListForm.GetShopStatus(cookieShop);
- if (!data.Contains("\"success\":true"))
- {
- BaseMsgForm.ShowError("cookie已失效!");
- return;
- }
-
- var maskMobile = BaseRegex.GetStringJson(ref data, "maskOwnerMobile");
- if (!shopLoginInfo.LoginName.EndsWith(maskMobile))
- {
- BaseMsgForm.ShowError("cookie与店铺不匹配,请核对店铺!");
- return;
- }
-
- List serverShopLst = new List();
- var rst = AdminShopListForm.AdminGetServerShopLstForSetCookie(shopLoginInfo, serverShopLst);
-
- if (rst != "success")
- {
- BaseMsgForm.ShowError(rst);
- return;
- }
-
- //如果店铺没有cookie登录过,处理店铺第一次登录(分裂cookie下的所有店铺)
- GetShopFirstLogin(data, serverShopLst);
-
- if (updateFrom == SetCookieFromEnum.normal_user) // 普通用户更新本地店铺
- {
- var localShop = GlobalConfig.ShopLoginList.Where(v => v.LoginName == shopLoginInfo.LoginName).ToList();
- foreach (var sc in localShop)
- {
- sc.Cookies = cookie;
- sc.LoginStatus = "登录成功";
- }
- }
- shopLoginInfo.Cookies = cookie;
- shopLoginInfo.LoginStatus = "登录成功";
- ShopListForm.UpdateServerShopCookies(shopLoginInfo); // 店铺cookie写入服务端,多店共用一个登录账号一组cookie
+ if (ok1 || ok2)
+ {
this.OnSaveComplete(shopLoginInfo);
this.Close();
}
- else // 国际版
+ }
+
+ bool GetCookie1()
+ {
+ string txt = this.txtCookieJs1.Text;
+ txt = txt.Replace("SUB_PASS_ID=;", "").Replace("_nano_fp=;", "").Replace("api_uid=;", "")
+ .Replace("_bee=;", "").Replace("ru2k=;", "").Replace("_f77=;", "")
+ .Replace("_a42=;", "").Replace("rckk=;", "").Replace("ru1k=;", "");
+
+ string api_uid = BaseRegex.GetStringCookie(ref txt, "api_uid").ParseToString().Trim('\'');
+ string _nano_fp = BaseRegex.GetStringCookie(ref txt, "_nano_fp").ParseToString().Trim('\'');
+ string _bee = BaseRegex.GetStringCookie(ref txt, "_bee").ParseToString().Trim('\'');
+ string _f77 = BaseRegex.GetStringCookie(ref txt, "_f77").ParseToString().Trim('\'');
+ string _a42 = BaseRegex.GetStringCookie(ref txt, "_a42").ParseToString().Trim('\'');
+ string rckk = BaseRegex.GetStringCookie(ref txt, "rckk").ParseToString().Trim('\'');
+ string ru1k = BaseRegex.GetStringCookie(ref txt, "ru1k").ParseToString().Trim('\'');
+ string ru2k = BaseRegex.GetStringCookie(ref txt, "ru2k").ParseToString().Trim('\'');
+ string SUB_PASS_ID = BaseRegex.GetStringCookie(ref txt, "SUB_PASS_ID").ParseToString().Trim('\'');
+ if (!string.IsNullOrWhiteSpace(this.txtSubPassId.Text))
+ SUB_PASS_ID = this.txtSubPassId.Text.Trim();
+ string cookie = "api_uid=" + api_uid + ";" +
+ "_nano_fp=" + _nano_fp + ";" +
+ "_bee=" + _bee + ";" +
+ "_f77=" + _f77 + ";" +
+ "_a42=" + _a42 + ";" +
+ "rckk=" + rckk + ";" +
+ "ru1k=" + ru1k + ";" +
+ "ru2k=" + ru2k + ";" +
+ "SUB_PASS_ID=" + SUB_PASS_ID + ";";
+
+ if (string.IsNullOrEmpty(SUB_PASS_ID))
{
- string txt = this.txtCookieJs.Text;
- txt = txt.Replace("_bee=;", "").Replace("_nano_fp=;", "").Replace("api_uid=;", "")
- .Replace("dilx=;", "").Replace("hfsc=;", "").Replace("mallid=;", "")
- .Replace("njrpl=;", "").Replace("seller_temp=;", "");
-
- string api_uid = BaseRegex.GetStringCookie(ref txt, "api_uid").ParseToString().Trim('\'');
- string _nano_fp = BaseRegex.GetStringCookie(ref txt, "_nano_fp").ParseToString().Trim('\'');
- string _bee = BaseRegex.GetStringCookie(ref txt, "_bee").ParseToString().Trim('\'');
- string dilx = BaseRegex.GetStringCookie(ref txt, "dilx").ParseToString().Trim('\'');
- string hfsc = BaseRegex.GetStringCookie(ref txt, "hfsc").ParseToString().Trim('\'');
- string mallid = BaseRegex.GetStringCookie(ref txt, "mallid").ParseToString().Trim('\'');
- string njrpl = BaseRegex.GetStringCookie(ref txt, "njrpl").ParseToString().Trim('\'');
- string seller_temp = BaseRegex.GetStringCookie(ref txt, "seller_temp").ParseToString().Trim('\'');
- string cookie2 = "api_uid=" + api_uid + ";" +
- "_nano_fp=" + _nano_fp + ";" +
- "_bee=" + _bee + ";" +
- "dilx=" + dilx + ";" +
- "hfsc=" + hfsc + ";" +
- "mallid=" + mallid + ";" +
- "njrpl=" + njrpl + ";" +
- "seller_temp=" + seller_temp + ";";
-
- if (string.IsNullOrEmpty(seller_temp))
- {
- BaseMsgForm.ShowError("Cookie缺少关键字段,请检查!\r\n请从Temu国际版https://agentseller.temu.com处获得cookie");
- return;
- }
-
- var cookieShop = new ShopLoginInfo();
- cookieShop.Cookies2 = cookie2;
-
- var data = ShopListForm.GetShopStatus2(cookieShop);
- if (!data.Contains("\"success\":true"))
- {
- BaseMsgForm.ShowError("cookie已失效!");
- return;
- }
-
- //var maskMobile = BaseRegex.GetStringJson(ref data, "maskOwnerMobile");
- //if (!shopLoginInfo.LoginName.EndsWith(maskMobile))
- if(!data.Contains(shopLoginInfo.ShopAccount))
- {
- BaseMsgForm.ShowError("cookie与店铺不匹配,请核对店铺!");
- return;
- }
-
- List serverShopLst = new List();
- var rst = AdminShopListForm.AdminGetServerShopLstForSetCookie(shopLoginInfo, serverShopLst);
-
- if (rst != "success")
- {
- BaseMsgForm.ShowError(rst);
- return;
- }
-
- //如果店铺没有cookie登录过,处理店铺第一次登录(分裂cookie下的所有店铺)
- GetShopFirstLogin(data, serverShopLst);
-
- if (updateFrom == SetCookieFromEnum.normal_user) // 普通用户更新本地店铺
- {
- var localShop = GlobalConfig.ShopLoginList.Where(v => v.LoginName == shopLoginInfo.LoginName).ToList();
- foreach (var sc in localShop)
- {
- sc.Cookies = cookie2;
- sc.LoginStatus = "登录成功";
- }
- }
- shopLoginInfo.Cookies = cookie2;
- shopLoginInfo.LoginStatus = "登录成功";
- ShopListForm.UpdateServerShopCookies(shopLoginInfo); // 店铺cookie写入服务端,多店共用一个登录账号一组cookie
- this.OnSaveComplete(shopLoginInfo);
- this.Close();
+ BaseMsgForm.ShowError("Cookie缺少关键字段,请检查!");
+ return false;
}
+
+ var cookieShop = new ShopLoginInfo();
+ cookieShop.Cookies = cookie;
+
+ var data = "";
+
+ data = ShopListForm.GetShopStatus(cookieShop);
+ if (!data.Contains("\"success\":true"))
+ {
+ BaseMsgForm.ShowError("cookie已失效!");
+ return false;
+ }
+
+ var maskMobile = BaseRegex.GetStringJson(ref data, "maskOwnerMobile");
+ if (!shopLoginInfo.LoginName.EndsWith(maskMobile))
+ {
+ BaseMsgForm.ShowError("cookie与国内版店铺不匹配,请核对店铺!");
+ return false;
+ }
+
+ List serverShopLst = new List();
+ var rst = AdminShopListForm.AdminGetServerShopLstForSetCookie(shopLoginInfo, serverShopLst);
+
+ if (rst != "success")
+ {
+ BaseMsgForm.ShowError(rst);
+ return false;
+ }
+
+ //如果店铺没有cookie登录过,处理店铺第一次登录(分裂cookie下的所有店铺)
+ GetShopFirstLogin(data, serverShopLst);
+
+ if (updateFrom == SetCookieFromEnum.normal_user) // 普通用户更新本地店铺
+ {
+ var localShop = GlobalConfig.ShopLoginList.Where(v => v.LoginName == shopLoginInfo.LoginName).ToList();
+ foreach (var sc in localShop)
+ {
+ sc.Cookies = cookie;
+ sc.LoginStatus = "登录成功";
+ }
+ }
+ shopLoginInfo.Cookies = cookie;
+ shopLoginInfo.LoginStatus = "登录成功";
+ ShopListForm.UpdateServerShopCookies(shopLoginInfo); // 店铺cookie写入服务端,多店共用一个登录账号一组cookie
+ return true;
+ }
+
+ bool GetCookie2()
+ {
+ string txt = this.txtCookieJs2.Text;
+ txt = txt.Replace("_bee=;", "").Replace("_nano_fp=;", "").Replace("api_uid=;", "")
+ .Replace("dilx=;", "").Replace("hfsc=;", "").Replace("mallid=;", "")
+ .Replace("njrpl=;", "").Replace("seller_temp=;", "");
+
+ string api_uid = BaseRegex.GetStringCookie(ref txt, "api_uid").ParseToString().Trim('\'');
+ string _nano_fp = BaseRegex.GetStringCookie(ref txt, "_nano_fp").ParseToString().Trim('\'');
+ string _bee = BaseRegex.GetStringCookie(ref txt, "_bee").ParseToString().Trim('\'');
+ string dilx = BaseRegex.GetStringCookie(ref txt, "dilx").ParseToString().Trim('\'');
+ string hfsc = BaseRegex.GetStringCookie(ref txt, "hfsc").ParseToString().Trim('\'');
+ string mallid = BaseRegex.GetStringCookie(ref txt, "mallid").ParseToString().Trim('\'');
+ string njrpl = BaseRegex.GetStringCookie(ref txt, "njrpl").ParseToString().Trim('\'');
+ string seller_temp = BaseRegex.GetStringCookie(ref txt, "seller_temp").ParseToString().Trim('\'');
+ if (!string.IsNullOrWhiteSpace(txtSellerTemp.Text))
+ seller_temp = txtSellerTemp.Text.Trim();
+ string cookie2 = "api_uid=" + api_uid + ";" +
+ "_nano_fp=" + _nano_fp + ";" +
+ "_bee=" + _bee + ";" +
+ "dilx=" + dilx + ";" +
+ "hfsc=" + hfsc + ";" +
+ "mallid=" + mallid + ";" +
+ "njrpl=" + njrpl + ";" +
+ "seller_temp=" + seller_temp + ";";
+
+ if (string.IsNullOrEmpty(seller_temp))
+ {
+ BaseMsgForm.ShowError("Cookie缺少关键字段,请检查!\r\n请从Temu国际版https://agentseller.temu.com处获得cookie");
+ return false;
+ }
+
+ var cookieShop = new ShopLoginInfo();
+ cookieShop.Cookies2 = cookie2;
+
+ var data = ShopListForm.GetShopStatus2(cookieShop);
+ if (!data.Contains("\"success\":true"))
+ {
+ BaseMsgForm.ShowError("cookie已失效!");
+ return false;
+ }
+
+ //var maskMobile = BaseRegex.GetStringJson(ref data, "maskOwnerMobile");
+ //if (!shopLoginInfo.LoginName.EndsWith(maskMobile))
+ if (!data.Contains(shopLoginInfo.ShopAccount))
+ {
+ BaseMsgForm.ShowError("cookie与国际版店铺不匹配,请核对店铺!");
+ return false;
+ }
+
+ List serverShopLst = new List();
+ var rst = AdminShopListForm.AdminGetServerShopLstForSetCookie(shopLoginInfo, serverShopLst);
+
+ if (rst != "success")
+ {
+ BaseMsgForm.ShowError(rst);
+ return false;
+ }
+
+ //如果店铺没有cookie登录过,处理店铺第一次登录(分裂cookie下的所有店铺)
+ GetShopFirstLogin(data, serverShopLst);
+
+ if (updateFrom == SetCookieFromEnum.normal_user) // 普通用户更新本地店铺
+ {
+ var localShop = GlobalConfig.ShopLoginList.Where(v => v.LoginName == shopLoginInfo.LoginName).ToList();
+ foreach (var sc in localShop)
+ {
+ sc.Cookies2 = cookie2;
+ sc.LoginStatus2 = "国际版在线";
+ }
+ }
+ shopLoginInfo.Cookies2 = cookie2;
+ shopLoginInfo.LoginStatus2 = "国际版在线";
+ ShopListForm.UpdateServerShopCookies(shopLoginInfo); // 店铺cookie写入服务端,多店共用一个登录账号一组cookie
+ return true;
}
///
diff --git a/TEMUKJD/KJDForms/ShopOptimizeForms/ClearNoVisitorForm.cs b/TEMUKJD/KJDForms/ShopOptimizeForms/ClearNoVisitorForm.cs
index c24a066..d5abe5a 100644
--- a/TEMUKJD/KJDForms/ShopOptimizeForms/ClearNoVisitorForm.cs
+++ b/TEMUKJD/KJDForms/ShopOptimizeForms/ClearNoVisitorForm.cs
@@ -4,7 +4,7 @@ using AllBase.Helper;
using AllBase.Model.Result;
using CefSharp;
using CefSharp.WinForms;
-using TemuKJD.DashBoardForms;
+//using TemuKJD.DashBoardForms;
using TemuKJD.Extension;
using TemuKJD.Helper;
using TemuKJD.KJDForms.BaseForms;
diff --git a/TEMUKJD/KJDForms/ToolForms/CefForm.cs b/TEMUKJD/KJDForms/ToolForms/CefForm.cs
index 7c3fafc..34b50ec 100644
--- a/TEMUKJD/KJDForms/ToolForms/CefForm.cs
+++ b/TEMUKJD/KJDForms/ToolForms/CefForm.cs
@@ -1,6 +1,6 @@
using CefSharp;
using CefSharp.WinForms;
-using TemuKJD.DashBoardForms;
+//using TemuKJD.DashBoardForms;
using TemuKJD.Helper;
using NaiBa.CefHelper;
using NaiBa.CefHelper.Handler;
diff --git a/TEMUKJD/KJDForms/ToolForms/PinDuoDuoCaptchaForm.cs b/TEMUKJD/KJDForms/ToolForms/PinDuoDuoCaptchaForm.cs
index 33893f9..1f76341 100644
--- a/TEMUKJD/KJDForms/ToolForms/PinDuoDuoCaptchaForm.cs
+++ b/TEMUKJD/KJDForms/ToolForms/PinDuoDuoCaptchaForm.cs
@@ -824,7 +824,7 @@ namespace TemuKJD.KJDForms.ToolForms
{
RequestContextSettings requestContextSettings = new RequestContextSettings();
requestContextSettings.PersistSessionCookies = false;
- requestContextSettings.PersistUserPreferences = false;
+ //cef138//requestContextSettings.PersistUserPreferences = false;
return requestContextSettings;
}
public static async Task SetCookieAsync(string domain, string cookies, ICookieManager cookieManager = null)
diff --git a/TEMUKJD/KJDForms/ToolForms/PinDuoDuoLoginForm.cs b/TEMUKJD/KJDForms/ToolForms/PinDuoDuoLoginForm.cs
index 3bb8027..4501281 100644
--- a/TEMUKJD/KJDForms/ToolForms/PinDuoDuoLoginForm.cs
+++ b/TEMUKJD/KJDForms/ToolForms/PinDuoDuoLoginForm.cs
@@ -44,7 +44,7 @@ namespace TemuKJD.KJDForms.ToolForms
{
RequestContextSettings requestContextSettings = new RequestContextSettings();
requestContextSettings.PersistSessionCookies = false;
- requestContextSettings.PersistUserPreferences = false;
+ //cef138//requestContextSettings.PersistUserPreferences = false;
return requestContextSettings;
}
diff --git a/TEMUKJD/MainForm.cs b/TEMUKJD/MainForm.cs
index d512232..24b242e 100644
--- a/TEMUKJD/MainForm.cs
+++ b/TEMUKJD/MainForm.cs
@@ -157,8 +157,10 @@ namespace TemuKJD
settings.IgnoreCertificateErrors = true;
settings.Locale = "zh-CN";
settings.LogSeverity = LogSeverity.Disable;
- settings.CachePath = Path.Combine(Environment.CurrentDirectory, "Cache");
- //settings.CachePath = null; //禁止缓存
+ //settings.CachePath = Path.Combine(Environment.CurrentDirectory, "Cache");
+ settings.CachePath = null; //禁止缓存
+ //settings.CefCommandLineArgs.Add("enable-javascript", "1");
+ //settings.CefCommandLineArgs.Add("disable-features", "NetworkService,NetworkServiceInProcess");
Cef.Initialize(settings);
}
diff --git a/TEMUKJD/Program.cs b/TEMUKJD/Program.cs
index a6e1c6e..d09d4e9 100644
--- a/TEMUKJD/Program.cs
+++ b/TEMUKJD/Program.cs
@@ -1,9 +1,9 @@
using System;
-using System.IO;
-using System.Net;
-using System.Runtime.InteropServices;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
using System.Windows.Forms;
-using TemuKJD.UserForm;
+using TemuKJD;
using Work;
namespace TemuKJD
@@ -22,9 +22,6 @@ namespace TemuKJD
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
- //安装客户端必备字体
- InstallFont(Application.StartupPath + @"\Fonts\STZHONGS.TTF");
-
System.Threading.Tasks.Task.Run(() =>
{
new Initialization().Get();
@@ -34,95 +31,5 @@ namespace TemuKJD
Application.Run(new InitForm());
}
-
- [DllImport("kernel32.dll", SetLastError = true)]
- public static extern int WriteProfileString(string lpszSection, string lpszKeyName, string lpszString);
-
- [DllImport("gdi32")]
- public static extern int AddFontResource(string lpFileName);
-
- ///
- /// 安装字体
- ///
- /// 字体文件全路径
- /// 是否成功安装字体
- /// 不是管理员运行程序
- /// 字体安装失败
- public static bool InstallFont(string fontFilePath)
- {
- try
- {
- System.Security.Principal.WindowsIdentity identity = System.Security.Principal.WindowsIdentity.GetCurrent();
-
- System.Security.Principal.WindowsPrincipal principal = new System.Security.Principal.WindowsPrincipal(identity);
- //判断当前登录用户是否为管理员
- if (principal.IsInRole(System.Security.Principal.WindowsBuiltInRole.Administrator) == false)
- {
- throw new UnauthorizedAccessException("当前用户无管理员权限,无法安装字体。");
- }
- //获取Windows字体文件夹路径
- string fontPath = Path.Combine(System.Environment.GetEnvironmentVariable("WINDIR"), "fonts", Path.GetFileName(fontFilePath));
- //检测系统是否已安装该字体
- if (!File.Exists(fontPath))
- {
- // File.Copy(System.Windows.Forms.Application.StartupPath + "\\font\\" + FontFileName, FontPath); //font是程序目录下放字体的文件夹
- //将某路径下的字体拷贝到系统字体文件夹下
- File.Copy(fontFilePath, fontPath); //font是程序目录下放字体的文件夹
- AddFontResource(fontPath);
-
- //Res = SendMessage(HWND_BROADCAST, WM_FONTCHANGE, 0, 0);
- //WIN7下编译会出错,不清楚什么问题。注释就行了。
- //安装字体
- WriteProfileString("fonts", Path.GetFileNameWithoutExtension(fontFilePath) + "(TrueType)", Path.GetFileName(fontFilePath));
- }
- }
- catch (Exception ex)
- {
- //throw new Exception(string.Format($"[{Path.GetFileNameWithoutExtension(fontFilePath)}] 字体安装失败!原因:{ex.Message}"));
- }
- return true;
- }
-
- static string Md5(string file)
- {
- if (!File.Exists(file))
- return "";
- try
- {
- FileStream get_file = new FileStream(file, FileMode.Open, FileAccess.Read, FileShare.Read);
- System.Security.Cryptography.MD5CryptoServiceProvider get_md5 = new System.Security.Cryptography.MD5CryptoServiceProvider();
- byte[] hash_byte = get_md5.ComputeHash(get_file);
- string resule = System.BitConverter.ToString(hash_byte);
- resule = resule.Replace("-", "");
- get_file.Close();
- return resule;
- }
- catch (Exception e)
- {
- return e.ToString();
- }
- }
- ///
- /// 下载文件
- ///
- /// 下载地址
- /// 保存目录
- ///
- public static bool DownloadFile(string Urlstring, string FilePath)
- {
- try
- {
- WebClient mywebclient = new WebClient();
- if (File.Exists(FilePath))
- File.Delete(FilePath);
- mywebclient.DownloadFile(Urlstring, FilePath);
- return true;
- }
- catch
- {
- return false;
- }
- }
}
-
}
diff --git a/TEMUKJD/Properties/AssemblyInfo.cs b/TEMUKJD/Properties/AssemblyInfo.cs
index 0545e6b..7099e05 100644
--- a/TEMUKJD/Properties/AssemblyInfo.cs
+++ b/TEMUKJD/Properties/AssemblyInfo.cs
@@ -10,17 +10,17 @@ using System.Runtime.InteropServices;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("TemuKJD")]
-[assembly: AssemblyCopyright("Copyright © TemuKJD 2025")]
+[assembly: AssemblyCopyright("Copyright © 2025")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
-//将 ComVisible 设置为 false 将使此程序集中的类型
-//对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型,
+// 将 ComVisible 设置为 false 会使此程序集中的类型
+//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
-[assembly: Guid("7a28b19f-bd0c-45df-ac1a-78064631745a")]
+[assembly: Guid("b8ee868d-56cd-4647-bba5-04bef24ff9f6")]
// 程序集的版本信息由下列四个值组成:
//
@@ -29,8 +29,8 @@ using System.Runtime.InteropServices;
// 生成号
// 修订号
//
-//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
-// 方法是按如下所示使用“*”: :
+//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
+//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/TEMUKJD/Properties/Resources.resx b/TEMUKJD/Properties/Resources.resx
index 4c42284..85f1a4e 100644
--- a/TEMUKJD/Properties/Resources.resx
+++ b/TEMUKJD/Properties/Resources.resx
@@ -118,281 +118,281 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\resources\login_bg_agent.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\banner_bg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\resources\main_form_top_right_bg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\basemsgerr.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\resources\tree_default_icon_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\basemsginfo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\resources\tree_商品发布.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\basemsgque.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\resources\tree_商品发布_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\static\dycategorys.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8
-
-
- ..\resources\tree_素材库管理_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\login_input_bg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\tree_清理无流量_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\shopmanager.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\max.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\shopmanager.hover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\main_menu_settings_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\tree_商品上下架.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\main_menu_upload_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\static\base.css;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8
-
-
- ..\Resources\tree_子账号管理_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\login_user_ico.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\tree_佣金设置.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\choice_buyer_blast.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\Resources\choice_chat.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\resources\tree_用户管理.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\salescenter.hover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\choice_buyer_blast.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\tree_子账号管理.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\salescenter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\tree_店铺列表_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\main_menu_shop_manage.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\tree_店铺列表.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\main_menu_sa.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\main_menu_sales_center_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\tree_default_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\公告发布.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\normal.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\tree_解除限制.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\loading_blue.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\normal.hover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\choice_extend.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
- ..\resources\choice_loginer.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\settings.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\tree_跳转上家_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\tree_净化数据.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\main_form_logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\max.hover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\tree_运费模板.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\main_menu_settings.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\tree_商品上下架_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\login_bg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\tree_净化数据_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\static\js\jquery.dad.min.js;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8
+ ..\Resources\choice_loginer.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
- ..\resources\choice_order.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\close.hover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\tree_云违规排查_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\main_menu_collect_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\tree_产品数据库.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\system_1688.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\system_proxy.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\tree_佣金设置_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\basemsgerr.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\system_pdd.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\tree_清理无流量.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\static\nopic.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\min.hover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\banner_bg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\main_menu_sales_center.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\tree_运费模板_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\tree_产品数据库_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\basemsginfo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\tree_商品管理.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\system_pdd_token.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\tree_商品管理_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\system_tb.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\tree_素材库管理.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\close.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\main_menu_collect.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\tree_库存管理.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\tree_库存管理_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\system_pppoe.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\regedit_bg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\tree_云违规排查.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\main_menu_shop_manage_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\resources\basemsgque.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+ ..\Resources\choice_order.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
- ..\resources\choice_upload.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+ ..\Resources\choice_upload.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\resources\choice_extend.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\close.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\close.hover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\dycategorys.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8
+
+
+ ..\Resources\fullpaste.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\Resources\icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\resources\tree_用户管理_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\jquery.dad.min.js;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8
+
+
+ ..\Resources\loading_blue.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\login_bg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\login_bg_agent.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\login_input_bg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\login_user_ico.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\main_form_logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\main_form_top_right_bg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\main_menu_collect.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\main_menu_collect_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\main_menu_sa.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\main_menu_sales_center.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\main_menu_sales_center_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\Resources\main_menu_sa_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\main_menu_settings.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\main_menu_settings_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\main_menu_shop_manage.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\main_menu_shop_manage_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\main_menu_upload.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\main_menu_upload_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\max.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\max.hover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\min.hover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\nopic.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\normal.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\normal.hover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\qrcode.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\regedit_bg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\salescenter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\salescenter.hover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\settings.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\shopmanager.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\shopmanager.hover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\system_1688.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\system_pdd.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\system_pdd_token.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\system_pppoe.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\system_proxy.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\system_tb.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\template.html;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8
+
+
+ ..\Resources\tree_default_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_default_icon_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_云违规排查.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_云违规排查_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_产品数据库.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_产品数据库_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_佣金设置.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_佣金设置_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_净化数据.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_净化数据_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_商品上下架.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_商品上下架_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_商品发布.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_商品发布_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_商品管理.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_商品管理_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_子账号管理.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_子账号管理_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_库存管理.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_库存管理_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_店铺列表.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_店铺列表_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_清理无流量.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_清理无流量_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_用户管理.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_用户管理_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_素材库管理.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_素材库管理_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\tree_解除限制.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\tree_解除限制_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\resources\fullpaste.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\resources\tree_跳转上家.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+ ..\Resources\tree_跳转上家.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\resources\main_menu_upload.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\tree_跳转上家_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\resources\template.html;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8
+
+ ..\Resources\tree_运费模板.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\resources\qrcode.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\tree_运费模板_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\base.css;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8
+
+
+ ..\Resources\公告发布.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\Resources\齿轮.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
diff --git a/TEMUKJD/Properties/app.manifest b/TEMUKJD/Properties/app.manifest
deleted file mode 100644
index 115b1e5..0000000
--- a/TEMUKJD/Properties/app.manifest
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/TEMUKJD/Static/base.css b/TEMUKJD/Resources/base.css
similarity index 100%
rename from TEMUKJD/Static/base.css
rename to TEMUKJD/Resources/base.css
diff --git a/TEMUKJD/Static/DyCategorys.txt b/TEMUKJD/Resources/dycategorys.txt
similarity index 100%
rename from TEMUKJD/Static/DyCategorys.txt
rename to TEMUKJD/Resources/dycategorys.txt
diff --git a/TEMUKJD/Static/js/jquery.dad.min.js b/TEMUKJD/Resources/jquery.dad.min.js
similarity index 100%
rename from TEMUKJD/Static/js/jquery.dad.min.js
rename to TEMUKJD/Resources/jquery.dad.min.js
diff --git a/TEMUKJD/Static/nopic.jpg b/TEMUKJD/Resources/nopic.jpg
similarity index 100%
rename from TEMUKJD/Static/nopic.jpg
rename to TEMUKJD/Resources/nopic.jpg
diff --git a/TEMUKJD/Resources/user_login.png b/TEMUKJD/Resources/user_login.png
deleted file mode 100644
index 1bda274..0000000
Binary files a/TEMUKJD/Resources/user_login.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/BaseMsgErr.png b/TEMUKJD/ResourcesBak/BaseMsgErr.png
deleted file mode 100644
index 1912f06..0000000
Binary files a/TEMUKJD/ResourcesBak/BaseMsgErr.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/BaseMsgInfo.png b/TEMUKJD/ResourcesBak/BaseMsgInfo.png
deleted file mode 100644
index f0c961e..0000000
Binary files a/TEMUKJD/ResourcesBak/BaseMsgInfo.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/BaseMsgQue.png b/TEMUKJD/ResourcesBak/BaseMsgQue.png
deleted file mode 100644
index 59ff5e0..0000000
Binary files a/TEMUKJD/ResourcesBak/BaseMsgQue.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/FullPaste.png b/TEMUKJD/ResourcesBak/FullPaste.png
deleted file mode 100644
index f1c29d8..0000000
Binary files a/TEMUKJD/ResourcesBak/FullPaste.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/SalesCenter.hover.png b/TEMUKJD/ResourcesBak/SalesCenter.hover.png
deleted file mode 100644
index f7a1a65..0000000
Binary files a/TEMUKJD/ResourcesBak/SalesCenter.hover.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/SalesCenter.png b/TEMUKJD/ResourcesBak/SalesCenter.png
deleted file mode 100644
index 7d5af9e..0000000
Binary files a/TEMUKJD/ResourcesBak/SalesCenter.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/ShopManager.hover.png b/TEMUKJD/ResourcesBak/ShopManager.hover.png
deleted file mode 100644
index 07198a6..0000000
Binary files a/TEMUKJD/ResourcesBak/ShopManager.hover.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/ShopManager.png b/TEMUKJD/ResourcesBak/ShopManager.png
deleted file mode 100644
index 98a943e..0000000
Binary files a/TEMUKJD/ResourcesBak/ShopManager.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/banner_bg.png b/TEMUKJD/ResourcesBak/banner_bg.png
deleted file mode 100644
index 8e49388..0000000
Binary files a/TEMUKJD/ResourcesBak/banner_bg.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/choice_buyer_blast.png b/TEMUKJD/ResourcesBak/choice_buyer_blast.png
deleted file mode 100644
index e3b3f47..0000000
Binary files a/TEMUKJD/ResourcesBak/choice_buyer_blast.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/choice_buyer_blast.psd b/TEMUKJD/ResourcesBak/choice_buyer_blast.psd
deleted file mode 100644
index 9cd1210..0000000
Binary files a/TEMUKJD/ResourcesBak/choice_buyer_blast.psd and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/choice_chat.png b/TEMUKJD/ResourcesBak/choice_chat.png
deleted file mode 100644
index e29be25..0000000
Binary files a/TEMUKJD/ResourcesBak/choice_chat.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/choice_extend.png b/TEMUKJD/ResourcesBak/choice_extend.png
deleted file mode 100644
index bc6419b..0000000
Binary files a/TEMUKJD/ResourcesBak/choice_extend.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/choice_loginer.png b/TEMUKJD/ResourcesBak/choice_loginer.png
deleted file mode 100644
index c4b5160..0000000
Binary files a/TEMUKJD/ResourcesBak/choice_loginer.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/choice_order.png b/TEMUKJD/ResourcesBak/choice_order.png
deleted file mode 100644
index 95a79fe..0000000
Binary files a/TEMUKJD/ResourcesBak/choice_order.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/choice_upload.png b/TEMUKJD/ResourcesBak/choice_upload.png
deleted file mode 100644
index 3f58c2f..0000000
Binary files a/TEMUKJD/ResourcesBak/choice_upload.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/close.hover.png b/TEMUKJD/ResourcesBak/close.hover.png
deleted file mode 100644
index 232de18..0000000
Binary files a/TEMUKJD/ResourcesBak/close.hover.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/close.png b/TEMUKJD/ResourcesBak/close.png
deleted file mode 100644
index 784b6f1..0000000
Binary files a/TEMUKJD/ResourcesBak/close.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/icon.png b/TEMUKJD/ResourcesBak/icon.png
deleted file mode 100644
index aae097d..0000000
Binary files a/TEMUKJD/ResourcesBak/icon.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/loading_blue.gif b/TEMUKJD/ResourcesBak/loading_blue.gif
deleted file mode 100644
index 4679238..0000000
Binary files a/TEMUKJD/ResourcesBak/loading_blue.gif and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/login_bg.png b/TEMUKJD/ResourcesBak/login_bg.png
deleted file mode 100644
index 320a980..0000000
Binary files a/TEMUKJD/ResourcesBak/login_bg.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/login_bg.psd b/TEMUKJD/ResourcesBak/login_bg.psd
deleted file mode 100644
index 5f4f306..0000000
Binary files a/TEMUKJD/ResourcesBak/login_bg.psd and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/login_bg_agent.png b/TEMUKJD/ResourcesBak/login_bg_agent.png
deleted file mode 100644
index 0563abd..0000000
Binary files a/TEMUKJD/ResourcesBak/login_bg_agent.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/login_bg_old.png b/TEMUKJD/ResourcesBak/login_bg_old.png
deleted file mode 100644
index d043ba9..0000000
Binary files a/TEMUKJD/ResourcesBak/login_bg_old.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/login_input_bg.png b/TEMUKJD/ResourcesBak/login_input_bg.png
deleted file mode 100644
index ddd58ec..0000000
Binary files a/TEMUKJD/ResourcesBak/login_input_bg.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/login_user_ico.png b/TEMUKJD/ResourcesBak/login_user_ico.png
deleted file mode 100644
index a687926..0000000
Binary files a/TEMUKJD/ResourcesBak/login_user_ico.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/main_form_logo.png b/TEMUKJD/ResourcesBak/main_form_logo.png
deleted file mode 100644
index 96fbce8..0000000
Binary files a/TEMUKJD/ResourcesBak/main_form_logo.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/main_form_top_right_bg.png b/TEMUKJD/ResourcesBak/main_form_top_right_bg.png
deleted file mode 100644
index f30e0ab..0000000
Binary files a/TEMUKJD/ResourcesBak/main_form_top_right_bg.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/main_menu_collect.png b/TEMUKJD/ResourcesBak/main_menu_collect.png
deleted file mode 100644
index d841af6..0000000
Binary files a/TEMUKJD/ResourcesBak/main_menu_collect.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/main_menu_collect.psd b/TEMUKJD/ResourcesBak/main_menu_collect.psd
deleted file mode 100644
index 4523a80..0000000
Binary files a/TEMUKJD/ResourcesBak/main_menu_collect.psd and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/main_menu_collect_select.png b/TEMUKJD/ResourcesBak/main_menu_collect_select.png
deleted file mode 100644
index e1d70e0..0000000
Binary files a/TEMUKJD/ResourcesBak/main_menu_collect_select.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/main_menu_sales_center.png b/TEMUKJD/ResourcesBak/main_menu_sales_center.png
deleted file mode 100644
index ba57f35..0000000
Binary files a/TEMUKJD/ResourcesBak/main_menu_sales_center.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/main_menu_sales_center_select.png b/TEMUKJD/ResourcesBak/main_menu_sales_center_select.png
deleted file mode 100644
index 511aa03..0000000
Binary files a/TEMUKJD/ResourcesBak/main_menu_sales_center_select.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/main_menu_settings.png b/TEMUKJD/ResourcesBak/main_menu_settings.png
deleted file mode 100644
index ff85fc1..0000000
Binary files a/TEMUKJD/ResourcesBak/main_menu_settings.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/main_menu_settings_select.png b/TEMUKJD/ResourcesBak/main_menu_settings_select.png
deleted file mode 100644
index 45ca6bd..0000000
Binary files a/TEMUKJD/ResourcesBak/main_menu_settings_select.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/main_menu_shop_manage.png b/TEMUKJD/ResourcesBak/main_menu_shop_manage.png
deleted file mode 100644
index af6a291..0000000
Binary files a/TEMUKJD/ResourcesBak/main_menu_shop_manage.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/main_menu_shop_manage_select.png b/TEMUKJD/ResourcesBak/main_menu_shop_manage_select.png
deleted file mode 100644
index c3d2f68..0000000
Binary files a/TEMUKJD/ResourcesBak/main_menu_shop_manage_select.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/main_menu_upload.png b/TEMUKJD/ResourcesBak/main_menu_upload.png
deleted file mode 100644
index cbf466f..0000000
Binary files a/TEMUKJD/ResourcesBak/main_menu_upload.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/main_menu_upload_select.png b/TEMUKJD/ResourcesBak/main_menu_upload_select.png
deleted file mode 100644
index 64562fa..0000000
Binary files a/TEMUKJD/ResourcesBak/main_menu_upload_select.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/max.hover.png b/TEMUKJD/ResourcesBak/max.hover.png
deleted file mode 100644
index 2d7f0e4..0000000
Binary files a/TEMUKJD/ResourcesBak/max.hover.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/max.png b/TEMUKJD/ResourcesBak/max.png
deleted file mode 100644
index 6094a07..0000000
Binary files a/TEMUKJD/ResourcesBak/max.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/min.hover.png b/TEMUKJD/ResourcesBak/min.hover.png
deleted file mode 100644
index 992c843..0000000
Binary files a/TEMUKJD/ResourcesBak/min.hover.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/min.png b/TEMUKJD/ResourcesBak/min.png
deleted file mode 100644
index bf878d8..0000000
Binary files a/TEMUKJD/ResourcesBak/min.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/normal.hover.png b/TEMUKJD/ResourcesBak/normal.hover.png
deleted file mode 100644
index 1aa68e4..0000000
Binary files a/TEMUKJD/ResourcesBak/normal.hover.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/normal.png b/TEMUKJD/ResourcesBak/normal.png
deleted file mode 100644
index bb1a37a..0000000
Binary files a/TEMUKJD/ResourcesBak/normal.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/qrcode.png b/TEMUKJD/ResourcesBak/qrcode.png
deleted file mode 100644
index b0c50df..0000000
Binary files a/TEMUKJD/ResourcesBak/qrcode.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/regedit_bg.png b/TEMUKJD/ResourcesBak/regedit_bg.png
deleted file mode 100644
index 94f67a5..0000000
Binary files a/TEMUKJD/ResourcesBak/regedit_bg.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/settings.png b/TEMUKJD/ResourcesBak/settings.png
deleted file mode 100644
index 57abd05..0000000
Binary files a/TEMUKJD/ResourcesBak/settings.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/system_1688.png b/TEMUKJD/ResourcesBak/system_1688.png
deleted file mode 100644
index a6a8eb5..0000000
Binary files a/TEMUKJD/ResourcesBak/system_1688.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/system_1688.psd b/TEMUKJD/ResourcesBak/system_1688.psd
deleted file mode 100644
index 9ee550d..0000000
Binary files a/TEMUKJD/ResourcesBak/system_1688.psd and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/system_pdd.png b/TEMUKJD/ResourcesBak/system_pdd.png
deleted file mode 100644
index 6ff4da6..0000000
Binary files a/TEMUKJD/ResourcesBak/system_pdd.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/system_pdd.psd b/TEMUKJD/ResourcesBak/system_pdd.psd
deleted file mode 100644
index d2a9a71..0000000
Binary files a/TEMUKJD/ResourcesBak/system_pdd.psd and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/system_pdd_token.png b/TEMUKJD/ResourcesBak/system_pdd_token.png
deleted file mode 100644
index e8cd725..0000000
Binary files a/TEMUKJD/ResourcesBak/system_pdd_token.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/system_pppoe.png b/TEMUKJD/ResourcesBak/system_pppoe.png
deleted file mode 100644
index d9610e6..0000000
Binary files a/TEMUKJD/ResourcesBak/system_pppoe.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/system_proxy.png b/TEMUKJD/ResourcesBak/system_proxy.png
deleted file mode 100644
index 01b6e2e..0000000
Binary files a/TEMUKJD/ResourcesBak/system_proxy.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/system_tb.png b/TEMUKJD/ResourcesBak/system_tb.png
deleted file mode 100644
index d91b36a..0000000
Binary files a/TEMUKJD/ResourcesBak/system_tb.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/system_tb.psd b/TEMUKJD/ResourcesBak/system_tb.psd
deleted file mode 100644
index b505496..0000000
Binary files a/TEMUKJD/ResourcesBak/system_tb.psd and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/template.html b/TEMUKJD/ResourcesBak/template.html
deleted file mode 100644
index fe6d7f4..0000000
--- a/TEMUKJD/ResourcesBak/template.html
+++ /dev/null
@@ -1,816 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
![]()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- matting status
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/TEMUKJD/ResourcesBak/tree_default_icon.png b/TEMUKJD/ResourcesBak/tree_default_icon.png
deleted file mode 100644
index 36b5901..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_default_icon.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_default_icon_select.png b/TEMUKJD/ResourcesBak/tree_default_icon_select.png
deleted file mode 100644
index c516338..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_default_icon_select.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_云违规排查.png b/TEMUKJD/ResourcesBak/tree_云违规排查.png
deleted file mode 100644
index 7c990a8..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_云违规排查.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_云违规排查.psd b/TEMUKJD/ResourcesBak/tree_云违规排查.psd
deleted file mode 100644
index 2000192..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_云违规排查.psd and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_云违规排查_select.png b/TEMUKJD/ResourcesBak/tree_云违规排查_select.png
deleted file mode 100644
index 92b4462..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_云违规排查_select.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_产品数据库.png b/TEMUKJD/ResourcesBak/tree_产品数据库.png
deleted file mode 100644
index e95e60b..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_产品数据库.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_产品数据库_select.png b/TEMUKJD/ResourcesBak/tree_产品数据库_select.png
deleted file mode 100644
index 4588e20..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_产品数据库_select.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_佣金设置.png b/TEMUKJD/ResourcesBak/tree_佣金设置.png
deleted file mode 100644
index c5140b3..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_佣金设置.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_佣金设置.psd b/TEMUKJD/ResourcesBak/tree_佣金设置.psd
deleted file mode 100644
index ff238b3..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_佣金设置.psd and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_佣金设置_select.png b/TEMUKJD/ResourcesBak/tree_佣金设置_select.png
deleted file mode 100644
index 8165385..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_佣金设置_select.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_净化数据.png b/TEMUKJD/ResourcesBak/tree_净化数据.png
deleted file mode 100644
index 376b5a5..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_净化数据.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_净化数据_select.png b/TEMUKJD/ResourcesBak/tree_净化数据_select.png
deleted file mode 100644
index 02fcd70..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_净化数据_select.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_商品上下架.png b/TEMUKJD/ResourcesBak/tree_商品上下架.png
deleted file mode 100644
index ebf40b8..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_商品上下架.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_商品上下架_select.png b/TEMUKJD/ResourcesBak/tree_商品上下架_select.png
deleted file mode 100644
index a13bfbf..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_商品上下架_select.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_商品发布.png b/TEMUKJD/ResourcesBak/tree_商品发布.png
deleted file mode 100644
index b02957c..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_商品发布.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_商品发布_select.png b/TEMUKJD/ResourcesBak/tree_商品发布_select.png
deleted file mode 100644
index 1fac792..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_商品发布_select.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_商品管理.png b/TEMUKJD/ResourcesBak/tree_商品管理.png
deleted file mode 100644
index ebf40b8..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_商品管理.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_商品管理_select.png b/TEMUKJD/ResourcesBak/tree_商品管理_select.png
deleted file mode 100644
index a13bfbf..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_商品管理_select.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_库存管理.png b/TEMUKJD/ResourcesBak/tree_库存管理.png
deleted file mode 100644
index 78f6f65..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_库存管理.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_库存管理_select.png b/TEMUKJD/ResourcesBak/tree_库存管理_select.png
deleted file mode 100644
index 4791ee8..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_库存管理_select.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_店铺列表.png b/TEMUKJD/ResourcesBak/tree_店铺列表.png
deleted file mode 100644
index b12cb0f..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_店铺列表.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_店铺列表_select.png b/TEMUKJD/ResourcesBak/tree_店铺列表_select.png
deleted file mode 100644
index 72fcb3f..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_店铺列表_select.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_清理无流量.png b/TEMUKJD/ResourcesBak/tree_清理无流量.png
deleted file mode 100644
index 6aef87b..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_清理无流量.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_清理无流量_select.png b/TEMUKJD/ResourcesBak/tree_清理无流量_select.png
deleted file mode 100644
index 49e7b1a..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_清理无流量_select.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_用户管理.png b/TEMUKJD/ResourcesBak/tree_用户管理.png
deleted file mode 100644
index 7bfa542..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_用户管理.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_用户管理.psd b/TEMUKJD/ResourcesBak/tree_用户管理.psd
deleted file mode 100644
index 6dbe2e3..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_用户管理.psd and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_用户管理_select.png b/TEMUKJD/ResourcesBak/tree_用户管理_select.png
deleted file mode 100644
index ff7f88e..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_用户管理_select.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_素材库管理.png b/TEMUKJD/ResourcesBak/tree_素材库管理.png
deleted file mode 100644
index 4e55a83..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_素材库管理.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_素材库管理.psd b/TEMUKJD/ResourcesBak/tree_素材库管理.psd
deleted file mode 100644
index ee58284..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_素材库管理.psd and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_素材库管理_select.png b/TEMUKJD/ResourcesBak/tree_素材库管理_select.png
deleted file mode 100644
index b5fb868..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_素材库管理_select.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_解除限制.png b/TEMUKJD/ResourcesBak/tree_解除限制.png
deleted file mode 100644
index 5e9a9b8..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_解除限制.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_解除限制_select.png b/TEMUKJD/ResourcesBak/tree_解除限制_select.png
deleted file mode 100644
index c3464f7..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_解除限制_select.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_跳转上家.png b/TEMUKJD/ResourcesBak/tree_跳转上家.png
deleted file mode 100644
index 98fe83e..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_跳转上家.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_跳转上家.psd b/TEMUKJD/ResourcesBak/tree_跳转上家.psd
deleted file mode 100644
index 763d12e..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_跳转上家.psd and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_跳转上家_select.png b/TEMUKJD/ResourcesBak/tree_跳转上家_select.png
deleted file mode 100644
index a3cad79..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_跳转上家_select.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_运费模板.png b/TEMUKJD/ResourcesBak/tree_运费模板.png
deleted file mode 100644
index 92e055d..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_运费模板.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/tree_运费模板_select.png b/TEMUKJD/ResourcesBak/tree_运费模板_select.png
deleted file mode 100644
index ba61bf5..0000000
Binary files a/TEMUKJD/ResourcesBak/tree_运费模板_select.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/user_login.png b/TEMUKJD/ResourcesBak/user_login.png
deleted file mode 100644
index 1bda274..0000000
Binary files a/TEMUKJD/ResourcesBak/user_login.png and /dev/null differ
diff --git a/TEMUKJD/ResourcesBak/公告发布.png b/TEMUKJD/ResourcesBak/公告发布.png
deleted file mode 100644
index f8785bc..0000000
Binary files a/TEMUKJD/ResourcesBak/公告发布.png and /dev/null differ
diff --git a/TEMUKJD/packages.config b/TEMUKJD/packages.config
index ab3c5db..a0ae3c2 100644
--- a/TEMUKJD/packages.config
+++ b/TEMUKJD/packages.config
@@ -1,11 +1,8 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
\ No newline at end of file
diff --git a/Work/Api/DownUpProductExploder.cs b/Work/Api/DownUpProductExploder.cs
index c0099e3..ad4558d 100644
--- a/Work/Api/DownUpProductExploder.cs
+++ b/Work/Api/DownUpProductExploder.cs
@@ -2,8 +2,6 @@
using AllBase;
using System;
using Work.CollectClass;
-using JavaScriptEngineSwitcher.Core;
-using JavaScriptEngineSwitcher.V8;
namespace Work.Api
{
diff --git a/Work/Api/UpdatePinduoduoExpressSet.cs b/Work/Api/UpdatePinduoduoExpressSet.cs
index 97405e8..7cd8e86 100644
--- a/Work/Api/UpdatePinduoduoExpressSet.cs
+++ b/Work/Api/UpdatePinduoduoExpressSet.cs
@@ -6,8 +6,8 @@ using System.IO;
using System.IO.Compression;
using System.Net;
using System.Threading;
-using JavaScriptEngineSwitcher.Core;
-using JavaScriptEngineSwitcher.V8;
+//using JavaScriptEngineSwitcher.Core;
+//using JavaScriptEngineSwitcher.V8;
using Work.CollectClass;
using System.Text;
using System.Linq;
@@ -244,14 +244,14 @@ namespace Work.Api
public static string getAnti0aon()
{
string anti = "";
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.PinDuoDUo_0ao);
- anti = jsEngine.CallFunction("get_anti", "").ToString();
- try
- { anti = "0ao" + anti.Substring(3); }
- catch { }
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.PinDuoDUo_0ao);
+ // anti = jsEngine.CallFunction("get_anti", "").ToString();
+ // try
+ // { anti = "0ao" + anti.Substring(3); }
+ // catch { }
+ //}
return anti;
}
diff --git a/Work/Api/UploadPinduoduoDeleteSku.cs b/Work/Api/UploadPinduoduoDeleteSku.cs
index 87ef8da..63f6d8f 100644
--- a/Work/Api/UploadPinduoduoDeleteSku.cs
+++ b/Work/Api/UploadPinduoduoDeleteSku.cs
@@ -5,8 +5,6 @@ using System.Windows.Forms;
using AllBase;
using Work.CollectClass;
using System.IO;
-using JavaScriptEngineSwitcher.V8;
-using JavaScriptEngineSwitcher.Core;
namespace Work.Api
{
@@ -175,11 +173,11 @@ namespace Work.Api
//string fun2 = string.Format(@"getEncode('{0}','{1}','{2}')", strTime, strToken, strNumber);
//string codex = ExecuteScript(fun2, strContent);
string codex = "";
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
string dataUp = "{\"cat_id\":" + r.cat_id + ",\"crawlerInfo\":\"" + codex + "\",\"goods_type\":\"1\",\"country\":\"\",\"country_id\":\"\"," +
"\"warehouse\":\"\",\"customs\":\"\",\"is_customs\":0,\"is_pre_sale\":0,\"pre_sale_time\":\"\"," +
@@ -259,11 +257,11 @@ namespace Work.Api
html = GetPostTaobaoHtml.GetJsonPost(url, refere, true, "", Shop.Cookies);
url = "https://mms.pinduoduo.com/glide/v2/mms/edit/commit/submit";
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
data = "{\"goods_commit_id\":\"" + pinId + "\",\"crawlerInfo\":\"" + codex + "\"}";
html = GetPostTaobaoHtml.UploadTaobaoPost(url, refere, true, data, Shop.Cookies);
error_msg = BaseRegex.GetStringJson(ref html, "error_msg");
diff --git a/Work/Api/UploadPinduoduoSet.cs b/Work/Api/UploadPinduoduoSet.cs
index 2e51190..4fbb9e1 100644
--- a/Work/Api/UploadPinduoduoSet.cs
+++ b/Work/Api/UploadPinduoduoSet.cs
@@ -5,8 +5,8 @@ using System.Threading;
using AllBase;
using Work.CollectClass;
using Work.ManageClass;
-using JavaScriptEngineSwitcher.V8;
-using JavaScriptEngineSwitcher.Core;
+//using JavaScriptEngineSwitcher.V8;
+//using JavaScriptEngineSwitcher.Core;
using System.Linq;
using System.Diagnostics;
using Newtonsoft.Json.Linq;
@@ -2427,11 +2427,11 @@ namespace Work.Api
string temp2 = strTime + "," + strToken + "," + strNumber;
string fun2 = string.Format(@"getEncode('{0}','{1}','{2}')", strTime, strToken, strNumber);
string codex = "";
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
string goodProperties = UploadPinduoduoProperties.GetNew(catId, t.Cat1, ref pb, ref Shop, out mustCode);
if (!string.IsNullOrEmpty(goodProperties))
goodProperties = "[" + goodProperties.Substring(1) + "]";
@@ -2513,11 +2513,11 @@ namespace Work.Api
html = GetPostTaobaoHtml.GetJsonPost(url, refere, true, "", Cookies);
t.GoodsId = BaseRegex.GetLongJson(ref html, "goods_id");
url = "https://mms.pinduoduo.com/glide/v2/mms/edit/commit/submit";
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
data = "{\"goods_commit_id\":\"" + pinId + "\",\"crawlerInfo\":\"" + codex + "\"}";
html = GetPostTaobaoHtml.UploadTaobaoPost(url, refere, true, data, Cookies);
error_msg = BaseRegex.GetStringJson(ref html, "error_msg");
diff --git a/Work/CollectClass/BigDataBuild.cs b/Work/CollectClass/BigDataBuild.cs
index 2cc5b19..2eb80e0 100644
--- a/Work/CollectClass/BigDataBuild.cs
+++ b/Work/CollectClass/BigDataBuild.cs
@@ -374,22 +374,22 @@ namespace Work.CollectClass
public void Ini()
{
- string fileName = "lbigdata.dll";
- if (!FileBase.Exists(fileName))
- {
- GetHtml.DownloadFile("http://dl.qixiaoke.com/lbigdata.html", fileName);
- }
- string[] l = FileBase.ReadAllLines(fileName, Encoding.UTF8);
- if (l == null || l.Length < 300000)
- {
- GetHtml.DownloadFile("http://dl.qixiaoke.com/lbigdata.html", fileName);
- l = FileBase.ReadAllLines(fileName, Encoding.UTF8);
- }
- if (l == null || l.Length < 300000)
- {
- MessageBox.Show("初始化大数据异常,请检查网络", "提示");
- return;
- }
+ //string fileName = "lbigdata.dll";
+ //if (!FileBase.Exists(fileName))
+ //{
+ // GetHtml.DownloadFile("http://dl.qixiaoke.com/lbigdata.html", fileName);
+ //}
+ //string[] l = FileBase.ReadAllLines(fileName, Encoding.UTF8);
+ //if (l == null || l.Length < 300000)
+ //{
+ // GetHtml.DownloadFile("http://dl.qixiaoke.com/lbigdata.html", fileName);
+ // l = FileBase.ReadAllLines(fileName, Encoding.UTF8);
+ //}
+ //if (l == null || l.Length < 300000)
+ //{
+ // MessageBox.Show("初始化大数据异常,请检查网络", "提示");
+ // return;
+ //}
}
public void IniKeyword()
@@ -402,24 +402,24 @@ namespace Work.CollectClass
NoKeyword.Add(l[i].Trim());
}
- //string fileName = "lbigdata.dll";
- string fileName = "Segment.dll";
- l = FileBase.ReadAllLines(fileName, Encoding.UTF8);
- if (l == null || l.Length < 300000)
- {
- MessageBox.Show("初始化大数据失败,请重新打开软件", "提示");
- return;
- }
- for (int i = 0; i < l.Length; i++)
- {
- if (string.IsNullOrEmpty(l[i]) || !l[i].Contains("\t"))
- continue;
- string[] ll = l[i].Split('\t');
- string keyword = ll[0].Replace(" ", "");
- int rank = int.Parse(ll[1]);
- if (!Keywords.ContainsKey(keyword))
- Keywords.Add(keyword, rank);
- }
+ ////string fileName = "lbigdata.dll";
+ //string fileName = "Segment.dll";
+ //l = FileBase.ReadAllLines(fileName, Encoding.UTF8);
+ //if (l == null || l.Length < 300000)
+ //{
+ // MessageBox.Show("初始化大数据失败,请重新打开软件", "提示");
+ // return;
+ //}
+ //for (int i = 0; i < l.Length; i++)
+ //{
+ // if (string.IsNullOrEmpty(l[i]) || !l[i].Contains("\t"))
+ // continue;
+ // string[] ll = l[i].Split('\t');
+ // string keyword = ll[0].Replace(" ", "");
+ // int rank = int.Parse(ll[1]);
+ // if (!Keywords.ContainsKey(keyword))
+ // Keywords.Add(keyword, rank);
+ //}
}
///
/// 删除下架产品
diff --git a/Work/CollectClass/GetProductOnlineClass.cs b/Work/CollectClass/GetProductOnlineClass.cs
index 16b3415..7173105 100644
--- a/Work/CollectClass/GetProductOnlineClass.cs
+++ b/Work/CollectClass/GetProductOnlineClass.cs
@@ -7,8 +7,8 @@ using Work.Api;
using System.Data;
using Newtonsoft.Json;
using System.Linq;
-using JavaScriptEngineSwitcher.V8;
-using JavaScriptEngineSwitcher.Core;
+//using JavaScriptEngineSwitcher.V8;
+//using JavaScriptEngineSwitcher.Core;
using Work.ManageClass;
namespace Work.CollectClass
@@ -61,19 +61,19 @@ namespace Work.CollectClass
string refere = "https://mms.pinduoduo.com/exp/searchpromotion/create";
int randx = new Random(Guid.NewGuid().GetHashCode()).Next(000000, 999999);
string codex = "";
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
string data = "{\"mallId\":" + mallId + ",\"planName\":\"" + randx + "\",\"sceneType\":0,\"crawlerInfo\":\"#codex#\"}";
string html = GetPostTaobaoHtml.UploadTaobaoPost(url, refere, true, data.Replace("#codex#", codex), cookies);
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
url = "https://mms.pinduoduo.com/venus/api/subway/goods/mall/goods";
data = "{\"mallId\":" + mallId + ",\"orderBy\":0,\"pageNumber\":#pageNum#,\"pageSize\":100,\"sortBy\":0,\"crawlerInfo\":\"#codex#\"}";
@@ -93,11 +93,11 @@ namespace Work.CollectClass
if (i != 0)
{
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
html = GetPostTaobaoHtml.GetJsonPost(url, refere, true, data.Replace("#codex#", codex).Replace("#pageNum#", (i + 1).ToString()), cookies);
if (string.IsNullOrEmpty(html) || !html.Contains("total"))
@@ -151,11 +151,11 @@ namespace Work.CollectClass
if (i >= 20)
break;
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
url = "https://mms.pinduoduo.com/venus/api/subway/keyword/recommend";
refere = "https://mms.pinduoduo.com/exp/searchpromotion/create";
@@ -164,22 +164,22 @@ namespace Work.CollectClass
string wordList = html;
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
//url = "https://mms.pinduoduo.com/venus/api/subway/creative/isUnmodifiableTitle";
//data = "{\"mallId\":" + mallId + ",\"goodsId\":" + goodInfo.GoodsId + ",\"crawlerInfo\":\"" + codex + "\"}";
//html = GetPostTaobaoHtml.UploadTaobaoPost(url, refere, true, data, cookies);
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
url = "https://mms.pinduoduo.com/venus/api/goods/image/list";
refere = "https://mms.pinduoduo.com/exp/searchpromotion/create";
@@ -187,11 +187,11 @@ namespace Work.CollectClass
html = GetPostTaobaoHtml.UploadTaobaoPost(url, refere, true, data, cookies);
string imagelist = html;
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
if (planId == 0)
{
url = "https://mms.pinduoduo.com/venus/api/adPlan/create";
@@ -283,11 +283,11 @@ namespace Work.CollectClass
//data = "{\"mallId\":" + mallId + ",\"text\":\"[object Object]\",\"crawlerInfo\":\"" + codex + "\"}";
//html = GetPostTaobaoHtml.UploadTaobaoPost(url, refere, true, data, cookies);
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
url = "https://mms.pinduoduo.com/venus/api/subway/unit/create";
refere = "https://mms.pinduoduo.com/exp/searchpromotion/create";
@@ -2602,11 +2602,11 @@ namespace Work.CollectClass
string GoodsId = pids.ToString(1, pids.Length - 1);
string codex = "";
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
string data = "{\"goodsIds\":[" + GoodsId + "],\"crawlerInfo\":\"" + codex + "\"}";
string urlx = "https://mms.pinduoduo.com/vodka/v2/mms/batchOffSale";
string refere = "https://mms.pinduoduo.com";
@@ -3101,11 +3101,11 @@ namespace Work.CollectClass
string GoodsId = pids.ToString(1, pids.Length - 1);
string codex = "";
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
string data = "{\"goodsIds\":[" + GoodsId + "],\"crawlerInfo\":\"" + codex + "\"}";
string urlx = "https://mms.pinduoduo.com/vodka/v2/mms/batchOnSale";
string refere = "https://mms.pinduoduo.com";
@@ -3135,11 +3135,11 @@ namespace Work.CollectClass
string GoodsId = pids.ToString(1, pids.Length - 1);
string codex = "";
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
string data = "{\"goodsIds\":[" + GoodsId + "],\"crawlerInfo\":\"" + codex + "\"}";
string urlx = "https://mms.pinduoduo.com/vodka/v2/mms/batchOffSale";
diff --git a/Work/CollectClass/ShopDetailGet.cs b/Work/CollectClass/ShopDetailGet.cs
index 9d41618..5c4c5f1 100644
--- a/Work/CollectClass/ShopDetailGet.cs
+++ b/Work/CollectClass/ShopDetailGet.cs
@@ -3,8 +3,8 @@ using System.Collections.Generic;
using System.Threading;
using AllBase;
using Work.Api;
-using JavaScriptEngineSwitcher.Core;
-using JavaScriptEngineSwitcher.V8;
+//using JavaScriptEngineSwitcher.Core;
+//using JavaScriptEngineSwitcher.V8;
using Work.ManageClass;
namespace Work.CollectClass
@@ -200,11 +200,11 @@ namespace Work.CollectClass
if (staple == "[]")
staple = "普通商品";
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codext = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codext = jsEngine.CallFunction("aaa", "").ToString();
+ //}
url = "https://mms.pinduoduo.com/sydney/api/mallInfo/queryMallDataPageOverView";//"https://mms.pinduoduo.com/mars/shop/statisticsTrend";
refere = "https://mms.pinduoduo.com/Pdd.html";
data = "{\"queryDate\":\""+DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd")+"\",\"queryType\":2,\"crawlerInfo\":\"" + codext + "\" }";
@@ -230,11 +230,11 @@ namespace Work.CollectClass
//今天成交额
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codext = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codext = jsEngine.CallFunction("aaa", "").ToString();
+ //}
url = "https://mms.pinduoduo.com/sydney/api/mallInfo/mallPayList";// "https://mms.pinduoduo.com/mars/shop/queryDailyMallConfirmAmount";
refere = "https://mms.pinduoduo.com/Pdd.html";
data = "{\"crawlerInfo\":\"" + codext + "\" }";// UploadPinduoduoMain.AntiContent
@@ -258,11 +258,11 @@ namespace Work.CollectClass
decimal todayMount = todayNum;
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codext = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codext = jsEngine.CallFunction("aaa", "").ToString();
+ //}
url = "https://mms.pinduoduo.com/sydney/api/mallInfo/queryMallDataPageOverView";//"https://mms.pinduoduo.com/mars/shop/statisticsTrend";
refere = "https://mms.pinduoduo.com/Pdd.html";
data = "{\"queryDate\":\"" + DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd") + "\",\"queryType\":0,\"crawlerInfo\":\"" + codext + "\" }";
@@ -284,11 +284,11 @@ namespace Work.CollectClass
//昨天天成交金额
decimal yesdayIn = BaseRegex.GetDecimalJson(ref html, "cfmOrdrAmt");
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codext = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codext = jsEngine.CallFunction("aaa", "").ToString();
+ //}
url = "https://mms.pinduoduo.com/sydney/api/mallInfo/queryMallDataPageOverView";//"https://mms.pinduoduo.com/mars/shop/statisticsTrend";
refere = "https://mms.pinduoduo.com/Pdd.html";
data = "{\"queryDate\":\"" + DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd") + "\",\"queryType\":1,\"crawlerInfo\":\"" + codext + "\" }";
@@ -739,11 +739,11 @@ namespace Work.CollectClass
//昨天
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
//url = "https://mms.pinduoduo.com/sydney/api/mallFlow/queryMallFlowOverView"; //"https://mms.pinduoduo.com/sydney/api/goodsDataShow/queryGoodsPageOverView";
//refere = "https://mms.pinduoduo.com/sycm/goods_effect";
//data = "{\"beginDate\":\""+ DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd") + "\",\"endDate\":\""+ DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd") + "\",\"crawlerInfo\":\""+ codex + "\"}";
@@ -785,11 +785,11 @@ namespace Work.CollectClass
//}
if (sevFlag)
{
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
//url = "https://mms.pinduoduo.com/sydney/api/mallFlow/queryMallFlowOverView"; //"https://mms.pinduoduo.com/sydney/api/goodsDataShow/queryGoodsPageOverView";
//refere = "https://mms.pinduoduo.com/sycm/goods_effect";
//data = "{\"beginDate\":\"" + DateTime.Now.AddDays(-7).ToString("yyyy-MM-dd") + "\",\"endDate\":\"" + DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd") + "\",\"crawlerInfo\":\"" + codex + "\"}";
@@ -834,11 +834,11 @@ namespace Work.CollectClass
if (thirFlag)
{
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
//url = "https://mms.pinduoduo.com/sydney/api/mallFlow/queryMallFlowOverView"; //"https://mms.pinduoduo.com/sydney/api/goodsDataShow/queryGoodsPageOverView";
//refere = "https://mms.pinduoduo.com/sycm/goods_effect";
//data = "{\"beginDate\":\"" + DateTime.Now.AddDays(-30).ToString("yyyy-MM-dd") + "\",\"endDate\":\"" + DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd") + "\",\"crawlerInfo\":\"" + codex + "\"}";
diff --git a/Work/CollectClass/WhiteBaseMap.cs b/Work/CollectClass/WhiteBaseMap.cs
index d0a7137..3ed8b06 100644
--- a/Work/CollectClass/WhiteBaseMap.cs
+++ b/Work/CollectClass/WhiteBaseMap.cs
@@ -1,7 +1,5 @@
using AllBase;
using CefSharp;
-using JavaScriptEngineSwitcher.Core;
-using JavaScriptEngineSwitcher.V8;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
@@ -811,14 +809,14 @@ namespace Work.CollectClass
public static string getAnti0aon()
{
string anti = "";
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.PinDuoDUo_0ao);
- anti = jsEngine.CallFunction("get_anti", "").ToString();
- try
- { anti = "0ao" + anti.Substring(3); }
- catch { }
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.PinDuoDUo_0ao);
+ // anti = jsEngine.CallFunction("get_anti", "").ToString();
+ // try
+ // { anti = "0ao" + anti.Substring(3); }
+ // catch { }
+ //}
return anti;
}
@@ -1545,11 +1543,11 @@ namespace Work.CollectClass
public static string GetAntiContent0ao_v2(string sUserAgent = "")
{
string sAntiContent = string.Empty;
- using (V8JsEngine v8JsEngine = new V8JsEngine())
- {
- v8JsEngine.Execute(PinDuoDuo_0aoNew);
- sAntiContent = (string)v8JsEngine.CallFunction("getAntiContent", sUserAgent);
- }
+ //using (V8JsEngine v8JsEngine = new V8JsEngine())
+ //{
+ // v8JsEngine.Execute(PinDuoDuo_0aoNew);
+ // sAntiContent = (string)v8JsEngine.CallFunction("getAntiContent", sUserAgent);
+ //}
return sAntiContent;
}
diff --git a/Work/CollectClass/WithDrawAmount.cs b/Work/CollectClass/WithDrawAmount.cs
index 22af202..3ae1888 100644
--- a/Work/CollectClass/WithDrawAmount.cs
+++ b/Work/CollectClass/WithDrawAmount.cs
@@ -1,6 +1,6 @@
using AllBase;
-using JavaScriptEngineSwitcher.Core;
-using JavaScriptEngineSwitcher.V8;
+//using JavaScriptEngineSwitcher.Core;
+//using JavaScriptEngineSwitcher.V8;
using System;
using System.Collections.Generic;
using System.IO;
@@ -103,14 +103,14 @@ namespace Work.CollectClass
public static string getAnti0aon()
{
string anti = "";
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.PinDuoDUo_0ao);
- anti = jsEngine.CallFunction("get_anti", "").ToString();
- try
- { anti = "0ao" + anti.Substring(3); }
- catch { }
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.PinDuoDUo_0ao);
+ // anti = jsEngine.CallFunction("get_anti", "").ToString();
+ // try
+ // { anti = "0ao" + anti.Substring(3); }
+ // catch { }
+ //}
return anti;
}
diff --git a/Work/Initialization.cs b/Work/Initialization.cs
index f46a5b9..06b1550 100644
--- a/Work/Initialization.cs
+++ b/Work/Initialization.cs
@@ -96,7 +96,7 @@ offCountPara,false;offProductPara,100;IrregularitiesPara,true;noNeerPara,true;no
Task.Run(() => { CheckFiles(); IsCheckFilesFinish = true; InitProgress(1); });
//Task.Run(() => { CheckUpdataFile(); });
Task.Run(() => { new Segment().GetWord(); InitProgress(1); });
- Task.Run(() => { new PinduoduoCatList().Get(); InitProgress(1); });
+ //Task.Run(() => { new PinduoduoCatList().Get(); InitProgress(1); }); // pdd cat
Task.Run(() => { GetMacCode(); InitProgress(1); });
#if DEBUG
if (!File.Exists(System.Environment.CurrentDirectory + "\\TemuKJD.exe.choice.debug.tools"))
@@ -849,73 +849,73 @@ offCountPara,false;offProductPara,100;IrregularitiesPara,true;noNeerPara,true;no
}
//加载配置文件
- string lines = File.ReadAllText("config/标题过滤词x.ini", Encoding.Default);
- if (!string.IsNullOrEmpty(lines))
- {
- if (IsBase64(lines))
- {
- lines = Base64Decrypt(lines);
- }
- foreach (string s in lines.Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries))
- {
- if (string.IsNullOrEmpty(s))
- continue;
- if (s.Trim().Length < 2)
- continue;
- AlibabaShop.NoTitleWords.Add(s.Trim());
- }
+ //string lines = File.ReadAllText("config/标题过滤词x.ini", Encoding.Default);
+ //if (!string.IsNullOrEmpty(lines))
+ //{
+ // if (IsBase64(lines))
+ // {
+ // lines = Base64Decrypt(lines);
+ // }
+ // foreach (string s in lines.Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries))
+ // {
+ // if (string.IsNullOrEmpty(s))
+ // continue;
+ // if (s.Trim().Length < 2)
+ // continue;
+ // AlibabaShop.NoTitleWords.Add(s.Trim());
+ // }
+ //
+ // InitProgress(1);
+ //}
+
+ //lines = File.ReadAllText("config/属性过滤词x.ini", Encoding.Default);
+ //if (!string.IsNullOrEmpty(lines))
+ //{
+ //if (IsBase64(lines))
+ //{
+ //lines = Base64Decrypt(lines);
+ //}
+ //foreach (string s in lines.Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries))
+ //{
+ //if (string.IsNullOrEmpty(s))
+ //continue;
+ //AlibabaShop.NoPropWords.Add(s.Trim());
+ //}
+
+ //InitProgress(1);
+ //}
+ //lines = File.ReadAllText("config/品牌属性过滤x.ini", Encoding.Default);
+ //if (!string.IsNullOrEmpty(lines))
+ //{
+ //if (IsBase64(lines))
+ //{
+ //lines = Base64Decrypt(lines);
+ //}
+ //foreach (string s in lines.Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries))
+ //{
+ //if (string.IsNullOrEmpty(s))
+ //continue;
+ //AlibabaShop.NoBrandName.Add(s.Trim());
+ //}
+
+ //InitProgress(1);
+ //}
+ //lines = File.ReadAllText("config/标题包含过滤x.ini", Encoding.Default);
+ //if (!string.IsNullOrEmpty(lines))
+ //{
+ //if (IsBase64(lines))
+ //{
+ //lines = Base64Decrypt(lines);
+ //}
+ //foreach (string s in lines.Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries))
+ //{
+ //if (string.IsNullOrEmpty(s))
+ //continue;
+ //AlibabaShop.TitleCantHad.Add(s.Trim());
+ //}
InitProgress(1);
- }
-
- lines = File.ReadAllText("config/属性过滤词x.ini", Encoding.Default);
- if (!string.IsNullOrEmpty(lines))
- {
- if (IsBase64(lines))
- {
- lines = Base64Decrypt(lines);
- }
- foreach (string s in lines.Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries))
- {
- if (string.IsNullOrEmpty(s))
- continue;
- AlibabaShop.NoPropWords.Add(s.Trim());
- }
-
- InitProgress(1);
- }
- lines = File.ReadAllText("config/品牌属性过滤x.ini", Encoding.Default);
- if (!string.IsNullOrEmpty(lines))
- {
- if (IsBase64(lines))
- {
- lines = Base64Decrypt(lines);
- }
- foreach (string s in lines.Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries))
- {
- if (string.IsNullOrEmpty(s))
- continue;
- AlibabaShop.NoBrandName.Add(s.Trim());
- }
-
- InitProgress(1);
- }
- lines = File.ReadAllText("config/标题包含过滤x.ini", Encoding.Default);
- if (!string.IsNullOrEmpty(lines))
- {
- if (IsBase64(lines))
- {
- lines = Base64Decrypt(lines);
- }
- foreach (string s in lines.Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries))
- {
- if (string.IsNullOrEmpty(s))
- continue;
- AlibabaShop.TitleCantHad.Add(s.Trim());
- }
-
- InitProgress(1);
- }
+ //}
}
public static bool IsUseSystemProxy()
diff --git a/Work/ManageClass/AddressSetIni.cs b/Work/ManageClass/AddressSetIni.cs
index a86148c..f5fa564 100644
--- a/Work/ManageClass/AddressSetIni.cs
+++ b/Work/ManageClass/AddressSetIni.cs
@@ -17,26 +17,26 @@ namespace Work.ManageClass
public static Dictionary> Addressdic = new Dictionary>();
public void Ini()
{
- string file = FileBase.ReadAllText("taobao_address.tjm", Encoding.UTF8);
- if (string.IsNullOrEmpty(file))
- {
- MessageBox.Show("初始化淘宝地址信息错误,请检查网络", "提示");
- return;
- }
- var m = BaseRegex.GetMatchRegex(ref file, @"\[""([\d]+)"",\[""([^""]+?)"",""[^""]+?""\],""([\d]+)""");
- for (int i = 0; i < m.Count; i++)
- {
- AddressBase a = new AddressBase();
- a.Id = int.Parse(m[i].Groups[1].Value);
- a.Name = m[i].Groups[2].Value;
- a.UpId = int.Parse(m[i].Groups[3].Value);
- AddressList.Add(a);
- if (!Addresses.ContainsKey(a.Id))
- Addresses.Add(a.Id, new List());
- if (!Addresses.ContainsKey(a.UpId))
- Addresses.Add(a.UpId, new List());
- Addresses[a.UpId].Add(a);
- }
+ //string file = FileBase.ReadAllText("taobao_address.tjm", Encoding.UTF8);
+ //if (string.IsNullOrEmpty(file))
+ //{
+ // MessageBox.Show("初始化淘宝地址信息错误,请检查网络", "提示");
+ // return;
+ //}
+ //var m = BaseRegex.GetMatchRegex(ref file, @"\[""([\d]+)"",\[""([^""]+?)"",""[^""]+?""\],""([\d]+)""");
+ //for (int i = 0; i < m.Count; i++)
+ //{
+ // AddressBase a = new AddressBase();
+ // a.Id = int.Parse(m[i].Groups[1].Value);
+ // a.Name = m[i].Groups[2].Value;
+ // a.UpId = int.Parse(m[i].Groups[3].Value);
+ // AddressList.Add(a);
+ // if (!Addresses.ContainsKey(a.Id))
+ // Addresses.Add(a.Id, new List());
+ // if (!Addresses.ContainsKey(a.UpId))
+ // Addresses.Add(a.UpId, new List());
+ // Addresses[a.UpId].Add(a);
+ //}
}
public void getAddress1688()
{
diff --git a/Work/ManageClass/ClearProductGroup.cs b/Work/ManageClass/ClearProductGroup.cs
index ecca9e0..d585480 100644
--- a/Work/ManageClass/ClearProductGroup.cs
+++ b/Work/ManageClass/ClearProductGroup.cs
@@ -1,6 +1,6 @@
using AllBase;
-using JavaScriptEngineSwitcher.Core;
-using JavaScriptEngineSwitcher.V8;
+//using JavaScriptEngineSwitcher.Core;
+//using JavaScriptEngineSwitcher.V8;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -1080,11 +1080,11 @@ namespace Work.ManageClass
string GoodsId = pids.ToString(1, pids.Length - 1);
string codex = "";
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
string data = "{\"goodsIds\":[" + GoodsId + "],\"crawlerInfo\":\"" + codex + "\"}";
string urlx = "https://mms.pinduoduo.com/vodka/v2/mms/batchOnSale";
string refere = "https://mms.pinduoduo.com";
@@ -1184,11 +1184,11 @@ namespace Work.ManageClass
string GoodsId = pids.ToString(1, pids.Length - 1);
string codex = "";
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
string data = "{\"goodsIds\":[" + GoodsId + "],\"crawlerInfo\":\"" + codex + "\"}";
string urlx = "https://mms.pinduoduo.com/vodka/v2/mms/batchOffSale";
string refere = "https://mms.pinduoduo.com";
@@ -1267,11 +1267,11 @@ namespace Work.ManageClass
string GoodsId = pids.ToString(1, pids.Length - 1);
string codex = "";
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
string data = "{\"goodsIds\":[" + GoodsId + "],\"crawlerInfo\":\"" + codex + "\"}";
string urlx = "https://mms.pinduoduo.com/vodka/v2/mms/batchOffSale";
string refere = "https://mms.pinduoduo.com";
diff --git a/Work/ManageClass/CpsShopNew.cs b/Work/ManageClass/CpsShopNew.cs
index 863eaa2..3110e3f 100644
--- a/Work/ManageClass/CpsShopNew.cs
+++ b/Work/ManageClass/CpsShopNew.cs
@@ -15,8 +15,8 @@ using System.Runtime.CompilerServices;
using System.Text;
using System.Threading;
using AllBase;
-using JavaScriptEngineSwitcher.Core;
-using JavaScriptEngineSwitcher.V8;
+//using JavaScriptEngineSwitcher.Core;
+//using JavaScriptEngineSwitcher.V8;
using Work.Api;
using Work.CollectClass;
@@ -71,14 +71,14 @@ namespace Work.ManageClass
public static string getAnti0aon()
{
string anti = "";
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.PinDuoDUo_0ao);
- anti = jsEngine.CallFunction("get_anti", "").ToString();
- try
- { anti = "0ao" + anti.Substring(3); }
- catch { }
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.PinDuoDUo_0ao);
+ // anti = jsEngine.CallFunction("get_anti", "").ToString();
+ // try
+ // { anti = "0ao" + anti.Substring(3); }
+ // catch { }
+ //}
return anti;
}
diff --git a/Work/ManageClass/VioProductGroup.cs b/Work/ManageClass/VioProductGroup.cs
index aaed227..5379b62 100644
--- a/Work/ManageClass/VioProductGroup.cs
+++ b/Work/ManageClass/VioProductGroup.cs
@@ -1,6 +1,6 @@
using AllBase;
-using JavaScriptEngineSwitcher.Core;
-using JavaScriptEngineSwitcher.V8;
+//using JavaScriptEngineSwitcher.Core;
+//using JavaScriptEngineSwitcher.V8;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -917,11 +917,11 @@ namespace Work.ManageClass
string GoodsId = pids.ToString(1, pids.Length - 1);
string codex = "";
- using (IJsEngine jsEngine = new V8JsEngine())
- {
- jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
- codex = jsEngine.CallFunction("aaa", "").ToString();
- }
+ //using (IJsEngine jsEngine = new V8JsEngine())
+ //{
+ // jsEngine.Execute(GetProductOnlineClass.JsCodeGetSms);
+ // codex = jsEngine.CallFunction("aaa", "").ToString();
+ //}
string data = "{\"goodsIds\":[" + GoodsId + "],\"crawlerInfo\":\"" + codex + "\"}";
string urlx = "https://mms.pinduoduo.com/vodka/v2/mms/batchOffSale";
string refere = "https://mms.pinduoduo.com";
diff --git a/Work/Work.csproj b/Work/Work.csproj
index fb9fb8e..abe1cbc 100644
--- a/Work/Work.csproj
+++ b/Work/Work.csproj
@@ -1,8 +1,8 @@
-
-
-
+
+
+
Debug
@@ -12,10 +12,11 @@
Properties
Work
Work
- v4.5.2
+ v4.6.2
512
+
true
@@ -73,20 +74,14 @@
MinimumRecommendedRules.ruleset
-
- ..\packages\AdvancedStringBuilder.0.1.0\lib\net45\AdvancedStringBuilder.dll
+
+ ..\packages\CefSharp.Common.138.0.340\lib\net462\CefSharp.dll
-
- ..\packages\CefSharp.Common.114.2.120\lib\net452\CefSharp.dll
+
+ ..\packages\CefSharp.Common.138.0.340\lib\net462\CefSharp.Core.dll
-
- ..\packages\CefSharp.Common.114.2.120\lib\net452\CefSharp.Core.dll
-
-
- ..\packages\CefSharp.WinForms.114.2.120\lib\net452\CefSharp.WinForms.dll
-
-
- ..\packages\JavaScriptEngineSwitcher.V8.3.0.5\lib\net45\ClearScript.dll
+
+ ..\packages\CefSharp.WinForms.138.0.340\lib\net462\CefSharp.WinForms.dll
@@ -94,12 +89,6 @@
True
..\DllReference\Interop.MSScriptControl.dll
-
- ..\packages\JavaScriptEngineSwitcher.Core.3.0.0\lib\net45\JavaScriptEngineSwitcher.Core.dll
-
-
- ..\packages\JavaScriptEngineSwitcher.V8.3.0.5\lib\net45\JavaScriptEngineSwitcher.V8.dll
-
False
..\DllReference\NaiBa.Util.dll
@@ -230,6 +219,7 @@
+
@@ -238,12 +228,12 @@
这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。
-
-
-
-
+
+
+
+
-
+