WebSite/Handlers/system/Mission.aspx.cs

(开头部分) 18KB

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

using BLL;
using Common;
using Model;
using System;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Xml;
namespace CRMSYS.Handlers.system
{
	public partial class Mission : Page
	{
		private static string Edition = DESEncrypt.Decrypt(ConfigurationManager.AppSettings["Edition"]);
		private static string VerificationAssignedtasks = ConfigurationManager.AppSettings["VerificationAssignedtasks"];
		protected void Page_Load(object sender, EventArgs e)
		{
			string text = base.Request["Method"].ToString();
			switch (text)
			{
			case "Load":
			{
				base.Response.Clear();
				TCWL_B_Mission d = new TCWL_B_Mission();
				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());
				if (base.Request["where"] == null)
				{
					string where = " G.Sender='" + userid + "'";
					if (Mission.Edition == "0")
					{
						where = where + " and G.ServiceID = '" + srvid + "'";
					}
					base.Response.Write(d.GetList(where, "", (page - 1) * rows + 1, page * rows));
				}
				else
				{
					string title = base.Request.Form["ggTitle"].ToString();
					string where = " G.ReceiverName like '%'+ @title + '%' and G.Sender='" + userid + "'";
					if (Mission.Edition == "0")
					{
						where = where + " and G.ServiceID = '" + srvid + "' ";
					}
					base.Response.Write(d.GetList(where, "", (page - 1) * rows + 1, page * rows, title));
				}
				base.Response.End();
				break;
			}
			case "Add":
			{
				base.Response.Clear();
				TCWL_B_Mission b = new TCWL_B_Mission();
				TCWL_M_Mission i = new TCWL_M_Mission();
				string srvid = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
				string username = base.Request["userID"].ToString();
				string receiver = base.Request.Form["hidreceiver"].ToString();
				string ContentStr = base.Request.Form["ContentStr"].ToString();
				string recenames = base.Request.Form["ggTitle"].ToString();
后面还有 555 行代码,购买后查看完整代码

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

AI 解读 AI

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

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