VideoHome.Web/admin/Film/ajaxs/common.ashx.cs

(开头部分) 12KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using myfilm.Entity;
using myfilm.Common;
using myfilm.Vod;
using myfilm.Web.Entity;
using System.Data.SqlClient;
using System.Data;
using Maticsoft.DBUtility;

namespace myfilm.Web.ajaxs
{
    /// <summary>
    /// common 的摘要说明
    /// </summary>
    public class common : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            string str = "";
            var type = context.Server.HtmlEncode(context.Request["type"]);
            switch (type)
            {
                case "GetChapterDiscuzList":
                    {
                        str = GetChapterDiscuzList();
                    }
                    break;
                case "AddChapterDiscuz":
                    {
                        str = AddChapterDiscuz();
                    }
                    break;
                case "AddPlayRecord":
                    {
                        str = AddPlayRecord();
                    }
                    break;
                case "GetVideoUrl":
                    {
                        str = GetVideoUrl();
                    }
                    break;
                case "GetCourseSCUrl":
                    {
                        str = GetCourseSCUrl();
                    }
                    break;
            }
            context.Response.ContentType = "text/html";
            context.Response.Write(str);
        }
        public string GetCourseSCUrl()
        {
            string str = "";
            int uid = UserID();
            JsonModel jm = new JsonModel(); jm.status = 1;
后面还有 278 行代码,购买后查看完整代码

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

AI 解读 AI

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

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