WebSite/Handlers/ServiceManagement_Z/ServiceManagement.aspx.cs

(开头部分) 2KB

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

using BLL;
using Common;
using Model;
using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Configuration;
namespace CRMSYS.Handlers.ServiceManagement_Z
{
   
    public partial class ServiceManagement : 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)
            {
                TCWL_B_Services_Z fwb;
                if (!(strMethod == "Add"))
                {
                    if (strMethod == "loadtype")
                    {
                        fwb = new TCWL_B_Services_Z();
                        base.Response.Clear();
                        base.Response.Write(fwb.GetListByType());
                        base.Response.End();
                    }
                }
                else
                {
                    string bt = base.Request["bt"].ToString();
                    string lxdh = base.Request["lxdh"].ToString();
                    string wtfl = base.Request["wtfl"].ToString();
                    string userID = base.Request["userID"].ToString();
                    string srvid = "";
                    if (Edition == "0")
                    {
                        srvid = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
                    }
                    string nr = base.Request.Form["Content_i"].ToString();
                    bt = base.Server.UrlDecode(bt);
                    nr = HttpUtility.UrlDecode(nr);
                    lxdh = base.Server.UrlDecode(lxdh);
                    wtfl = base.Server.UrlDecode(wtfl);
                    userID = base.Server.UrlDecode(userID);
                    TCWL_M_Services_Z fw = new TCWL_M_Services_Z();
                    fw.Theme = bt;
                    fw.Description = nr;
                    fw.Adduser = userID;
                    fw.State = "0";
                    fw.Classificationid = wtfl;
                    fw.ServiceID = srvid;
                    fw.ContactInformation = lxdh;
                    fwb = new TCWL_B_Services_Z();
                    bool returnValue = false;
                    returnValue = fwb.Add(fw);
                    base.Response.Clear();
后面还有 15 行代码,购买后查看完整代码

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

AI 解读 AI

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

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