Web/kzcms/admin/Server/Channel.ashx.cs

(开头部分) 13KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text;
using System.Web.SessionState;
namespace Web.admin.Server
{
    /// <summary>
    /// Channel 的摘要说明
    /// </summary>
    public class Channel : IHttpHandler, IRequiresSessionState
    {
        private string Act = Kscor.Common.DNTRequest.GetString("Act");
        private string html = string.Empty;
        private Kscor.BLL.Channel BLLChannel = new Kscor.BLL.Channel();
        private Kscor.BLL.Model BLLModel = new Kscor.BLL.Model();
        private Kscor.BLL.Article BLLArticle = new Kscor.BLL.Article();

        public void ProcessRequest(HttpContext context)
        {
            if (Kscor.BLL.Session.CheckPurview("普通管理员"))
            {
                switch (Act)
                {
                    case "GetListOrder":
                        html = GetListOrder();
                        break;

                    case "GetList":
                        html = GetList();
                        break;

                    case "Get":
                        html = Get();
                        break;

                    case "Add":
                        html = Add();
                        break;

                    case "Update":
                        html = Update();
                        break;

                    case "Del":
                        html = Del();
                        break;

                    default:
                        html = Kscor.Common.JsonHelper.ToJson("0", "参数错误");
                        break;
                }
            }
            else
            {
                html = Kscor.Common.JsonHelper.ToJson("0", "没有权限访问");
            }
            context.Response.Write(html);
            context.Response.End();
        }
后面还有 261 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。