From 8f0e3801a7d9ee224ed477937261daee31c70d07 Mon Sep 17 00:00:00 2001 From: bairubing Date: Fri, 22 Nov 2024 14:49:51 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=98=8E=E4=BF=AE=E6=94=B9OA=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E9=97=AE=E9=A2=98=E6=8A=A5=E5=91=8A=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/OaOpenInterface/OaOpenInterfaceService.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/admin.net.pro/Admin.NET/Vistar.Application/Service/OaOpenInterface/OaOpenInterfaceService.cs b/admin.net.pro/Admin.NET/Vistar.Application/Service/OaOpenInterface/OaOpenInterfaceService.cs index 19a4089..529a719 100644 --- a/admin.net.pro/Admin.NET/Vistar.Application/Service/OaOpenInterface/OaOpenInterfaceService.cs +++ b/admin.net.pro/Admin.NET/Vistar.Application/Service/OaOpenInterface/OaOpenInterfaceService.cs @@ -170,7 +170,6 @@ public class OaOpenInterfaceService : IDynamicApiController, ITransient [Authorize(AuthenticationSchemes = JwtBearerDefaults.AuthenticationScheme + "," + SignatureAuthenticationDefaults.AuthenticationScheme)] [ApiDescriptionSettings(Name = "OaCreateProcess"), HttpPost] [DisplayName("OA创建流程")] - [AllowAnonymous] public async Task OaCreateProcess(OaCreateProcessInput input) { var response = new ManageResponse(); @@ -377,14 +376,13 @@ public class OaOpenInterfaceService : IDynamicApiController, ITransient [Authorize(AuthenticationSchemes = JwtBearerDefaults.AuthenticationScheme + "," + SignatureAuthenticationDefaults.AuthenticationScheme)] [ApiDescriptionSettings(Name = "OaAddRelatedFiles"), HttpPost] [DisplayName("OA创建问题报告文件")] - [AllowAnonymous] public async Task OaAddRelatedFiles(OaAddRelatedFilesInput input) { var response = new ManageResponse(); if (input.object_id == 0||string.IsNullOrEmpty(input._System_objNBS)|| input.file_structure_id ==0 || string.IsNullOrEmpty(input.file_name)) { - response.Success = false; + response.Success = true; response.Message = "必填项不能为空"; return response; }