From 46450cc15b79367703e61bb9dd3f8c031bcd9ae8 Mon Sep 17 00:00:00 2001 From: liguoyang Date: Mon, 6 May 2024 17:20:26 +0800 Subject: [PATCH] =?UTF-8?q?fix=20role=3Dadmin=E7=A7=BB=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Src/Dlhis.Common/FileOperation/Controllers/FileController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Dlhis.Common/FileOperation/Controllers/FileController.cs b/Src/Dlhis.Common/FileOperation/Controllers/FileController.cs index d6b329e3..59bd8fc3 100644 --- a/Src/Dlhis.Common/FileOperation/Controllers/FileController.cs +++ b/Src/Dlhis.Common/FileOperation/Controllers/FileController.cs @@ -42,7 +42,7 @@ public class FileController : ControllerBase /// /// /// - [Authorize(Roles = "admin")] + [Authorize] [HttpPost("{Bucket}/version/upload")] [RequestFormLimits(MultipartBodyLengthLimit = int.MaxValue)] [RequestSizeLimit(int.MaxValue)]