Web/App/Android/NewRegedit.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_NewRegeditv : APIPageBase
{
    ECustomer userBLL = new ECustomer();

    protected void Page_Load(object sender, EventArgs e)
    {
        Response.Clear();

        string state = "1";

        //输入参数:手机号、密码
        string tel = WebUtility.InputText(Request["tel"]);
        string password = WebUtility.GetMd5(WebUtility.InputText(Request["password"]));


        #region 相关验证
        if (string.IsNullOrEmpty(tel) || string.IsNullOrEmpty(password))
        {
            Response.Write("{\"userid\":\"0\",\"state\":\"-1\",\"msg\":\"手机号或密码为空\"}");
            Response.End();
            return;
        }

        string sql = "name = '" + tel + "'";
        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;
        }
        #endregion


        ECustomerInfo model = new ECustomerInfo();
        int point = Convert.ToInt32(SectionProxyData.GetSetValue(19));
后面还有 37 行代码,购买后查看完整代码

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

AI 解读 AI

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

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