更新至大部分功能

This commit is contained in:
2018-04-22 00:25:55 +08:00
parent 0c6b09f73e
commit b89a78652c
11 changed files with 1591 additions and 195 deletions
+11 -11
View File
@@ -60,16 +60,16 @@ namespace COMCMS.Core
}
}
public static class Extension
{
public static void EchoTip(this JsonTip json)
{
string strJson = JsonTip.GetJsonString(json);
//public static class Extension
//{
// public static void EchoTip(this JsonTip json)
// {
// string strJson = JsonTip.GetJsonString(json);
Byte[] bytes = Encoding.UTF8.GetBytes(strJson);
Stream stream = new MemoryStream(bytes);
MyHttpContext.Current.Response.ContentType = "text/plain";
MyHttpContext.Current.Response.Body = stream;
}
}
// Byte[] bytes = Encoding.UTF8.GetBytes(strJson);
// Stream stream = new MemoryStream(bytes);
// MyHttpContext.Current.Response.ContentType = "text/plain";
// MyHttpContext.Current.Response.Body = stream;
// }
//}
}