chore 调整adminservice swagger
This commit is contained in:
@ -26,7 +26,7 @@ public class AdminHttpApiHostModule : AbpModule
|
||||
SwaggerConfigurationHelper.ConfigureWithOidc(
|
||||
context,
|
||||
configuration["AuthServer:Authority"]!,
|
||||
["AdministrationService"],
|
||||
["Admin", "Dispatch", "Payment", "Report", "TenantManagement"],
|
||||
discoveryEndpoint: configuration["AuthServer:MetadataAddress"],
|
||||
apiTitle: "Administration Service API"
|
||||
);
|
||||
|
||||
@ -6,18 +6,7 @@
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
},
|
||||
"applicationUrl": "https://localhost:44354"
|
||||
},
|
||||
"Container (Dockerfile)": {
|
||||
"commandName": "Docker",
|
||||
"launchBrowser": true,
|
||||
"launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_HTTPS_PORTS": "8081",
|
||||
"ASPNETCORE_HTTP_PORTS": "8080"
|
||||
},
|
||||
"publishAllPorts": true,
|
||||
"useSSL": true
|
||||
"applicationUrl": "http://localhost:44354"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json.schemastore.org/launchsettings.json"
|
||||
|
||||
@ -6,8 +6,9 @@
|
||||
"secret": "DBE31703-14F9-4B01-893D-900B8380CE04"
|
||||
},
|
||||
"AuthServer": {
|
||||
"Authority": "https://localhost:44322",
|
||||
"RequireHttpsMetadata": true,
|
||||
"SwaggerClientId": "Admin_Swagger"
|
||||
"Authority": "https://devauth.konsoft.top",
|
||||
"RequireHttpsMetadata": false,
|
||||
"SwaggerClientId": "Dev_Admin_Swagger",
|
||||
"MetadataAddress": "https://devauth.konsoft.top"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user