From e30876e56568b3875ef6fb5a96c98aa90e388f18 Mon Sep 17 00:00:00 2001 From: zuohuaijun Date: Tue, 30 Sep 2025 10:07:40 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=98=8E=E5=BF=BD=E7=95=A5=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E6=96=87=E4=BB=B6=E6=97=B6=E4=B8=8A=E4=BC=A0=E7=94=A8?= =?UTF-8?q?=E6=88=B7Id=E8=B5=8B=E5=80=BC=EF=BC=88=E5=8F=AA=E4=BE=9B?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E7=AB=AF=E5=86=85=E9=83=A8=E8=B0=83=E7=94=A8?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Admin.NET/Admin.NET.Core/Service/File/Dto/FileInput.cs | 4 ++++ 1 file changed, 4 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 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