|
|
@ -5,6 +5,10 @@ using System.Web;
|
|
|
|
using System.IO;
|
|
|
|
using System.IO;
|
|
|
|
using System.Web.Script.Serialization;
|
|
|
|
using System.Web.Script.Serialization;
|
|
|
|
using System.Drawing;
|
|
|
|
using System.Drawing;
|
|
|
|
|
|
|
|
using TradeManage;
|
|
|
|
|
|
|
|
using NetLibrary.Log;
|
|
|
|
|
|
|
|
using FastJSON;
|
|
|
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
|
|
namespace TradeManageNew.GlobalAshx
|
|
|
|
namespace TradeManageNew.GlobalAshx
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -52,7 +56,7 @@ namespace TradeManageNew.GlobalAshx
|
|
|
|
//{
|
|
|
|
//{
|
|
|
|
// id = obj.SaveResource(md);
|
|
|
|
// 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 };
|
|
|
|
var model = new { Id = id, FileName = FName, FileUrl = md.FileUrl, FileSize = files[0].InputStream.Length };
|
|
|
|
|
|
|
|
|
|
|
|