From 4afd7924b737d56964486407b5b858d78ee66046 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=85=86=E9=91=AB?= Date: Mon, 27 Oct 2025 20:21:24 +0800 Subject: [PATCH] =?UTF-8?q?chore=20=E8=B0=83=E6=95=B4adminservice=20swagge?= =?UTF-8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AdminHttpApiHostModule.cs | 2 +- .../Properties/launchSettings.json | 13 +------------ .../KonSoft.Admin.HttpApi.Host/appsettings.json | 7 ++++--- 3 files changed, 6 insertions(+), 16 deletions(-) diff --git a/microservices/KonSoft.Admin.HttpApi.Host/AdminHttpApiHostModule.cs b/microservices/KonSoft.Admin.HttpApi.Host/AdminHttpApiHostModule.cs index 2c54bfb..721305a 100644 --- a/microservices/KonSoft.Admin.HttpApi.Host/AdminHttpApiHostModule.cs +++ b/microservices/KonSoft.Admin.HttpApi.Host/AdminHttpApiHostModule.cs @@ -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" ); diff --git a/microservices/KonSoft.Admin.HttpApi.Host/Properties/launchSettings.json b/microservices/KonSoft.Admin.HttpApi.Host/Properties/launchSettings.json index 4660c69..a85d99a 100644 --- a/microservices/KonSoft.Admin.HttpApi.Host/Properties/launchSettings.json +++ b/microservices/KonSoft.Admin.HttpApi.Host/Properties/launchSettings.json @@ -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" diff --git a/microservices/KonSoft.Admin.HttpApi.Host/appsettings.json b/microservices/KonSoft.Admin.HttpApi.Host/appsettings.json index c1df4ef..2bb51e0 100644 --- a/microservices/KonSoft.Admin.HttpApi.Host/appsettings.json +++ b/microservices/KonSoft.Admin.HttpApi.Host/appsettings.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" } } \ No newline at end of file