WebPortal_TongZhou/02.UI/common/ashx/bus/res/res_resource_view.ashx

(开头部分) 8KB

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

<%@ WebHandler Language="C#" Class="res_resource_view" %>

using System;
using System.Web;
using System.Text;
using System.Data;
using System.Collections;
using System.Collections.Generic;

using com.util;
using com.entity.info;
using com.entity.bus.res;
using com.constant;
using com.constant.common;
using com.constant.business;

using com.service.bus.res;

public class res_resource_view : IHttpHandler
{

    string strValidate = "";
    string strReturn = "";
    string queryString_type = "";
    string strPageSize = "10";
    string strPageIndex = "1";
    string strOrderField = "sortid";
    string strOrderDirection = "0";

    ResourceService resourceService = new ResourceService();

    public void ProcessRequest(HttpContext context)
    {
        context.Response.Buffer = true;
        context.Response.ExpiresAbsolute = DateTime.Now.AddDays(-1);
        context.Response.AddHeader("pragma", "no-cache");
        context.Response.AddHeader("cache-control", "");
        context.Response.CacheControl = "no-cache";
        context.Response.ContentType = "text/plain";

        this.receivePara();

        switch (queryString_type)
        {

            //下载附件
            case "downloadattachment":
                this.downloadAttachment();
                break;

            //获取资源字符串
            case "getresourcelistbyproc":
                this.getResourceListByProc();
                break;

            //获取资源字符串
            case "getresourcelist":
                this.getResourceList();
                break;

后面还有 242 行代码,购买后查看完整代码

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

AI 解读 AI

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

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