Medical/Mobile/js/juji.ashx.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
namespace WebApplication.Mobile.js
{
/// <summary>
/// juji 的摘要说明
/// </summary>
public class juji : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
context.Response.ContentType = "text/plain";
if (context.Request["infoid"] != null)
{
DataTable dt = DBUtility.DbHelperSQL.Query("select * from GZXX_U_VideoInfo where verify = 1 and videoinfoid=" + context.Request["infoid"]).Tables[0];
string html = string.Empty;
if (dt.Rows.Count > 0)
{
for (int i = 0; i < dt.Rows.Count; i++)
{
html += "<div class=\"jjitem\" onclick=\"changevideo(this)\" data-infoid=\"" + dt.Rows[i]["InfoID"].ToString() + "\" data-url=\"" + dt.Rows[i]["VideoUrl"].ToString() + "\">" + dt.Rows[i]["Sort"].ToString() + "</div>";
}
}
context.Response.Write(html);
}
else
{
context.Response.Write("");
}
}
public bool IsReusable
{
get
{
return false;
}
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
