From 8bccc8fc65d9f0f851fb9bd5dcd30dae0e7bf33b Mon Sep 17 00:00:00 2001 From: colin Date: Wed, 5 Mar 2025 18:58:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(account):=20=E7=94=A8=E6=88=B7=E5=A4=B4?= =?UTF-8?q?=E5=83=8F=E6=96=87=E4=BB=B6=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LINGYUN/Abp/Account/Dto/ChangePictureInput.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.Application.Contracts/LINGYUN/Abp/Account/Dto/ChangePictureInput.cs b/aspnet-core/modules/account/LINGYUN.Abp.Account.Application.Contracts/LINGYUN/Abp/Account/Dto/ChangePictureInput.cs index 0e68e4efd..5c4d0314d 100644 --- a/aspnet-core/modules/account/LINGYUN.Abp.Account.Application.Contracts/LINGYUN/Abp/Account/Dto/ChangePictureInput.cs +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.Application.Contracts/LINGYUN/Abp/Account/Dto/ChangePictureInput.cs @@ -1,10 +1,12 @@ -using Volo.Abp.Auditing; +using System.ComponentModel.DataAnnotations; +using Volo.Abp.Auditing; using Volo.Abp.Content; namespace LINGYUN.Abp.Account; public class ChangePictureInput { + [Required] [DisableAuditing] public IRemoteStreamContent File { get; set; } }