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