From 054eedf3039c0555ed125e54e7b1d9f6e7727ed3 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Mon, 21 Nov 2022 17:42:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.API/Startup.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/IRaCIS.Core.API/Startup.cs b/IRaCIS.Core.API/Startup.cs index 16d57165..00396a93 100644 --- a/IRaCIS.Core.API/Startup.cs +++ b/IRaCIS.Core.API/Startup.cs @@ -76,7 +76,7 @@ namespace IRaCIS.Core.API //options.Filters.Add(); options.Filters.Add(); options.Filters.Add(); - options.Filters.Add(); + //options.Filters.Add(); if (_configuration.GetSection("BasicSystemConfig").GetValue("OpenLoginLimit")) { @@ -86,11 +86,11 @@ namespace IRaCIS.Core.API }) - .AddDataAnnotationsLocalization(options => - { - options.DataAnnotationLocalizerProvider = (type, factory) => - factory.Create(typeof(SharedResource)); - }) + //.AddDataAnnotationsLocalization(options => + //{ + // options.DataAnnotationLocalizerProvider = (type, factory) => + // factory.Create(typeof(SharedResource)); + //}) .AddNewtonsoftJsonSetup(); // NewtonsoftJson ÐòÁл¯ ´¦Àí