陈嘉乐
2021-01-21 5f46903845cf9b2cb4d7f186370d3eb7fb6c9577
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)