mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 15:43:27 +08:00
【修复】修复接口端swagger自定义路径失效的问题。
This commit is contained in:
@@ -209,7 +209,7 @@ app.UseSwagger().UseSwaggerUI(c =>
|
|||||||
{
|
{
|
||||||
c.SwaggerEndpoint($"/swagger/{version}/swagger.json", $"Doc {version}");
|
c.SwaggerEndpoint($"/swagger/{version}/swagger.json", $"Doc {version}");
|
||||||
});
|
});
|
||||||
c.RoutePrefix = "doc";
|
c.RoutePrefix = AppSettingsConstVars.SwaggerRoutePrefix;
|
||||||
});
|
});
|
||||||
|
|
||||||
#region Hangfire定时任务
|
#region Hangfire定时任务
|
||||||
|
|||||||
Reference in New Issue
Block a user