PrecompiledWeb/WebUI/Admin/TestAdminname.ashx

(完整代码) 831B

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

using System;
using System.Web;
using BLL;
using Model;
public class TestAdminname : IHttpHandler {
    
    public void ProcessRequest (HttpContext context) {
        string strName = HttpContext.Current.Request["name"].ToString(); ;
        context.Response.ContentType = "text/plain";
        context.Response.Write(isExits(strName));//判断是否存在strName用户名。
    }
    public string isExits(string strName)
    {
       UserMOD usemod=UserBLL .selectOneInfo(strName );//逻辑层
       if (usemod.UseName == null||usemod .UseName =="")
       {
           return "0";
       }
       else
       {
           return "1";
       }
    }
    public bool IsReusable {
        get {
            return false;
        }
    }

}

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

AI 解读 AI

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

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