JLChen
2021-01-14 ec79e25b8ef528a3fe5b08778d12ee8ebea0f88b
HDL_ON/DAL/Server/HttpUtil.cs
@@ -39,6 +39,7 @@
        #region **********网络请求封装**********
        /// <summary>
        /// 固定域名,正式环境
        /// 公共域名就近解析
        /// </summary>
        //public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com";
        public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com";
@@ -578,8 +579,8 @@
                        //Value为null不参加校验
                        if (item.Value != null)
                        {
                            //Value.ToString()为null或者""也不参加校验
                            if (!string.IsNullOrEmpty(item.Value.ToString()))
                            //Value.ToString()不为null或者"" 并且 是IsValueType或者stirng类型才参加校验
                            if (!string.IsNullOrEmpty(item.Value.ToString()) && (item.Value is string || item.Value.GetType().IsValueType))
                            {
                                //如果是bool类型,要转小写
                                if (item.Value is bool)