ZhiYeJianKang_PeiXun/Song.Site/Ajax/Copyright.ashx.cs

33 lines
818 B
C#
Raw Permalink Normal View History

2025-02-20 15:41:53 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WeiSha.Common;
using Song.ServiceInterfaces;
namespace Song.Site.Ajax
{
/// <summary>
/// 系统的版权信息来自copyright.xml
/// </summary>
public class Copyright : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
context.Response.ContentType = "text/plain";
//版权信息
WeiSha.Common.Copyright<string, string> copyright = WeiSha.Common.Request.Copyright;
string json = copyright.ToJson();
context.Response.Write(json);
context.Response.End();
}
public bool IsReusable
{
get
{
return false;
}
}
}
}