WebSite/Handlers/IndividualCenter/WorkingLog.aspx.cs

(开头部分) 6KB

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

using BLL;
using Common;
using Model;
using System;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Configuration;
namespace CRMSYS.Handlers.IndividualCenter
{
 

    public partial class WorkingLog : 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 userID;
                if (!(strMethod == "All"))
                {
                    string bz;
                    TCWL_M_WorkingLog gz;
                    TCWL_B_WorkingLog jl;
                    bool returnValue;
                    if (strMethod == "Add")
                    {
                        string start = base.Request["ks"].ToString();
                        string end = base.Request["js"].ToString();
                        bz = base.Request["bz"].ToString();
                        string srvid = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
                        userID = base.Request["userID"].ToString();
                        start = base.Server.UrlDecode(start);
                        end = base.Server.UrlDecode(end);
                        bz = base.Server.UrlDecode(bz);
                        gz = new TCWL_M_WorkingLog();
                        gz.StartTime = new DateTime?(Convert.ToDateTime(start));
                        gz.EndTime = new DateTime?(Convert.ToDateTime(end));
                        gz.Content = bz;
                        gz.serviceID = srvid;
                        gz.FounderUser = userID;
                        jl = new TCWL_B_WorkingLog();
                        base.Response.Clear();
                        returnValue = false;
                        returnValue = jl.Add(gz);
                        base.Response.Clear();
                        if (returnValue)
                        {
                            base.Response.Write("sucess");
                        }
                        else
                        {
                            base.Response.Write("failed");
                        }
                        base.Response.End();
                        base.Response.End();
                    }
                    else
后面还有 87 行代码,购买后查看完整代码

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

AI 解读 AI

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

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