EasyShop/ashx/QueryProductJiFen.ashx.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using conn;
using System.Text;
using System.Data;
using FormatJosn;
using ExeSql;
using Easy.COMMON;
using BLL;
using MyModels;
namespace EasyShop.ashx
{
/// <summary>
/// QueryProductJiFen 的摘要说明
/// </summary>
public class QueryProductJiFen : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
string result = "OK";
context.Response.ContentType = "text/plain";
object ob = context.Request.QueryString["id"];
int k;
if (ob != null && int.TryParse(ob.ToString(), out k))
{
TB_MC_ProductTeam tmp = new TB_MC_ProductTeam();
tmp.ID = int.Parse(ob.ToString());
DataSet ds = tmp.GetList(" ProID=" + ob.ToString() + " and GETDATE()<EndDate and Type=3");
int num = ds.Tables[0].Rows.Count;
if (num > 0)
{
result = "NO";
}
}
context.Response.Write(result);
}
public bool IsReusable
{
get
{
return false;
}
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。