Application/Login.aspx.cs

(开头部分) 9KB

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

using System;
using System.Data;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using EKETEAM.Data;
using EKETEAM.FrameWork;
using LitJson;

namespace eFrameWork.Application
{
    public partial class Login : System.Web.UI.Page
    {
        public string fromURL = "";
        public string wechatFromURL = "";
        public string wxworkFromURL = "";
        public string dingtalkFromURL = "";
        public bool wechat = false;
        public bool wxwork = false;
        public bool dingtalk = false;
        public string UserArea = "Application";
        eUser user;
        public string localName
        {
            get
            {
                string localname = "local" + Request.Url.Host.Replace(".", "") + Request.Url.Port.ToString();
                localname += Request.ApplicationPath.Split("/".ToCharArray())[1].ToLower() + "_data";
                return localname;
            }
        }
        protected override void OnSaveStateComplete(EventArgs e)
        {
            //ht tps://open.weixin.qq.com/,lp.open.weixin.qq.com
            //Response.Headers.Remove("X-Frame-Options");
            //Response.Headers.Set("X-Frame-Options", "ALLOWALL");
            //Response.Headers.Add("X-Frame-Options", "ALLOWALL");
            //Response.AppendHeader("X-Frame-Options", "DENY");
           // HttpContext.Current.Response.Headers.Remove("X-Frame-Options");
        }
        protected void Page_Load(object sender, EventArgs e)
        {
           
            if (Request.QueryString["data"] != null)
            {
                #region 代理返回数据
                string data = Request.QueryString["data"].ToString();
                string base64 = Base64.Decode(data);
                if (base64.Length > 5 && base64.StartsWith("\"") && base64.EndsWith("\"")) base64= base64.Substring(1, base64.Length - 2);    
                base64 = base64.Replace("\\\\/", "\\/");
                base64 = base64.Replace("\\\"", "\"");
                //eBase.Writeln(base64);
                //eBase.End();
                if (base64.StartsWith("{"))
                {
                    JsonData json = JsonMapper.ToObject(base64);
                    //eBase.Writeln(json.ToJson());
                    //eBase.End();
                    DataTable tb = new DataTable();
后面还有 137 行代码,解锁后查看完整代码

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

AI 解读

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

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