This commit is contained in:
wyw 2024-02-02 11:56:33 +08:00
parent cdede712a2
commit 489ea09b99
8 changed files with 0 additions and 8 deletions

View File

@ -99,7 +99,6 @@ namespace APT.BD.WebApi
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
//UpdateDatabase();
services.RegisterBearAuth();
services.AddControllers(o => o.Filters.Add(typeof(APIAttributeActionFilter)));
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.

View File

@ -99,7 +99,6 @@ namespace APT.BS.WebApi
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
//UpdateDatabase();
services.RegisterBearAuth();
services.AddControllers(o => o.Filters.Add(typeof(APIAttributeActionFilter)));
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.

View File

@ -98,7 +98,6 @@ namespace APT.FM.WebApi
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
//UpdateDatabase();
services.RegisterBearAuth();
services.AddControllers(o => o.Filters.Add(typeof(APIAttributeActionFilter)));
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.

View File

@ -99,7 +99,6 @@ namespace APT.FO.WebApi
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
//UpdateDatabase();
services.RegisterBearAuth();
services.AddControllers(o => o.Filters.Add(typeof(APIAttributeActionFilter)));
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.

View File

@ -99,7 +99,6 @@ namespace APT.HM.WebApi
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
//UpdateDatabase();
services.RegisterBearAuth();
services.AddControllers(o => o.Filters.Add(typeof(APIAttributeActionFilter)));
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.

View File

@ -99,7 +99,6 @@ namespace APT.LG.WebApi
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
//UpdateDatabase();
services.RegisterBearAuth();
services.AddControllers(o => o.Filters.Add(typeof(APIAttributeActionFilter)));
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.

View File

@ -114,7 +114,6 @@ namespace APT.PF.WebApi
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
//UpdateDatabase();
services.RegisterBearAuth();
services.AddControllers(o => o.Filters.Add(typeof(APIAttributeActionFilter)));
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.

View File

@ -99,7 +99,6 @@ namespace APT.HM.WebApi
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
//UpdateDatabase();
services.RegisterBearAuth();
services.AddControllers(o => o.Filters.Add(typeof(APIAttributeActionFilter)));//wyw 2024-01-04
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.