From 604341e5ef254ef6d4164423a342efef897a2172 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期五, 22 一月 2021 17:51:48 +0800 Subject: [PATCH] 2021-1-22-1 --- HDL_ON/DAL/Server/HttpUtil.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/HDL_ON/DAL/Server/HttpUtil.cs b/HDL_ON/DAL/Server/HttpUtil.cs index d6422ae..53c742a 100644 --- a/HDL_ON/DAL/Server/HttpUtil.cs +++ b/HDL_ON/DAL/Server/HttpUtil.cs @@ -580,7 +580,7 @@ if (item.Value != null) { //Value.ToString()涓簄ull鎴栬��""涔熶笉鍙傚姞鏍¢獙 - if (!string.IsNullOrEmpty(item.Value.ToString())) + if (!string.IsNullOrEmpty(item.Value.ToString()) && (item.Value is string || item.Value.GetType().IsValueType)) { //濡傛灉鏄痓ool绫诲瀷锛岃杞皬鍐� if (item.Value is bool) -- Gitblit v1.8.0