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 8b48003d..173d2023 100644 --- a/Admin.NET/Admin.NET.Core/Service/File/Dto/FileInput.cs +++ b/Admin.NET/Admin.NET.Core/Service/File/Dto/FileInput.cs @@ -75,6 +75,8 @@ public class UploadFileInput /// /// 上传用户Id(解决跨租户上传时用户所属不一致问题) /// + [Newtonsoft.Json.JsonIgnore] + [System.Text.Json.Serialization.JsonIgnore] public long UserId { get; set; } } @@ -124,5 +126,7 @@ public class UploadFileFromBase64Input /// /// 上传用户Id(解决跨租户上传时用户所属不一致问题) /// + [Newtonsoft.Json.JsonIgnore] + [System.Text.Json.Serialization.JsonIgnore] public long UserId { get; set; } } \ No newline at end of file