Web/Services/manage/ProductBasicSKU.ashx.cs
(开头部分) 8KB这里只显示每个文件的开头 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 ProductBasicSKU1 : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
string str = "";
string type = context.Server.UrlDecode(DNTRequest.GetString("type"));
switch (type)
{
case "GetProductBasicSKUTypeList":
{
JsonModel jm = new JsonModel();
if (CommonHelper.GetManageUserID() == -1)
jm.is_login = 0;
else
{
ProductBasicSKUList list = new ProductBasicSKUList();
jm.listhtml = list.ListHtml(); jm.is_login = 1; jm.status = 200;
jm.listpage = list.Pager();
}
str = JsonConvert.SerializeObject(jm, Formatting.Indented);
}
break;
case "GetProductBasicSKUTypeJson":
{
str = GetProductBasicSKUTypeJson();
}
break;
case "AddT_ProductBasicSKU":
{
if (CommonHelper.GetManageUserID() == -1)
str = "-10";
else
{
try
{
str = AddProductBasicSKUType();
}
catch (Exception ex)
{
str = ex.Message;
}
}
后面还有 172 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
