黄学彪
2021-01-28 291b8c485ac4095c3c20570602cce9c91d7f45b8
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";
@@ -579,7 +580,7 @@
                        if (item.Value != null)
                        {
                            //Value.ToString()为null或者""也不参加校验
                            if (!string.IsNullOrEmpty(item.Value.ToString()))
                            if (!string.IsNullOrEmpty(item.Value.ToString()) && (item.Value is string || item.Value.GetType().IsValueType))
                            {
                                //如果是bool类型,要转小写
                                if (item.Value is bool)