From 1581189aad05d97267d240a65e0215f4946130e5 Mon Sep 17 00:00:00 2001
From: xiazhengtongxue <133085197+xiazhengtongxue@users.noreply.github.com>
Date: 星期四, 12 三月 2026 15:29:30 +0800
Subject: [PATCH] feat: 新增异常任务处理按钮 fix: 修复任务取消bug,按照分组取消。 refactor: 重构日志为文本,减少数据库压力
---
项目代码/WCSServices/WIDESEAWCS_Server/Controllers/System/Sys_LogController.cs | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Server/Controllers/System/Sys_LogController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Server/Controllers/System/Sys_LogController.cs"
index 8bf9b04..9e12369 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Server/Controllers/System/Sys_LogController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Server/Controllers/System/Sys_LogController.cs"
@@ -1,8 +1,11 @@
-锘縰sing Microsoft.AspNetCore.Http;
+锘縰sing Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
+using WIDESEAWCS_Core;
using WIDESEAWCS_Core.BaseController;
using WIDESEAWCS_ISystemServices;
using WIDESEAWCS_Model.Models;
+using WIDESEAWCS_SystemServices;
namespace WIDESEAWCS_Server.Controllers.System
{
@@ -13,5 +16,16 @@
public Sys_LogController(ISys_LogService service) : base(service)
{
}
+ [HttpPost, Route("GetLogList"), AllowAnonymous]
+ public WebResponseContent GetLogList()
+ {
+ return Service.GetLogList();
+ }
+
+ [HttpPost, Route("GetLogData"), AllowAnonymous]
+ public WebResponseContent GetLogData([FromBody] GetLogParm parm)
+ {
+ return Service.GetLogData(parm);
+ }
}
}
--
Gitblit v1.9.3