WebUI/Admin/DeleteLogInfo.ashx

(完整代码) 722B

<%@ WebHandler Language="C#" Class="DeleteLogInfo" %>

using System;
using System.Web;
using BLL;
public class DeleteLogInfo : IHttpHandler {
    
    public void ProcessRequest (HttpContext context) {
        int id = int.Parse(context.Request.QueryString["id"]);
        context.Response.ContentType = "text/plain";
        context.Response.Write(deleteLogInfo(id));
    }
    public string deleteLogInfo(int id)
    {
        int result = CaoZuoBLL.deleteLogInfo(id);
        if (result > 0)
        {
            return "0";
        }
        else
        {
            return "1";
        }
    }
    public bool IsReusable {
        get {
            return false;
        }
    }

}

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

AI 解读 AI

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

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