WebSite/Handlers/Product/ProductInformation/ProductInformation.aspx.cs

(开头部分) 16KB

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

using BLL;
using Common;
using Model;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Web.Script.Serialization;
using System.Web.UI;
using System.Web.UI.HtmlControls;
namespace CRMSYS.Handlers.Product.ProductInformation
{
    public partial class ProductInformation : Page
    {
        private static string Edition = DESEncrypt.Decrypt(ConfigurationManager.AppSettings["Edition"]);
        protected void Page_Load(object sender, EventArgs e)
        {
            string v = DESEncrypt.Decrypt(ConfigurationManager.AppSettings["Edition"]);
            string text = base.Request.Params["Method"].ToString();
            switch (text)
            {
                case "All":
                    {
                        int page = (base.Request["page"].ToString() == "0") ? 1 : Convert.ToInt32(base.Request["page"].ToString());
                        int rows = Convert.ToInt32(base.Request["rows"].ToString());
                        TCWL_B_Product cp = new TCWL_B_Product();
                        base.Response.Clear();
                        if (base.Request["where"] == null)
                        {
                            string srvid = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
                            string where = "";
                            if (ProductInformation.Edition == "0")
                            {
                                where = " ServiceID = '" + srvid + "' ";
                            }
                            if (v == "1")
                            {
                                where = " 1=1";
                            }
                            base.Response.Write(cp.SelectAll(where, "", (page - 1) * rows + 1, page * rows));
                        }
                        else
                        {
                            string value = base.Request["where"].ToString();
                            string srvid = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
                            value = base.Server.UrlDecode(value);
                            string where = "";
                            if (v == "0")
                            {
                                where = where + "ServiceID = '" + srvid + "' ";
                            }
                            else
                            {
                                where += "1=1 ";
                            }
                            string text2 = where;
                            where = string.Concat(new string[]
					{
						text2,
						" and (productName like '%",
						value,
后面还有 274 行代码,购买后查看完整代码

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

AI 解读 AI

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

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