BBSWeb/Services/Bbs/TopicsListData1.aspx.cs
(开头部分) 8KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using WebApp;
using System.Web;
using BaseConfig;
using BaseConfig.BaseBLL;
using BBS.Model;
public partial class Services_Bbs_TopicsListData1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Session[SessionKey.USER] == null) return;
X_UserInfo u = (X_UserInfo)Session[SessionKey.USER];
string type = HttpContext.Current.Request["type"].ToString();
if (type == "NeedMyReply") //需要回复的
{
GetReplayList(u);
}
if (type == "NeedMyVerify") //需要我审批
{
GetVerityList(u);
}
if (type == "TopicListRecent")
{
GetAllList(u);
}
if (type == "BBSList")
{
GetBBSListforDesk(u);
}
if (type == "ReplyList")
{
GetReplayList(u);
}
if (type == "VerifyList")
{
GetVerityList(u);
}
if (type == "NoVerifyList") //未审批
{
GetNoVerifyList(u);
}
if (type == "ApprovedList") //已审批
{
GetApprovedList(u);
}
}
/// <summary>
/// 需要登录人回复的数据
/// </summary>
private void GetReplayList(X_UserInfo u)
{
string flag= HttpContext.Current.Request["flag"].ToString();
string strWhere="";
if (flag == "1") { strWhere = " 1=1 and Expr4 ='待回复' and ToUserId=" + u.UserId; }
else { strWhere = " Expr4 ='待回复' and ToUserId=" + u.UserId; }
strWhere = Config.jqGridStrWhere(strWhere);
int totalRows = Pager.GetAllCount(strWhere, "View_F_TopicsToDetails");
Config.JqGrid j = Config.GetJqGridParam(totalRows);
后面还有 136 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。