diff --git a/AllBase/BaseClass.cs b/AllBase/BaseClass.cs index 2c9748f..62fa5dc 100644 --- a/AllBase/BaseClass.cs +++ b/AllBase/BaseClass.cs @@ -103,12 +103,13 @@ namespace AllBase public static string OriginUrl = "http://mobile.yangkeduo.com"; public static string NewUrl = "https://yangkeduo.com"; - //public static string ServerUrl = "http://localhost:9000"; - public static string ServerUrl = "http://1.13.195.131:9000"; - /// - /// 订单监控延迟 - /// - public static int OrderStep = 5; + //public static string ServerUrl = "http://localhost:9000"; + //public static string ServerUrl2 = "http://1.13.195.131:9000"; + public static string ServerUrl = "http://119.45.29.75:9000"; + /// + /// 订单监控延迟 + /// + public static int OrderStep = 5; public static int RankPage = 3; public static int Points { get; set; } = 0; public static int ShopPointsPerMonth { get; set; } = 30; diff --git a/TEMUKJD/WXForms/ProductForms/WXUserCollectAuthProdEditCatesForm.cs b/TEMUKJD/WXForms/ProductForms/WXUserCollectAuthProdEditCatesForm.cs index 53b5cda..24ad377 100644 --- a/TEMUKJD/WXForms/ProductForms/WXUserCollectAuthProdEditCatesForm.cs +++ b/TEMUKJD/WXForms/ProductForms/WXUserCollectAuthProdEditCatesForm.cs @@ -196,6 +196,9 @@ namespace TemuKJD.WXForms.ProductForms List list = new List(); + if (BaseClass.SaLevel != 1) + Thread.Sleep(Randomx.GetId(3000, 5000)); + var url = BaseClass.BuildPDDObjString("product/get_product_detail_list"); var data = ""; diff --git a/TEMUKJD/WXForms/ProductForms/WXUserCollectAuthProdEditNotesForm.cs b/TEMUKJD/WXForms/ProductForms/WXUserCollectAuthProdEditNotesForm.cs index 0326e34..e9a4f38 100644 --- a/TEMUKJD/WXForms/ProductForms/WXUserCollectAuthProdEditNotesForm.cs +++ b/TEMUKJD/WXForms/ProductForms/WXUserCollectAuthProdEditNotesForm.cs @@ -1,24 +1,25 @@ -using AllBase.Helper; +using AllBase; +using AllBase.Helper; using AllBase.Model.Result; -using TemuKJD.BaseForms; +using AllBase.Model.Result.WXResult; +using NaiBa.Util.Extension; +using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; +using System.IO; using System.Linq; using System.Text; +using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; -using AllBase; -using Work; -using TemuKJD.ToolForms; -using Newtonsoft.Json.Linq; -using System.IO; +using TemuKJD.BaseForms; using TemuKJD.BLL; -using NaiBa.Util.Extension; -using AllBase.Model.Result.WXResult; using TemuKJD.PDDForms.ProductSelectForms; +using TemuKJD.ToolForms; +using Work; namespace TemuKJD.WXForms.ProductForms { @@ -204,7 +205,10 @@ namespace TemuKJD.WXForms.ProductForms List list = new List(); - var url = BaseClass.BuildPDDObjString("product/get_product_detail_list"); + if (BaseClass.SaLevel != 1) + Thread.Sleep(Randomx.GetId(3000, 5000)); + + var url = BaseClass.BuildPDDObjString("product/get_product_detail_list"); var data = ""; data = UserLogin.GetSignaturex() + "&search_db_ids=" + prodDbId;