WebSite/Handlers/ServiceManagement/ServiceCreation/ServiceCreation.aspx.cs

(开头部分) 9KB

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

using BLL;
using BLL.common;
using Common;
using Model;
using System;
using System.Configuration;
using System.Web.UI;
using System.Web.UI.HtmlControls;
namespace CRMSYS.Handlers.ServiceManagement.ServiceCreation
{
    public partial class ServiceCreation : Page
    {
        private static string Edition = DESEncrypt.Decrypt(ConfigurationManager.AppSettings["Edition"]);
        protected void Page_Load(object sender, EventArgs e)
        {
            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_Services fw = new TCWL_B_Services();
                        base.Response.Clear();
                        if (base.Request["where"] == null)
                        {
                            string srvid = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
                            string where = "";
                            if (ServiceCreation.Edition == "0")
                            {
                                where = " T.ServiceID = '" + srvid + "' ";
                            }
                            base.Response.Write(fw.SelectAll(where, "", (page - 1) * rows + 1, page * rows));
                        }
                        else
                        {
                            string name = base.Request["name"].ToString();
                            string value = base.Request["value"].ToString();
                            value = base.Server.UrlDecode(value);
                            string where = string.Concat(new string[]
					{
						" ",
						name,
						" like '%",
						value,
						"%' "
					});
                            base.Response.Write(fw.SelectAll(where, "", (page - 1) * rows + 1, page * rows));
                        }
                        base.Response.End();
                        return;
                    }
                case "Add":
                    {
                        TCWL_M_Services fw2 = new TCWL_M_Services();
                        TCWL_M_Services arg_313_0 = fw2;
                        string arg_30E_0 = DateTime.Now.ToString("yyyymmdd");
                        int num = DateTime.Now.Hour;
                        string arg_30E_1 = num.ToString();
                        num = DateTime.Now.Minute;
后面还有 141 行代码,购买后查看完整代码

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

AI 解读 AI

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

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