Web/App/Android/Regedit.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WMPT.Model;
using WMPT.SQLServerDAL;
using System.Text;
using WMPT.Common;
/// <summary>
/// 会员注册
/// </summary>
public partial class AndroidAPI_Regeditv : APIPageBase
{
ECustomer userBLL = new ECustomer();
protected void Page_Load(object sender, EventArgs e)
{
Response.Clear();
string state = "1";
//输入参数:用户名、密码
string email = WebUtility.InputText(Request["email"]);
string username = WebUtility.InputText(Request["username"]);
string tel = WebUtility.InputText(Request["tel"]);
string password = WebUtility.GetMd5(WebUtility.InputText(Request["password"]));
string sql = "name = '" + username + "'";
int count = userBLL.GetCount(sql);
if (count > 0)
{
Response.Write("{\"userid\":\"0\",\"state\":\"-2\",\"msg\":\"用户名重复\"}");
Response.End();
return;
}
sql = "tell = '" + tel + "'";
count = userBLL.GetCount(sql);
if (count > 0)
{
Response.Write("{\"userid\":\"0\",\"state\":\"-3\",\"msg\":\"手机号码重复\"}");
Response.End();
return;
}
sql = "EMAIL = '" + email + "'";
count = userBLL.GetCount(sql);
if (count > 0)
{
Response.Write("{\"userid\":\"0\",\"state\":\"-4\",\"msg\":\"邮箱重复了\"}");
Response.End();
return;
}
ECustomerInfo model = new ECustomerInfo();
后面还有 40 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
