diff --git a/Admin.NET/Admin.NET.Core/Service/File/Dto/FileInput.cs b/Admin.NET/Admin.NET.Core/Service/File/Dto/FileInput.cs index 04e10193..93933b7f 100644 --- a/Admin.NET/Admin.NET.Core/Service/File/Dto/FileInput.cs +++ b/Admin.NET/Admin.NET.Core/Service/File/Dto/FileInput.cs @@ -18,6 +18,12 @@ public class FileInput : BaseIdInput /// public string FileType { get; set; } + /// + /// 是否公开 + /// 如果设置true,所有人都可以查看,默认只有自己或有权限的人可以查看 + /// + public bool IsPublic { get; set; } + /// /// 文件Url /// @@ -72,6 +78,12 @@ public class UploadFileFromBase64Input /// 文件类型 /// public string FileType { get; set; } + + /// + /// 是否公开 + /// 如果设置true,所有人都可以查看,默认只有自己或有权限的人可以查看 + /// + public bool IsPublic { get; set; } } /// @@ -90,6 +102,12 @@ public class FileUploadInput /// public string FileType { get; set; } + /// + /// 是否公开 + /// 如果设置true,所有人都可以查看,默认只有自己或有权限的人可以查看 + /// + public bool IsPublic { get; set; } + /// /// 文件路径 /// @@ -168,6 +186,12 @@ public class FileOutput /// public string FileType { get; set; } + /// + /// 是否公开 + /// 如果设置true,所有人都可以查看,默认只有自己或有权限的人可以查看 + /// + public bool IsPublic { get; set; } + /// /// 上传人 ///