后台数据表建立

This commit is contained in:
路 范
2022-03-30 19:34:37 +08:00
parent 904bdd16cd
commit 8a57806a29
37 changed files with 50474 additions and 431 deletions

View File

@@ -1,8 +1,11 @@
using Ewide.Core;
using Ewide.EntityFramework.Core;
using Furion;
using Furion.DependencyInjection;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Serilog;
@@ -71,6 +74,8 @@ namespace Ewide.Web.Core
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
}
else
{
@@ -96,7 +101,7 @@ namespace Ewide.Web.Core
app.UseAuthentication();
app.UseAuthorization();
app.UseInject(string.Empty);
app.UseInject();
app.UseEndpoints(endpoints =>
{