代码格式细节微调

pull/14/head
JianWeie 4 years ago
parent aab0a16e58
commit 7571d666a1

@ -24,7 +24,6 @@ namespace CoreCms.Net.Configuration
public static readonly string AppConfigAppInterFaceUrl = AppSettingsHelper.GetContent("AppConfig", "AppInterFaceUrl");
#endregion
#region 数据库================================================================================
/// <summary>
/// 获取数据库连接字符串
@ -55,7 +54,6 @@ namespace CoreCms.Net.Configuration
#endregion
#region AOP================================================================================
/// <summary>
/// 事务切面开关
@ -71,14 +69,12 @@ namespace CoreCms.Net.Configuration
public static readonly string JwtConfigAudience = AppSettingsHelper.GetContent("JwtConfig", "Audience");
#endregion
#region Cors跨域设置================================================================================
public static readonly string CorsPolicyName = AppSettingsHelper.GetContent("Cors", "PolicyName");
public static readonly bool CorsEnableAllIPs = AppSettingsHelper.GetContent("Cors", "EnableAllIPs").ObjToBool();
public static readonly string CorsIPs = AppSettingsHelper.GetContent("Cors", "IPs");
#endregion
#region Middleware中间件================================================================================
/// <summary>
/// Ip限流
@ -119,7 +115,6 @@ namespace CoreCms.Net.Configuration
public static readonly string PayCallBackAlipayRefundUrl = AppSettingsHelper.GetContent("PayCallBack", "AlipayRefundUrl");
#endregion
#region 易联云打印机================================================================================
/// <summary>

@ -26,7 +26,7 @@ namespace CoreCms.Net.Core.Config
/// </summary>
public static class HangFireSetup
{
public static void AddHangFireSetupSetup(this IServiceCollection services)
public static void AddHangFireSetup(this IServiceCollection services)
{
if (services == null) throw new ArgumentNullException(nameof(services));

@ -117,7 +117,7 @@ namespace CoreCms.Net.Web.WebApi
services.AddYiLianYunSetup();
//注册Hangfire定时任务
services.AddHangFireSetupSetup();
services.AddHangFireSetup();
//授权支持注入
services.AddAuthorizationSetupForClient();

Loading…
Cancel
Save