2024-12-19 16:07:07 +08:00
|
|
|
|
namespace JiShe.CollectBus.Host
|
|
|
|
|
|
{
|
2025-04-23 14:46:19 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// CollectBusHostConst
|
|
|
|
|
|
/// </summary>
|
2024-12-19 16:07:07 +08:00
|
|
|
|
public static class CollectBusHostConst
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 跨域策略名
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const string DefaultCorsPolicyName = "Default";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Cookies名称
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const string DefaultCookieName = "JiShe.CollectBus.Host";
|
|
|
|
|
|
|
2025-03-14 14:04:49 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// SwaggerUi 端点
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const string SwaggerUiEndPoint = "/swagger";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Hangfire 端点
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const string HangfireDashboardEndPoint = "/hangfire";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-04-23 14:46:19 +08:00
|
|
|
|
/// 健康检查 端点
|
2025-03-14 14:04:49 +08:00
|
|
|
|
/// </summary>
|
2025-04-23 14:46:19 +08:00
|
|
|
|
public const string HealthEndPoint = "/health";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 健康检查 端点
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const string HealthDashboardEndPoint = "/health-ui";
|
|
|
|
|
|
|
2025-03-14 14:04:49 +08:00
|
|
|
|
|
2024-12-19 16:07:07 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|