WebSite/Handlers/system/GongGao.aspx.cs
(开头部分) 9KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using BLL;
using BLL.system;
using Common;
using Model;
using System;
using System.Configuration;
using System.IO;
using System.Net;
using System.Web;
using System.Web.UI;
namespace CRMSYS.Handlers.system
{
public partial class GongGao : Page
{
private static string Edition = DESEncrypt.Decrypt(ConfigurationManager.AppSettings["Edition"]);
protected void Page_Load(object sender, EventArgs e)
{
string text = base.Request["Method"].ToString();
switch (text)
{
case "Load":
{
base.Response.Clear();
TCWL_B_GongGaoGuanLi d = new TCWL_B_GongGaoGuanLi();
int page = (base.Request["page"].ToString() == "0") ? 1 : Convert.ToInt32(base.Request["page"].ToString());
int rows = Convert.ToInt32(base.Request["rows"].ToString());
string userid = base.Request["userid"].ToString();
string srvid = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
if (base.Request["where"] == null)
{
string where = "";
if (GongGao.Edition == "0")
{
where = " G.ServiceID = '" + srvid + "'";
}
base.Response.Write(d.GetGGList(where, "", (page - 1) * rows + 1, page * rows));
}
else
{
string title = base.Request.Form["ggTitle"].ToString();
string type = base.Request.Form["stype"].ToString();
string where = " Title like '%'+@title+'%' ";
if (!string.IsNullOrEmpty(base.Request.Form["stype"]))
{
where = where + " and G.LeiXing='" + base.Request.Form["stype"].ToString() + "'";
}
if (GongGao.Edition == "0")
{
where = where + " and G.ServiceID = '" + srvid + "'";
}
base.Response.Write(d.GetGGList(where, "", (page - 1) * rows + 1, page * rows, title));
}
base.Response.End();
break;
}
case "LoadNews":
{
base.Response.Clear();
TCWL_B_GongGaoGuanLi d = new TCWL_B_GongGaoGuanLi();
int page = (base.Request["page"].ToString() == "0") ? 1 : Convert.ToInt32(base.Request["page"].ToString());
后面还有 232 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
