ZhiYeJianKang_PeiXun/Song.Site/Ajax/Copyright.ashx.cs
2025-02-20 15:41:53 +08:00

33 lines
818 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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