From 61b5bef016b06e6739d49f2728bce374b784eef1 Mon Sep 17 00:00:00 2001 From: 362270511 <362270511@qq.com> Date: Tue, 13 Aug 2024 17:07:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Admin.NET/Admin.NET.Core/S?= =?UTF-8?q?ervice/File/Dto/FileInput.cs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 文件管理功能添加是否公开附件功能 --- .../Service/File/Dto/FileInput.cs | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) 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; } + /// /// 上传人 ///