feat(auth): add seed data for admin and test users
This commit is contained in:
parent
db3d345b86
commit
42976f09df
81
Data/SeedData.cs
Normal file
81
Data/SeedData.cs
Normal file
@ -0,0 +1,81 @@
|
||||
using Fengling.AuthService.Models;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace Fengling.AuthService.Data;
|
||||
|
||||
public static class SeedData
|
||||
{
|
||||
public static async Task Initialize(IServiceProvider serviceProvider)
|
||||
{
|
||||
using var scope = serviceProvider.CreateScope();
|
||||
var context = scope.ServiceProvider.GetRequiredService<ApplicationDbContext>();
|
||||
var userManager = scope.ServiceProvider.GetRequiredService<UserManager<ApplicationUser>>();
|
||||
var roleManager = scope.ServiceProvider.GetRequiredService<RoleManager<ApplicationRole>>();
|
||||
|
||||
context.Database.EnsureCreated();
|
||||
|
||||
var adminRole = await roleManager.FindByNameAsync("Admin");
|
||||
if (adminRole == null)
|
||||
{
|
||||
adminRole = new ApplicationRole
|
||||
{
|
||||
Name = "Admin",
|
||||
Description = "System administrator",
|
||||
CreatedTime = DateTime.UtcNow
|
||||
};
|
||||
await roleManager.CreateAsync(adminRole);
|
||||
}
|
||||
|
||||
var adminUser = await userManager.FindByNameAsync("admin");
|
||||
if (adminUser == null)
|
||||
{
|
||||
adminUser = new ApplicationUser
|
||||
{
|
||||
UserName = "admin",
|
||||
Email = "admin@fengling.local",
|
||||
RealName = "系统管理员",
|
||||
Phone = "13800138000",
|
||||
TenantId = 1,
|
||||
EmailConfirmed = true,
|
||||
IsDeleted = false,
|
||||
CreatedTime = DateTime.UtcNow
|
||||
};
|
||||
|
||||
var result = await userManager.CreateAsync(adminUser, "Admin@123");
|
||||
if (result.Succeeded)
|
||||
{
|
||||
await userManager.AddToRoleAsync(adminUser, "Admin");
|
||||
}
|
||||
}
|
||||
|
||||
var testUser = await userManager.FindByNameAsync("testuser");
|
||||
if (testUser == null)
|
||||
{
|
||||
testUser = new ApplicationUser
|
||||
{
|
||||
UserName = "testuser",
|
||||
Email = "test@fengling.local",
|
||||
RealName = "测试用户",
|
||||
Phone = "13900139000",
|
||||
TenantId = 1,
|
||||
EmailConfirmed = true,
|
||||
IsDeleted = false,
|
||||
CreatedTime = DateTime.UtcNow
|
||||
};
|
||||
|
||||
var result = await userManager.CreateAsync(testUser, "Test@123");
|
||||
if (result.Succeeded)
|
||||
{
|
||||
var userRole = new ApplicationRole
|
||||
{
|
||||
Name = "User",
|
||||
Description = "普通用户",
|
||||
CreatedTime = DateTime.UtcNow
|
||||
};
|
||||
await roleManager.CreateAsync(userRole);
|
||||
await userManager.AddToRoleAsync(testUser, "User");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -6,16 +6,15 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.1" />
|
||||
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.3">
|
||||
<PackageReference Include="Swashbuckle.AspNetCore" Version="8.0.0" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.2">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="OpenIddict.AspNetCore" Version="7.2.0" />
|
||||
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="7.2.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="10.0.1" />
|
||||
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="10.0.3" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="10.0.2" />
|
||||
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="10.0.0" />
|
||||
<PackageReference Include="Serilog.AspNetCore" Version="9.0.0" />
|
||||
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
|
||||
<PackageReference Include="OpenTelemetry" Version="1.11.0" />
|
||||
|
||||
@ -39,7 +39,6 @@ builder.Services.AddOpenTelemetry()
|
||||
|
||||
builder.Services.AddControllers();
|
||||
|
||||
builder.Services.AddEndpointsApiExplorer();
|
||||
builder.Services.AddSwaggerGen(options =>
|
||||
{
|
||||
options.SwaggerDoc("v1", new OpenApiInfo
|
||||
@ -64,6 +63,11 @@ builder.Services.AddSwaggerGen(options =>
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
using (var scope = app.Services.CreateScope())
|
||||
{
|
||||
await Data.SeedData.Initialize(scope.ServiceProvider);
|
||||
}
|
||||
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI(options =>
|
||||
{
|
||||
|
||||
BIN
bin/Debug/net10.0/Fengling.AuthService
Executable file
BIN
bin/Debug/net10.0/Fengling.AuthService
Executable file
Binary file not shown.
1774
bin/Debug/net10.0/Fengling.AuthService.deps.json
Normal file
1774
bin/Debug/net10.0/Fengling.AuthService.deps.json
Normal file
File diff suppressed because it is too large
Load Diff
BIN
bin/Debug/net10.0/Fengling.AuthService.dll
Normal file
BIN
bin/Debug/net10.0/Fengling.AuthService.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net10.0/Fengling.AuthService.pdb
Normal file
BIN
bin/Debug/net10.0/Fengling.AuthService.pdb
Normal file
Binary file not shown.
20
bin/Debug/net10.0/Fengling.AuthService.runtimeconfig.json
Normal file
20
bin/Debug/net10.0/Fengling.AuthService.runtimeconfig.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net10.0",
|
||||
"frameworks": [
|
||||
{
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "10.0.0"
|
||||
},
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App",
|
||||
"version": "10.0.0"
|
||||
}
|
||||
],
|
||||
"configProperties": {
|
||||
"System.GC.Server": true,
|
||||
"System.Reflection.NullabilityInfoContext.IsSupported": true,
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
{"Version":1,"ManifestType":"Build","Endpoints":[]}
|
||||
BIN
bin/Debug/net10.0/Humanizer.dll
Executable file
BIN
bin/Debug/net10.0/Humanizer.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.AspNetCore.Identity.EntityFrameworkCore.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.AspNetCore.Identity.EntityFrameworkCore.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Build.Framework.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Build.Framework.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.CodeAnalysis.CSharp.Workspaces.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.CodeAnalysis.CSharp.Workspaces.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.CodeAnalysis.CSharp.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.CodeAnalysis.CSharp.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.CodeAnalysis.ExternalAccess.RazorCompiler.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.CodeAnalysis.ExternalAccess.RazorCompiler.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.CodeAnalysis.Workspaces.MSBuild.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.CodeAnalysis.Workspaces.MSBuild.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.CodeAnalysis.Workspaces.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.CodeAnalysis.Workspaces.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.CodeAnalysis.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.CodeAnalysis.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.EntityFrameworkCore.Abstractions.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.EntityFrameworkCore.Abstractions.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.EntityFrameworkCore.Design.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.EntityFrameworkCore.Design.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.EntityFrameworkCore.Relational.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.EntityFrameworkCore.Relational.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.EntityFrameworkCore.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.EntityFrameworkCore.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.AmbientMetadata.Application.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.AmbientMetadata.Application.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.Compliance.Abstractions.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.Compliance.Abstractions.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.DependencyInjection.AutoActivation.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.DependencyInjection.AutoActivation.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.DependencyModel.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.DependencyModel.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.Diagnostics.ExceptionSummarization.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.Diagnostics.ExceptionSummarization.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.Http.Diagnostics.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.Http.Diagnostics.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.Http.Polly.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.Http.Polly.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.Http.Resilience.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.Http.Resilience.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.Resilience.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.Resilience.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.Telemetry.Abstractions.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.Telemetry.Abstractions.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.Telemetry.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.Telemetry.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.IdentityModel.Abstractions.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.IdentityModel.Abstractions.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.IdentityModel.JsonWebTokens.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.IdentityModel.JsonWebTokens.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.IdentityModel.Logging.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.IdentityModel.Logging.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.IdentityModel.Protocols.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.IdentityModel.Protocols.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.IdentityModel.Tokens.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.IdentityModel.Tokens.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.OpenApi.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.OpenApi.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.VisualStudio.SolutionPersistence.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.VisualStudio.SolutionPersistence.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Mono.TextTemplating.dll
Executable file
BIN
bin/Debug/net10.0/Mono.TextTemplating.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Newtonsoft.Json.dll
Executable file
BIN
bin/Debug/net10.0/Newtonsoft.Json.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Npgsql.EntityFrameworkCore.PostgreSQL.dll
Executable file
BIN
bin/Debug/net10.0/Npgsql.EntityFrameworkCore.PostgreSQL.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Npgsql.dll
Executable file
BIN
bin/Debug/net10.0/Npgsql.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenIddict.Abstractions.dll
Executable file
BIN
bin/Debug/net10.0/OpenIddict.Abstractions.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenIddict.Client.AspNetCore.dll
Executable file
BIN
bin/Debug/net10.0/OpenIddict.Client.AspNetCore.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenIddict.Client.DataProtection.dll
Executable file
BIN
bin/Debug/net10.0/OpenIddict.Client.DataProtection.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenIddict.Client.SystemIntegration.dll
Executable file
BIN
bin/Debug/net10.0/OpenIddict.Client.SystemIntegration.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenIddict.Client.SystemNetHttp.dll
Executable file
BIN
bin/Debug/net10.0/OpenIddict.Client.SystemNetHttp.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenIddict.Client.WebIntegration.dll
Executable file
BIN
bin/Debug/net10.0/OpenIddict.Client.WebIntegration.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenIddict.Client.dll
Executable file
BIN
bin/Debug/net10.0/OpenIddict.Client.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenIddict.Core.dll
Executable file
BIN
bin/Debug/net10.0/OpenIddict.Core.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenIddict.EntityFrameworkCore.Models.dll
Executable file
BIN
bin/Debug/net10.0/OpenIddict.EntityFrameworkCore.Models.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenIddict.EntityFrameworkCore.dll
Executable file
BIN
bin/Debug/net10.0/OpenIddict.EntityFrameworkCore.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenIddict.Server.AspNetCore.dll
Executable file
BIN
bin/Debug/net10.0/OpenIddict.Server.AspNetCore.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenIddict.Server.DataProtection.dll
Executable file
BIN
bin/Debug/net10.0/OpenIddict.Server.DataProtection.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenIddict.Server.dll
Executable file
BIN
bin/Debug/net10.0/OpenIddict.Server.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenIddict.Validation.AspNetCore.dll
Executable file
BIN
bin/Debug/net10.0/OpenIddict.Validation.AspNetCore.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenIddict.Validation.DataProtection.dll
Executable file
BIN
bin/Debug/net10.0/OpenIddict.Validation.DataProtection.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenIddict.Validation.ServerIntegration.dll
Executable file
BIN
bin/Debug/net10.0/OpenIddict.Validation.ServerIntegration.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenIddict.Validation.SystemNetHttp.dll
Executable file
BIN
bin/Debug/net10.0/OpenIddict.Validation.SystemNetHttp.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenIddict.Validation.dll
Executable file
BIN
bin/Debug/net10.0/OpenIddict.Validation.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenTelemetry.Api.ProviderBuilderExtensions.dll
Executable file
BIN
bin/Debug/net10.0/OpenTelemetry.Api.ProviderBuilderExtensions.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenTelemetry.Api.dll
Executable file
BIN
bin/Debug/net10.0/OpenTelemetry.Api.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenTelemetry.Exporter.OpenTelemetryProtocol.dll
Executable file
BIN
bin/Debug/net10.0/OpenTelemetry.Exporter.OpenTelemetryProtocol.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenTelemetry.Extensions.Hosting.dll
Executable file
BIN
bin/Debug/net10.0/OpenTelemetry.Extensions.Hosting.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenTelemetry.Instrumentation.AspNetCore.dll
Executable file
BIN
bin/Debug/net10.0/OpenTelemetry.Instrumentation.AspNetCore.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenTelemetry.Instrumentation.Http.dll
Executable file
BIN
bin/Debug/net10.0/OpenTelemetry.Instrumentation.Http.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/OpenTelemetry.dll
Executable file
BIN
bin/Debug/net10.0/OpenTelemetry.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Polly.Core.dll
Executable file
BIN
bin/Debug/net10.0/Polly.Core.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Polly.Extensions.Http.dll
Executable file
BIN
bin/Debug/net10.0/Polly.Extensions.Http.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Polly.Extensions.dll
Executable file
BIN
bin/Debug/net10.0/Polly.Extensions.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Polly.RateLimiting.dll
Executable file
BIN
bin/Debug/net10.0/Polly.RateLimiting.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Polly.dll
Executable file
BIN
bin/Debug/net10.0/Polly.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Serilog.AspNetCore.dll
Executable file
BIN
bin/Debug/net10.0/Serilog.AspNetCore.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Serilog.Extensions.Hosting.dll
Executable file
BIN
bin/Debug/net10.0/Serilog.Extensions.Hosting.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Serilog.Extensions.Logging.dll
Executable file
BIN
bin/Debug/net10.0/Serilog.Extensions.Logging.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Serilog.Formatting.Compact.dll
Executable file
BIN
bin/Debug/net10.0/Serilog.Formatting.Compact.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Serilog.Settings.Configuration.dll
Executable file
BIN
bin/Debug/net10.0/Serilog.Settings.Configuration.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Serilog.Sinks.Console.dll
Executable file
BIN
bin/Debug/net10.0/Serilog.Sinks.Console.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Serilog.Sinks.Debug.dll
Executable file
BIN
bin/Debug/net10.0/Serilog.Sinks.Debug.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Serilog.Sinks.File.dll
Executable file
BIN
bin/Debug/net10.0/Serilog.Sinks.File.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Serilog.dll
Executable file
BIN
bin/Debug/net10.0/Serilog.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Swashbuckle.AspNetCore.Swagger.dll
Executable file
BIN
bin/Debug/net10.0/Swashbuckle.AspNetCore.Swagger.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Swashbuckle.AspNetCore.SwaggerGen.dll
Executable file
BIN
bin/Debug/net10.0/Swashbuckle.AspNetCore.SwaggerGen.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Swashbuckle.AspNetCore.SwaggerUI.dll
Executable file
BIN
bin/Debug/net10.0/Swashbuckle.AspNetCore.SwaggerUI.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.CodeDom.dll
Executable file
BIN
bin/Debug/net10.0/System.CodeDom.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Composition.AttributedModel.dll
Executable file
BIN
bin/Debug/net10.0/System.Composition.AttributedModel.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Composition.Convention.dll
Executable file
BIN
bin/Debug/net10.0/System.Composition.Convention.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Composition.Hosting.dll
Executable file
BIN
bin/Debug/net10.0/System.Composition.Hosting.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Composition.Runtime.dll
Executable file
BIN
bin/Debug/net10.0/System.Composition.Runtime.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Composition.TypedParts.dll
Executable file
BIN
bin/Debug/net10.0/System.Composition.TypedParts.dll
Executable file
Binary file not shown.
8
bin/Debug/net10.0/appsettings.Development.json
Normal file
8
bin/Debug/net10.0/appsettings.Development.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
}
|
||||
}
|
||||
16
bin/Debug/net10.0/appsettings.json
Normal file
16
bin/Debug/net10.0/appsettings.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"ConnectionStrings": {
|
||||
"DefaultConnection": "Host=192.168.100.10;Port=5432;Database=fengling_auth;Username=movingsam;Password=sl52788542"
|
||||
},
|
||||
"OpenIddict": {
|
||||
"Issuer": "https://auth.fengling.local",
|
||||
"Audience": "fengling-api"
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
}
|
||||
BIN
bin/Debug/net10.0/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
Executable file
BIN
bin/Debug/net10.0/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/cs/Microsoft.CodeAnalysis.CSharp.resources.dll
Executable file
BIN
bin/Debug/net10.0/cs/Microsoft.CodeAnalysis.CSharp.resources.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/cs/Microsoft.CodeAnalysis.Workspaces.MSBuild.resources.dll
Executable file
BIN
bin/Debug/net10.0/cs/Microsoft.CodeAnalysis.Workspaces.MSBuild.resources.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/cs/Microsoft.CodeAnalysis.Workspaces.resources.dll
Executable file
BIN
bin/Debug/net10.0/cs/Microsoft.CodeAnalysis.Workspaces.resources.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/cs/Microsoft.CodeAnalysis.resources.dll
Executable file
BIN
bin/Debug/net10.0/cs/Microsoft.CodeAnalysis.resources.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
Executable file
BIN
bin/Debug/net10.0/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
Executable file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user