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 };