文件上传加密及增加根据配置文件存储类型自动选择上传方式

This commit is contained in:
2023-11-22 10:29:07 +08:00
parent 43c9d3564b
commit bebcf559a1
8 changed files with 379 additions and 64 deletions
+15
View File
@@ -58,6 +58,21 @@
/// 访问路径
/// </summary>
public string AccessUrl { get; set; }
/// <summary>
/// 描述 : 文件MD5
/// 空值 : true
/// </summary>
public string FileMd5 { get; set; }
/// <summary>
/// 已加密
/// </summary>
public string IsEncrypted { get; set; }
/// <summary>
/// 描述:文件是否已上传
/// 空值:false
/// </summary>
[SugarColumn(IsIgnore = true)]
public bool FileExists { get; set; }
public SysFile() { }
public SysFile(string originFileName, string fileName, string ext, string fileSize, string storePath,