【优化】移除hangfire定时任务默认账号密码,并将路由设置到配置文件。

This commit is contained in:
jianweie code
2024-06-19 09:39:59 +08:00
parent 9db3e29aec
commit d464f953ef
4 changed files with 10 additions and 6 deletions

View File

@@ -112,6 +112,10 @@ namespace CoreCms.Net.Configuration
#region HangFire定时任务================================================================================
/// <summary>
/// HangFire默认访问路由地址
/// </summary>
public static readonly string HangFireRoutePrefix = AppSettingsHelper.GetContent("HangFire", "RoutePrefix");
/// <summary>
/// 登录账号
/// </summary>
public static readonly string HangFireLogin = AppSettingsHelper.GetContent("HangFire", "Login");