From 8acf68b443628934de5f0fd6499b15599aff2423 Mon Sep 17 00:00:00 2001 From: chenwenkai <1084072318@qq.com> Date: Mon, 3 Mar 2025 09:14:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TradeManageNew/GlobalAshx/AjaxFileUpload.ashx.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/TradeManageNew/GlobalAshx/AjaxFileUpload.ashx.cs b/TradeManageNew/GlobalAshx/AjaxFileUpload.ashx.cs index ce9fa1f..2b9765d 100644 --- a/TradeManageNew/GlobalAshx/AjaxFileUpload.ashx.cs +++ b/TradeManageNew/GlobalAshx/AjaxFileUpload.ashx.cs @@ -5,6 +5,10 @@ using System.Web; using System.IO; using System.Web.Script.Serialization; using System.Drawing; +using TradeManage; +using NetLibrary.Log; +using FastJSON; +using Newtonsoft.Json; namespace TradeManageNew.GlobalAshx { @@ -52,7 +56,7 @@ namespace TradeManageNew.GlobalAshx //{ // id = obj.SaveResource(md); //} - + ErrorFollow.TraceWrite("上传文件", "JC_Resource:" + JsonConvert.SerializeObject(md), DirectoryName); var model = new { Id = id, FileName = FName, FileUrl = md.FileUrl, FileSize = files[0].InputStream.Length };