From a08829b6f60b2320555e9f560464248cc038cada Mon Sep 17 00:00:00 2001
From: xiazhengtongxue <133085197+xiazhengtongxue@users.noreply.github.com>
Date: 星期五, 13 三月 2026 13:56:16 +0800
Subject: [PATCH] fix: 修复日志问题
---
项目代码/WCSServices/WIDESEAWCS_ISystemServices/ISys_LogService.cs | 66 ++++++++++++++++++++++++++++++--
1 files changed, 61 insertions(+), 5 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_ISystemServices/ISys_LogService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_ISystemServices/ISys_LogService.cs"
index 825ecbd..c2b7582 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_ISystemServices/ISys_LogService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_ISystemServices/ISys_LogService.cs"
@@ -1,17 +1,73 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+锘縰sing WIDESEAWCS_Core;
using WIDESEAWCS_Core.BaseServices;
using WIDESEAWCS_Model.Models;
namespace WIDESEAWCS_ISystemServices
{
+
public interface ISys_LogService : IService<Sys_Log>
{
void ScheduleDatabaseMaintenance();
void DeleteOldLogs();
void CheckAndManageFileSize();
+ WebResponseContent GetLogList();
+ WebResponseContent GetLogData(GetLogParm parm);
}
+
+ #region 瀹炰綋绫�
+ public class DirInfo
+ {
+ /// <summary>
+ /// 褰撳墠璺緞
+ /// </summary>
+ public string dirPath { get; set; }
+
+ /// <summary>
+ /// 褰撳墠鍚嶇О
+ /// </summary>
+ public string dirName { get; set; }
+
+ /// <summary>
+ /// 瀛愭枃浠�
+ /// </summary>
+ public List<FileDataInfo> files { get; set; }
+
+ /// <summary>
+ /// 瀛愭枃浠跺す
+ /// </summary>
+ public List<DirInfo> dirs { get; set; }
+ }
+
+ public class FileDataInfo
+ {
+ public string filePath { get; set; }
+
+ public string fileName { get; set; }
+
+ public long fileSize { get; set; }
+ }
+
+ public class GetLogParm
+ {
+ /// <summary>
+ /// 鏂囦欢鍦板潃
+ /// </summary>
+ public string path;
+
+ /// <summary>
+ /// 璇诲彇杩涘害
+ /// </summary>
+ public float percent;
+
+ /// <summary>
+ /// 鏈�澶ц鍙栧ぇ灏�
+ /// </summary>
+ public double maxsize_KB = 20;
+
+ /// <summary>
+ /// 褰撳墠璧峰浣嶇疆
+ /// </summary>
+ public long topStartPos = 0;
+ }
+ #endregion
}
--
Gitblit v1.9.3