Web/Services/manage/T_BasicTemplateClass.ashx.cs

(开头部分) 5KB

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








using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Entity;
using BLL;
using Newtonsoft.Json;
using Common;
using System.IO;
using BLL.manage;


namespace HotelShop.Services.manage
{


    public class T_BasicTemplateClass : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            string str = "";
            string type = context.Server.UrlDecode(DNTRequest.GetString("type"));
            switch (type)
            {
                //case "GetT_BasicTemplateList":
                //    {
                //        JsonModel jm = new JsonModel();
                //        if (CommonHelper.GetManageUserID() == -1)
                //            jm.is_login = 0;
                //        else
                //        {
                //            T_BasicTemplateList list = new T_BasicTemplateList();
                //            jm.listhtml = list.ListHtml(); jm.is_login = 1; jm.status = 200;
                //            jm.listpage = list.Pager();
                //        }
                //        str = JsonConvert.SerializeObject(jm, Formatting.Indented);
                //    }
                //    break;


                case "AddT_BasicTemplate":
                    {
                        if (CommonHelper.GetManageUserID() == -1)
                            str = "-10";
                        else
                        {
                            try
                            {
                                str = AddT_BasicTemplate();
                            }
                            catch (Exception ex)
                            {
后面还有 124 行代码,购买后查看完整代码

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

AI 解读

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

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