cjs
2 天以前 cf94ef1a8860f5dc6cc52ed2c024477a2bc1c93f
HH.WCS.Mobox3.NongFuLinZhi/util/Settings.cs
@@ -24,6 +24,7 @@
        public static List<pPZSJSite> pPZSJSites { get; set; } = new List<pPZSJSite>();
        public static List<thirdPartyUrl> thirdPartyUrls { get; set; } = new List<thirdPartyUrl>();
        public static List<httpApiVerify> httpApiVerifys { get; set; } = new List<httpApiVerify>();
        public static List<dXSite> dXSites { get; set; } = new List<dXSite>();
        public static int port { get; set; }
        public static string WHCode { get; set; }
@@ -108,6 +109,10 @@
                            {
                                httpApiVerifys = JsonConvert.DeserializeObject<List<httpApiVerify>>(keyValue.Value.ToString());
                            }
                            if (keyValue.Name == "DXSite")
                            {
                                dXSites = JsonConvert.DeserializeObject<List<dXSite>>(keyValue.Value.ToString());
                            }
                        }
                    }
                }
@@ -126,6 +131,12 @@
            public string Project { get; set; }
            public string[] Extend { get; set; }
            public int enable { get; set; }
        }
        public class dXSite
        {
            public string loc { get; set; }
            public int site { get; set; }
        }           
        public class thirdPartyUrl
        {
@@ -160,6 +171,7 @@
        {
            public string areaName { get; set; }
            public string areaCode { get; set; }
            public int pri { get; set; }
            public int enable { get; set; }
        }