|
|
|
@ -69,7 +69,7 @@ namespace IBKLinker_Minio.Common
|
|
|
|
|
}
|
|
|
|
|
catch (Exception ex)
|
|
|
|
|
{
|
|
|
|
|
logger.InfoFormat(ex.ToString());
|
|
|
|
|
logger.InfoFormat("MinioBusinessLogic/Download方法错误:" + ex.ToString());
|
|
|
|
|
throw;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -80,6 +80,8 @@ namespace IBKLinker_Minio.Common
|
|
|
|
|
/// 文件上传操作日志记录
|
|
|
|
|
/// </summary>
|
|
|
|
|
public void MinioOperationLog(string OperateUser, string FileName, string Operate, string FilePk, string FileUPk, IDbContext db) //传参为操作人、文件名、操作、数据库连接上下文对象
|
|
|
|
|
{
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|
MinioOperationlog MOdata = new MinioOperationlog();
|
|
|
|
|
DateTime time = DateTime.Now;//时间
|
|
|
|
@ -93,6 +95,13 @@ namespace IBKLinker_Minio.Common
|
|
|
|
|
MOdata.CreationTime = time;//创建时间
|
|
|
|
|
db.Insert<MinioOperationlog>(MOdata);//写入数据库
|
|
|
|
|
}
|
|
|
|
|
catch (Exception ex)
|
|
|
|
|
{
|
|
|
|
|
logger.InfoFormat("MinioBusinessLogic/MinioOperationLog方法错误:" + ex.ToString());
|
|
|
|
|
throw;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region 文件夹递归查询
|
|
|
|
|