WebSite/Handlers/system/Daily.aspx.cs

(开头部分) 18KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using BLL;
using BLL.system;
using Common;
using Model;
using System;
using System.Configuration;
using System.IO;
using System.Web;
using System.Web.UI;
namespace CRMSYS.Handlers.system
{
	public partial class Daily : Page
	{
		private static string Edition = DESEncrypt.Decrypt(ConfigurationManager.AppSettings["Edition"]);
		protected void Page_Load(object sender, EventArgs e)
		{
			string text = base.Request["Method"].ToString();
			switch (text)
			{
			case "LoadAllReceive":
			{
				base.Response.Clear();
				TCWL_B_Daily d = new TCWL_B_Daily();
				TCWL_B_Unit b = new TCWL_B_Unit();
				int page = (base.Request["page"].ToString() == "0") ? 1 : Convert.ToInt32(base.Request["page"].ToString());
				int rows = Convert.ToInt32(base.Request["rows"].ToString());
				string userid = base.Request["userid"].ToString();
				string srvid = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
				string MyIds = b.GetUsers(userid, "1");
				if (base.Request["where"] == null)
				{
					string where = string.Concat(new string[]
					{
						" (G.AddUser in (",
						MyIds,
						") or G.AttachID like '%",
						userid,
						"%') and G.AddUser<>'",
						userid,
						"' "
					});
					if (Daily.Edition == "0")
					{
						where = where + " and G.ServiceID = '" + srvid + "'";
					}
					base.Response.Write(d.GetList1(where, "", (page - 1) * rows + 1, page * rows, userid));
				}
				else
				{
					string title;
					string ntitle;
					string wtitle;
					if (!string.IsNullOrEmpty(base.Request.Form["ggTitle"]))
					{
						title = base.Request.Form["ggTitle"].ToString();
						ntitle = "1";
						wtitle = "U.userXM like '%' + @title + '%'";
					}
					else
					{
后面还有 665 行代码,购买后查看完整代码

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

AI 解读 AI

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

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