WeiWeiXinNet/news.ashx.cs

(开头部分) 3KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using WeiWeixiN.Public.Common;
using WeiWeixiN.Public.Message;

namespace WeiWeiXinNet
{
    /// <summary>
    /// ml 的摘要说明
    /// 
    /// 获取首页模板 并且返回
    /// 
    /// </summary>
    public class wenews : IHttpHandler
    {
        string TIME_MID = "";
        string RID = "";

        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/html";

            //读取 
            HttpCookie cookie2 = context.Request.Cookies["weiweixing08"];

            if (cookie2 == null)
            {
                context.Response.Redirect("help.aspx");
            }
            else
            {
                TIME_MID = cookie2.Values["UserIDTime"];
                if (TIME_MID == null)
                {
                    context.Response.Redirect("help.aspx");
                }
                else
                {
                    //正确读取

                    RID = ClassLibraryWeiBao.ClassTimeEncryptionAlgorithm.GetID(context.Server.MapPath("~"), TIME_MID);

                    if (RID == "")
                    {
                        context.Response.Redirect("help.aspx");
                    }
                }
            }
            context.Response.Write("<!DOCTYPE html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' /><meta name='viewport' content='width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;' /><meta name='apple-mobile-web-app-capable' content='yes' /><meta name='apple-mobile-web-app-status-bar-style' content='blac'/><meta name='format-detection' content='telephone=no' /><title></title><link href= 'Styles/Style.css' rel='stylesheet' type='text/css'></head><body>\r\n");
            //获得数据  并且 返回回去

            string PathFile = System.IO.Path.Combine(context.Server.MapPath("~"), "USER_DIR\\SYSUSER\\NEWS\\news.dll"); //图文 关键词回复目录);    

            NewsMsgData CMsgData = new NewsMsgData();
            CMsgData.LoadFile(PathFile);

            string TableTxt = "";
后面还有 19 行代码,购买后查看完整代码

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

AI 解读 AI

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

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