WebSite/Handlers/system/Loglog.aspx.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using BLL;
using Common;
using System;
using System.Configuration;
using System.Web.UI;
using System.Web.UI.HtmlControls;
namespace CRMSYS.Handlers.system
{
public partial class Loglog : Page
{
private static string Edition = DESEncrypt.Decrypt(ConfigurationManager.AppSettings["Edition"]);
protected void Page_Load(object sender, EventArgs e)
{
string text = base.Request["Method"].ToString();
if (text != null)
{
if (text == "All")
{
int page = (base.Request["page"].ToString() == "0") ? 1 : Convert.ToInt32(base.Request["page"].ToString());
int rows = Convert.ToInt32(base.Request["rows"].ToString());
string srvID = "";
if (Loglog.Edition == "0")
{
srvID = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
}
string sqlWhere = "";
if (base.Request["where"] == null)
{
if (Loglog.Edition == "0")
{
sqlWhere = " T.ServiceID='" + srvID + "' ";
}
}
else
{
string start = base.Request["start"].ToString();
string end = base.Request["end"].ToString();
if (Loglog.Edition == "0")
{
sqlWhere = " T.ServiceID='" + srvID + "' ";
}
if (start.Length > 0)
{
sqlWhere = sqlWhere + " and (CONVERT(nvarchar(11),T.TimeStr,120)>='" + start + "'";
if (end.Length > 0)
{
sqlWhere = sqlWhere + " and CONVERT(nvarchar(11),T.TimeStr,120)<='" + end + "') ";
}
else
{
sqlWhere += ") ";
}
}
else
{
if (end.Length > 0)
{
sqlWhere = sqlWhere + " and CONVERT(nvarchar(11),T.TimeStr,120)<='" + end + "'";
}
}
后面还有 10 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
