RM.Web/RMBase/SysMenu/Menu_List.aspx.cs
(完整代码) 1KBusing RM.Busines.DAL;
using RM.Busines.IDAO;
using System;
using System.Web;
using System.Web.SessionState;
namespace RM.Web.RMBase.SysMenu
{
public class Menu_List : IHttpHandler, IRequiresSessionState
{
public bool IsReusable
{
get
{
return false;
}
}
public void ProcessRequest(HttpContext context)
{
context.Response.ContentType = "text/plain";
context.Response.Buffer = true;
context.Response.ExpiresAbsolute = DateTime.Now.AddDays(-1.0);
context.Response.AddHeader("pragma", "no-cache");
context.Response.AddHeader("cache-control", "");
context.Response.CacheControl = "no-cache";
string Action = context.Request["action"].Trim();
string ParentId = context.Request["ParentId"];
string key = context.Request["key"];
RM_System_IDAO systemidao = new RM_System_Dal();
string text = Action;
if (text != null)
{
if (text == "addButton")
{
context.Response.Write(systemidao.AllotButton(key, ParentId));
context.Response.End();
}
}
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
