From de53d12e223eb8c9a562aeefdcfa9b4039b3d0b0 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期三, 16 六月 2021 10:24:18 +0800 Subject: [PATCH] dome - 1 --- HDL_ON/DAL/Server/HttpUtil.cs | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/HDL_ON/DAL/Server/HttpUtil.cs b/HDL_ON/DAL/Server/HttpUtil.cs index bf00e56..4347c31 100644 --- a/HDL_ON/DAL/Server/HttpUtil.cs +++ b/HDL_ON/DAL/Server/HttpUtil.cs @@ -13,10 +13,13 @@ { #region **********鍏ㄥ眬甯搁噺********** - ///// <summary> - ///// API_HTTPS - ///// </summary> - //public const string API_HTTPS = "https://"; + /// <summary> + /// 鍥哄畾鍩熷悕,姝e紡鐜 + /// 鍏叡鍩熷悕灏辫繎瑙f瀽 + /// + /// </summary> + public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com"; + //public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com";//mmmm /// <summary> /// RegionMark /// </summary> @@ -37,12 +40,6 @@ #endregion #region **********缃戠粶璇锋眰灏佽********** - /// <summary> - /// 鍥哄畾鍩熷悕,姝e紡鐜 - /// 鍏叡鍩熷悕灏辫繎瑙f瀽 - /// </summary> - public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com"; - //public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com"; /// <summary> /// Get 璇锋眰鏈嶅姟鍣ㄦ柟娉� @@ -149,6 +146,11 @@ /// <returns></returns> static ResponsePackNew RequestHttpsBase(Method method, string apiPath, string bodyParameterJson = null, Dictionary<string, object> queryDictionary = null, Dictionary<string, object> urlSegmentDictionary = null, string urlHead = "", string replaceToken = "", int mTimeout = 10) { + //Dome妯″紡鐧诲綍 + if(MainPage.NoLoginMode) + { + return new ResponsePackNew() { Code = "0" }; + } #region HttpWebRequest try { -- Gitblit v1.8.0