From 9acc8dd9b459b8e24a3fa84a1a36ce959ef967eb Mon Sep 17 00:00:00 2001 From: chenwenkai <1084072318@qq.com> Date: Mon, 3 Mar 2025 09:32:04 +0800 Subject: [PATCH] 1 --- TradeManageNew/GlobalAshx/AjaxFileUpload.ashx.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TradeManageNew/GlobalAshx/AjaxFileUpload.ashx.cs b/TradeManageNew/GlobalAshx/AjaxFileUpload.ashx.cs index c99328b..3742e72 100644 --- a/TradeManageNew/GlobalAshx/AjaxFileUpload.ashx.cs +++ b/TradeManageNew/GlobalAshx/AjaxFileUpload.ashx.cs @@ -56,7 +56,7 @@ namespace TradeManageNew.GlobalAshx //{ // id = obj.SaveResource(md); //} - //ErrorFollow.TraceWrite("上传文件", "JC_Resource:" + JsonConvert.SerializeObject(md), DirectoryName); + ErrorFollow.TraceWrite("上传文件", "JC_Resource:" + new JavaScriptSerializer().Serialize(md), DirectoryName); var model = new { Id = id, FileName = FName, FileUrl = md.FileUrl, FileSize = files[0].InputStream.Length };