using NewLife.Cube;
using Stardust.Data.Configs;
namespace Stardust.Web.Areas.Configs.Controllers;
[Menu(30)]
[ConfigsArea]
public class AppRuleController : EntityController<AppRule>
{
static AppRuleController()
{
LogOnChange = true;
{
var df = ListFields.AddListField("Log", "CreateUserID");
df.DisplayName = "审计日志";
df.Header = "审计日志";
df.Url = "/Admin/Log?category=应用规则&linkId={Id}";
df.Target = "_frame";
}
}
//protected override IEnumerable<AppRule> Search(Pager p)
//{
// var appId = p["appId"].ToInt(-1);
// var start = p["dtStart"].ToDateTime();
// var end = p["dtEnd"].ToDateTime();
// return AppRule.Search(appId, start, end, p["Q"], p);
//}
}
|