WebSite/Handlers/Reports/ClientArea.aspx.cs

(完整代码) 2KB

using BLL;
using BLL.system;
using Common;
using System;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Configuration;
namespace CRMSYS.Handlers.Reports
{

    public partial class ClientArea : Page
    {
        private static string Edition = DESEncrypt.Decrypt(ConfigurationManager.AppSettings["Edition"]);

        protected void Page_Load(object sender, EventArgs e)
        {
            string strMethod = base.Request["method"].ToString();
            if (strMethod != null)
            {
                string srvid;
                TCWL_B_ClientArea kh;
                if (!(strMethod == "StaticAll"))
                {
                    if (strMethod == "StaticAll_select")
                    {
                        srvid = "";
                        string name = base.Request["name"].ToString();
                        name = base.Server.UrlDecode(name);
                        if (Edition == "0")
                        {
                            srvid = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
                        }
                        kh = new TCWL_B_ClientArea();
                        base.Response.Clear();
                        base.Response.Write(kh.loadCtyClientByPrn(srvid, name));
                        base.Response.End();
                    }
                }
                else
                {
                    srvid = "";
                    if (Edition == "0")
                    {
                        srvid = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
                    }
                    string userID = (base.Request["userID"] == null) ? "" : base.Request["userID"].ToString().Trim();
                    string MyIds = new TCWL_B_Unit().GetUsers(userID, "1");
                    kh = new TCWL_B_ClientArea();
                    base.Response.Clear();
                    base.Response.Write(kh.loadAllPrince(srvid, MyIds));
                    base.Response.End();
                }
            }
        }
    }
}

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

AI 解读 AI

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

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