WebSite/Handlers/system/DiaoDu.aspx.cs

(开头部分) 2KB

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

using BLL;
using Common;
using Model;
using System;
using System.Configuration;
using System.Web;
using System.Web.UI;
using System.Xml;
namespace CRMSYS.Handlers.system
{
	public partial class DiaoDu : Page
	{
		private static string Edition = DESEncrypt.Decrypt(ConfigurationManager.AppSettings["Edition"]);
		protected void Page_Load(object sender, EventArgs e)
		{
			string text = base.Request["Method"].ToString();
			if (text != null)
			{
				if (!(text == "Load"))
				{
					if (!(text == "GetCompany"))
					{
						if (text == "Send")
						{
							XmlDocument doc = new XmlDocument();
							doc.Load(HttpContext.Current.Server.MapPath("../../XMLConfig/SMSConfig.xml"));
							XmlElement elem = doc.GetElementById("dx20130817042016");
							string sn = elem.ChildNodes[0].InnerText;
							string pwd = elem.ChildNodes[1].InnerText;
							string signature = elem.ChildNodes[2].InnerText;
							string pwd2 = CRMTCWLMobileSMS.getMD5(sn + pwd);
							string name = base.Request.Form["lbTel"].ToString();
							string content = base.Request.Form["content"].ToString();
							string fanhui = CRMTCWLMobileSMS.Mt(sn, pwd2, name + signature, content, "", "", "");
							if (fanhui == "发送失败!参数错误,请检测所有参数。返回值是:-6")
							{
								base.Response.Write("failed");
							}
							else
							{
								base.Response.Write("success");
							}
							base.Response.End();
						}
					}
					else
					{
						base.Response.Clear();
						string userid = base.Request["userid"].ToString();
						string srvid = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
						TCWL_M_CompanyInformation i = new TCWL_M_CompanyInformation();
						TCWL_B_CompanyInformation c = new TCWL_B_CompanyInformation();
						i = c.GetModel(srvid, DiaoDu.Edition);
						if (i == null)
						{
							base.Response.Write("null");
						}
						else
						{
							base.Response.Write(i.Position);
后面还有 25 行代码,购买后查看完整代码

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

AI 解读 AI

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

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