QMS.Web/Areas/Admin/Controllers/AdminLogController.cs
(开头部分) 10KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Data;
using System.Web;
using System.Web.Mvc;
using System.Text;
using QMS.Common;
using QMS.Model;
using QMS.BLL;
using QMS.Web.Areas.Admin.Filters;
namespace QMS.Web.Areas.Admin.Controllers
{
/// <summary>
/// 管理员日志-控制器
/// 创建人:Jimy
/// 日期:2015/7/7 11:24:05
/// </summary>
public class AdminLogController : BaseController
{
#region 列表
/// <summary>
/// 列表
/// GET: /Admin/AdminLog/
/// </summary>
/// <returns></returns>
[Limit(Module = "MOD_ADMINLOG", Limit = "LM_LIST")]
public ActionResult Index(int page = 1)
{
Hashtable hs = new Hashtable();
#region 查询条件
string LogAction = Config.Request(Request["LogAction"], "");
if (!string.IsNullOrEmpty(LogAction)) hs.Add("LogAction", LogAction);
string LogContent = Config.Request(Request["LogContent"], "");
if (!string.IsNullOrEmpty(LogContent)) hs.Add("LogContent", LogContent);
string ScriptFile = Config.Request(Request["ScriptFile"], "");
if (!string.IsNullOrEmpty(ScriptFile)) hs.Add("ScriptFile", ScriptFile);
string IPAddress = Config.Request(Request["IPAddress"], "");
if (!string.IsNullOrEmpty(IPAddress)) hs.Add("IPAddress", IPAddress);
string AdminID = Config.Request(Request["AdminID"], "");
if (!string.IsNullOrEmpty(AdminID)) hs.Add("AdminID", AdminID);
string AddTime1 = Config.Request(Request["AddTime1"], "");
if (!string.IsNullOrEmpty(AddTime1)) hs.Add("AddTime1", AddTime1);
string AddTime2 = Config.Request(Request["AddTime2"], "");
if (!string.IsNullOrEmpty(AddTime2)) hs.Add("AddTime2", AddTime2);
#endregion
PageHelper p = new PageHelper
{
FieldOrder = "a.AdminLogID desc",
PageSize = 10,
后面还有 220 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
