WebSite/Handlers/system/user.aspx.cs
(开头部分) 18KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using BLL.system;
using Common;
using Model.common;
using Model.system;
using System;
using System.Configuration;
using System.Web.UI;
using System.Web.UI.HtmlControls;
namespace CRMSYS.Handlers.system
{
public partial class user : Page
{
private static string VerificationBindphoneSuccess = ConfigurationManager.AppSettings["VerificationBindphoneSuccess"];
protected void Page_Load(object sender, EventArgs e)
{
string v = DESEncrypt.Decrypt(ConfigurationManager.AppSettings["Edition"]);
string text = base.Request["Method"].ToString();
switch (text)
{
case "loaduser":
{
int page = (base.Request["page"].ToString() == "0") ? 1 : Convert.ToInt32(base.Request["page"].ToString());
int rows = Convert.ToInt32(base.Request["rows"].ToString());
string srvID = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
string where = "";
string sqlwhere = "";
if (v == "0")
{
where = string.Format(" T.serviceID='{0}'", srvID);
sqlwhere = string.Format(" State = '0' and doSomething='用户续费' and serviceID='" + srvID + "' ", new object[0]);
}
TCWL_B_User u = new TCWL_B_User();
base.Response.Clear();
base.Response.Write(u.getUser2Json(where, "", (page - 1) * rows + 1, page * rows, sqlwhere));
base.Response.End();
break;
}
case "ImportAll":
{
string srvID = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
string ids = (base.Request["IDS"] == null) ? "" : base.Request["IDS"].ToString();
string userID = (base.Request["user"] == null) ? "" : base.Request["user"].ToString();
TCWL_B_User u = new TCWL_B_User();
base.Response.Clear();
if (u.ImportAll(srvID, v, ids, userID))
{
base.Response.Write("1");
}
else
{
base.Response.Write("0");
}
base.Response.End();
break;
}
case "updateUser":
{
TCWL_M_UserInfo u2 = new TCWL_M_UserInfo();
u2.ID = base.Request.Form["txtUsersID"].ToString();
u2.userXM = base.Request.Form["txtName"].ToString();
后面还有 506 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
