2345
This commit is contained in:
parent
cdede712a2
commit
489ea09b99
@ -99,7 +99,6 @@ namespace APT.BD.WebApi
|
|||||||
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
|
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
|
||||||
//UpdateDatabase();
|
//UpdateDatabase();
|
||||||
services.RegisterBearAuth();
|
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.
|
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
||||||
|
|||||||
@ -99,7 +99,6 @@ namespace APT.BS.WebApi
|
|||||||
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
|
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
|
||||||
//UpdateDatabase();
|
//UpdateDatabase();
|
||||||
services.RegisterBearAuth();
|
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.
|
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
||||||
|
|||||||
@ -98,7 +98,6 @@ namespace APT.FM.WebApi
|
|||||||
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
|
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
|
||||||
//UpdateDatabase();
|
//UpdateDatabase();
|
||||||
services.RegisterBearAuth();
|
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.
|
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
||||||
|
|||||||
@ -99,7 +99,6 @@ namespace APT.FO.WebApi
|
|||||||
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
|
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
|
||||||
//UpdateDatabase();
|
//UpdateDatabase();
|
||||||
services.RegisterBearAuth();
|
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.
|
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
||||||
|
|||||||
@ -99,7 +99,6 @@ namespace APT.HM.WebApi
|
|||||||
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
|
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
|
||||||
//UpdateDatabase();
|
//UpdateDatabase();
|
||||||
services.RegisterBearAuth();
|
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.
|
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
||||||
|
|||||||
@ -99,7 +99,6 @@ namespace APT.LG.WebApi
|
|||||||
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
|
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
|
||||||
//UpdateDatabase();
|
//UpdateDatabase();
|
||||||
services.RegisterBearAuth();
|
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.
|
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
||||||
|
|||||||
@ -114,7 +114,6 @@ namespace APT.PF.WebApi
|
|||||||
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
|
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
|
||||||
//UpdateDatabase();
|
//UpdateDatabase();
|
||||||
services.RegisterBearAuth();
|
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.
|
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
||||||
|
|||||||
@ -99,7 +99,6 @@ namespace APT.HM.WebApi
|
|||||||
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
|
services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
|
||||||
//UpdateDatabase();
|
//UpdateDatabase();
|
||||||
services.RegisterBearAuth();
|
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.
|
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user