首检添加数据看板

This commit is contained in:
2024-06-07 11:04:26 +08:00
parent c93711290e
commit 769d2da1e0
344 changed files with 1772 additions and 2526 deletions

View File

@@ -1,11 +1,6 @@
using Infrastructure;
using Infrastructure.Extensions;
using Infrastructure.Model;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;

View File

@@ -40,7 +40,7 @@ namespace ZR.Admin.WebApi.Controllers.monitor
/// 清空登录日志
/// </summary>
/// <returns></returns>
[Log(Title = "清空登录日志", BusinessType= BusinessType.CLEAN)]
[Log(Title = "清空登录日志", BusinessType = BusinessType.CLEAN)]
[ActionPermissionFilter(Permission = "monitor:logininfor:remove")]
[HttpDelete("clean")]
public IActionResult CleanLoginInfo()

View File

@@ -65,7 +65,7 @@ namespace ZR.Admin.WebApi.Controllers.monitor
{
if (!HttpContextExtension.IsAdmin(HttpContext))
{
return ToResponse(Infrastructure.ResultCode.CUSTOM_ERROR,"操作失败");
return ToResponse(Infrastructure.ResultCode.CUSTOM_ERROR, "操作失败");
}
sysOperLogService.CleanOperLog();