Web/App/shop/Regedit.aspx.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using WMPT.Model;
using WMPT.SQLServerDAL;
using WMPT.Common;
using DS.Web.UCenter.Client;
using DS.Web.UCenter;
public partial class App_shop_Regedit : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Response.Clear();
string state = "1";
Points dal = new Points();
PointsInfo info = new PointsInfo();
//输入参数:用户名、密码
string Name = WebUtility.InputText(Request["name"]);
string Comm = WebUtility.InputText(Request["comm"]);
string CommPerson = WebUtility.InputText(Request["commperson"]);
string Address = WebUtility.InputText(Request["address"]);
string Introduce = WebUtility.InputText(Request["introduce"]);
string loginname = WebUtility.InputText(Request["loginname"]);
string password = WebUtility.GetMd5(WebUtility.InputText(Request["password"]));
if (Name == "")
{
Response.Write("{\"userid\":\"0\",\"state\":\"-1\",\"msg\":\"商家名称不能为空\"}");
Response.End();
return;
}
if (Comm == "")
{
Response.Write("{\"userid\":\"0\",\"state\":\"-2\",\"msg\":\"联系电话不能为空\"}");
Response.End();
return;
}
if (CommPerson == "")
{
Response.Write("{\"userid\":\"0\",\"state\":\"-3\",\"msg\":\"联系人不能为空\"}");
Response.End();
return;
}
if (Address == "")
{
Response.Write("{\"userid\":\"0\",\"state\":\"-4\",\"msg\":\"商家地址不能为空\"}");
Response.End();
return;
后面还有 108 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
