WebSite/Handlers/FileManagement/FileManagement.aspx.cs

(开头部分) 33KB

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

using BLL;
using Common;
using Model;
using System;
using System.Configuration;
using System.IO;
using System.Net;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
namespace CRMSYS.Handlers.FileManagement
{
    public partial class FileManagement : 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 "LoadFile_Company":
                    {
                        int page = (base.Request["page"].ToString() == "0") ? 1 : Convert.ToInt32(base.Request["page"].ToString());
                        int rows = Convert.ToInt32(base.Request["rows"].ToString());
                        TCWL_B_FileManagement xx = new TCWL_B_FileManagement();
                        string userid = base.Request["user"].ToString();
                        base.Response.Clear();
                        string where = "";
                        if (base.Request["where"] == null)
                        {
                            string text2 = where;
                            where = string.Concat(new string[]
					{
						text2,
						" (T.ShareUserID like '%",
						userid,
						"%' or T.ShareUserID like '%全部人员%' or T.PubPerson = '",
						userid,
						"') and T.FSort='0' "
					});
                            if (FileManagement.Edition == "0")
                            {
                                string srvID = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
                                where = where + " and T.ServiceID='" + srvID + "' ";
                            }
                            base.Response.Write(xx.GetCompanyList(where, "", (page - 1) * rows + 1, page * rows));
                        }
                        else
                        {
                            if (base.Request["select"] == null)
                            {
                                string Parent = base.Request["parent"].ToString();
                                string tag = base.Request["bq"].ToString();
                                tag = base.Server.UrlDecode(tag);
                                string text2 = where;
                                where = string.Concat(new string[]
						{
							text2,
							" (T.ShareUserID like '%",
							userid,
后面还有 628 行代码,购买后查看完整代码

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

AI 解读 AI

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

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