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

(开头部分) 23KB

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

using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text;
using System.Web.SessionState;
using System.IO;

namespace Web.admin.Server
{
    /// <summary>
    /// Article 的摘要说明
    /// </summary>
    public class Article : IHttpHandler, IRequiresSessionState
    {
        private string Act = Kscor.Common.DNTRequest.GetString("Act");
        private string html = string.Empty;
        private Kscor.BLL.Article BLLArticle = new Kscor.BLL.Article();
        private Kscor.BLL.Channel BLLChannel = new Kscor.BLL.Channel();
        private Kscor.BLL.Model BLLModel = new Kscor.BLL.Model();
        private Kscor.BLL.Attribute BLLAttribute = new Kscor.BLL.Attribute();
        private Kscor.BLL.AttributeValue BLLAttributeValue = new Kscor.BLL.AttributeValue();
        private Kscor.BLL.Attach BLLAttach = new Kscor.BLL.Attach();
        private Kscor.Model.Admin ModelUser;
        public void ProcessRequest(HttpContext context)
        {
            if (Kscor.BLL.Session.CheckPurview("普通管理员"))
            {
                ModelUser = (Kscor.Model.Admin)HttpContext.Current.Session[Kscor.Common.Config.Sessionname];
                switch (Act)
                {
                    case "GetPageList":
                        html = GetPageList();
                        break;

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

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

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

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

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

                    default:
                        html = Kscor.Common.JsonHelper.ToJson("0", "参数错误");
                        break;
                }
后面还有 458 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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