WebSite/Handlers/system/users.aspx.cs

(完整代码) 1KB

using BLL.system;
using Common;
using System;
using System.Configuration;
using System.Web.UI;
using System.Web.UI.HtmlControls;
namespace CRMSYS.Handlers.system
{
	public partial class users : Page
	{
		protected void Page_Load(object sender, EventArgs e)
		{
			string v = DESEncrypt.Decrypt(ConfigurationManager.AppSettings["Edition"]);
			string text = base.Request["Method"].ToString();
			if (text != null)
			{
				if (text == "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 = "";
					base.Response.Clear();
					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.Write(u.getUser2Json(where, "", (page - 1) * rows + 1, page * rows, sqlwhere));
					base.Response.End();
				}
			}
		}
	}
}

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

AI 解读 AI

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

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