diff --git a/CoreCms.Net.Auth/CoreCms.Net.Auth.csproj b/CoreCms.Net.Auth/CoreCms.Net.Auth.csproj
index 310cfca5..9da50e0d 100644
--- a/CoreCms.Net.Auth/CoreCms.Net.Auth.csproj
+++ b/CoreCms.Net.Auth/CoreCms.Net.Auth.csproj
@@ -5,7 +5,7 @@
-
+
diff --git a/CoreCms.Net.Caching/CoreCms.Net.Caching.csproj b/CoreCms.Net.Caching/CoreCms.Net.Caching.csproj
index 9549ce7d..a7a98185 100644
--- a/CoreCms.Net.Caching/CoreCms.Net.Caching.csproj
+++ b/CoreCms.Net.Caching/CoreCms.Net.Caching.csproj
@@ -7,8 +7,8 @@
-
-
+
+
diff --git a/CoreCms.Net.CodeGenerator/CoreCms.Net.CodeGenerator.csproj b/CoreCms.Net.CodeGenerator/CoreCms.Net.CodeGenerator.csproj
index f52e390b..97b36481 100644
--- a/CoreCms.Net.CodeGenerator/CoreCms.Net.CodeGenerator.csproj
+++ b/CoreCms.Net.CodeGenerator/CoreCms.Net.CodeGenerator.csproj
@@ -47,8 +47,8 @@
-
-
+
+
diff --git a/CoreCms.Net.Core/Config/HangFireSetup.cs b/CoreCms.Net.Core/Config/HangFireSetup.cs
index 1f81ef4c..8562fa03 100644
--- a/CoreCms.Net.Core/Config/HangFireSetup.cs
+++ b/CoreCms.Net.Core/Config/HangFireSetup.cs
@@ -17,6 +17,7 @@ using CoreCms.Net.Utility.Extensions;
using Hangfire;
using Hangfire.MySql;
using Hangfire.Redis;
+using Hangfire.Redis.StackExchange;
using Hangfire.SqlServer;
using Microsoft.Extensions.DependencyInjection;
using SqlSugar;
diff --git a/CoreCms.Net.Core/CoreCms.Net.Core.csproj b/CoreCms.Net.Core/CoreCms.Net.Core.csproj
index b3b5c14a..6c231d4b 100644
--- a/CoreCms.Net.Core/CoreCms.Net.Core.csproj
+++ b/CoreCms.Net.Core/CoreCms.Net.Core.csproj
@@ -15,18 +15,18 @@
-
-
-
+
+
+
-
+
-
+
-
+
diff --git a/CoreCms.Net.Loging/CoreCms.Net.Loging.csproj b/CoreCms.Net.Loging/CoreCms.Net.Loging.csproj
index 39a59d0c..1b477533 100644
--- a/CoreCms.Net.Loging/CoreCms.Net.Loging.csproj
+++ b/CoreCms.Net.Loging/CoreCms.Net.Loging.csproj
@@ -6,8 +6,8 @@
-
-
+
+
diff --git a/CoreCms.Net.Mapping/CoreCms.Net.Mapping.csproj b/CoreCms.Net.Mapping/CoreCms.Net.Mapping.csproj
index 3dd0f38e..59eed489 100644
--- a/CoreCms.Net.Mapping/CoreCms.Net.Mapping.csproj
+++ b/CoreCms.Net.Mapping/CoreCms.Net.Mapping.csproj
@@ -6,7 +6,7 @@
-
+
diff --git a/CoreCms.Net.Model/CoreCms.Net.Model.csproj b/CoreCms.Net.Model/CoreCms.Net.Model.csproj
index dd98de68..00ea2682 100644
--- a/CoreCms.Net.Model/CoreCms.Net.Model.csproj
+++ b/CoreCms.Net.Model/CoreCms.Net.Model.csproj
@@ -7,8 +7,8 @@
-
-
+
+
diff --git a/CoreCms.Net.RedisMQ/CoreCms.Net.RedisMQ.csproj b/CoreCms.Net.RedisMQ/CoreCms.Net.RedisMQ.csproj
index 8e840210..522bd55c 100644
--- a/CoreCms.Net.RedisMQ/CoreCms.Net.RedisMQ.csproj
+++ b/CoreCms.Net.RedisMQ/CoreCms.Net.RedisMQ.csproj
@@ -8,7 +8,7 @@
-
+
diff --git a/CoreCms.Net.Repository/CoreCms.Net.Repository.csproj b/CoreCms.Net.Repository/CoreCms.Net.Repository.csproj
index bef2b547..1b0a9ec7 100644
--- a/CoreCms.Net.Repository/CoreCms.Net.Repository.csproj
+++ b/CoreCms.Net.Repository/CoreCms.Net.Repository.csproj
@@ -5,7 +5,7 @@
-
+
diff --git a/CoreCms.Net.Services/CoreCms.Net.Services.csproj b/CoreCms.Net.Services/CoreCms.Net.Services.csproj
index b8969705..00717743 100644
--- a/CoreCms.Net.Services/CoreCms.Net.Services.csproj
+++ b/CoreCms.Net.Services/CoreCms.Net.Services.csproj
@@ -12,9 +12,9 @@
-
+
-
+
diff --git a/CoreCms.Net.Swagger/CoreCms.Net.Swagger.csproj b/CoreCms.Net.Swagger/CoreCms.Net.Swagger.csproj
index 934a8b2e..398ec081 100644
--- a/CoreCms.Net.Swagger/CoreCms.Net.Swagger.csproj
+++ b/CoreCms.Net.Swagger/CoreCms.Net.Swagger.csproj
@@ -6,7 +6,7 @@
-
+
diff --git a/CoreCms.Net.Task/CoreCms.Net.Task.csproj b/CoreCms.Net.Task/CoreCms.Net.Task.csproj
index 47fb7a14..87642a75 100644
--- a/CoreCms.Net.Task/CoreCms.Net.Task.csproj
+++ b/CoreCms.Net.Task/CoreCms.Net.Task.csproj
@@ -5,7 +5,7 @@
-
+
diff --git a/CoreCms.Net.Task/HangfireDispose.cs b/CoreCms.Net.Task/HangfireDispose.cs
index 0df46f1b..40bdf536 100644
--- a/CoreCms.Net.Task/HangfireDispose.cs
+++ b/CoreCms.Net.Task/HangfireDispose.cs
@@ -41,34 +41,34 @@ namespace CoreCms.Net.Task
//CancelOrderJob代表你要触发的类 Execute代表你要触发的方法
//自动取消订单任务
- RecurringJob.AddOrUpdate(s => s.Execute(), "0 0/5 * * * ? ", TimeZoneInfo.Local); // 每5分钟取消一次订单
+ RecurringJob.AddOrUpdate("AutoCancelOrderJob", s => s.Execute(), "0 0/5 * * * ? ", new RecurringJobOptions { TimeZone = TimeZoneInfo.Local }); // 每5分钟取消一次订单
//自动完成订单任务
- RecurringJob.AddOrUpdate(s => s.Execute(), "0 0 0/1 * * ? ", TimeZoneInfo.Local); // 每小时自动完成订单
+ RecurringJob.AddOrUpdate("CompleteOrderJob", s => s.Execute(), "0 0 0/1 * * ? ", new RecurringJobOptions { TimeZone = TimeZoneInfo.Local }); // 每小时自动完成订单
//自动评价订单任务
- RecurringJob.AddOrUpdate(s => s.Execute(), "0 0 0/1 * * ? ", TimeZoneInfo.Local); // 每小时自动完成订单
+ RecurringJob.AddOrUpdate("EvaluateOrderJob", s => s.Execute(), "0 0 0/1 * * ? ", new RecurringJobOptions { TimeZone = TimeZoneInfo.Local }); // 每小时自动完成订单
//自动签收订单任务
- RecurringJob.AddOrUpdate(s => s.Execute(), "0 0 0/1 * * ? ", TimeZoneInfo.Local); // 每小时自动完成订单
+ RecurringJob.AddOrUpdate("AutoSignOrderJob", s => s.Execute(), "0 0 0/1 * * ? ", new RecurringJobOptions { TimeZone = TimeZoneInfo.Local }); // 每小时自动完成订单
//催付款订单
- RecurringJob.AddOrUpdate(s => s.Execute(), "0 0/5 * * * ? ", TimeZoneInfo.Local); // 每5分钟催付款订单
+ RecurringJob.AddOrUpdate("RemindOrderPayJob", s => s.Execute(), "0 0/5 * * * ? ", new RecurringJobOptions { TimeZone = TimeZoneInfo.Local }); // 每5分钟催付款订单
//拼团自动取消到期团(每分钟执行一次)
- RecurringJob.AddOrUpdate(s => s.Execute(), "0 0/2 * * * ? ", TimeZoneInfo.Local); // 每分钟取消一次订单
+ RecurringJob.AddOrUpdate("AutoCanclePinTuanJob", s => s.Execute(), "0 0/2 * * * ? ", new RecurringJobOptions { TimeZone = TimeZoneInfo.Local }); // 每分钟取消一次订单
//每天凌晨5点定期清理7天前操作日志
- RecurringJob.AddOrUpdate(s => s.Execute(), "0 0 5 * * ? ", TimeZoneInfo.Local); // 每天5点固定时间清理一次
+ RecurringJob.AddOrUpdate("RemoveOperationLogJob", s => s.Execute(), "0 0 5 * * ? ", new RecurringJobOptions { TimeZone = TimeZoneInfo.Local }); // 每天5点固定时间清理一次
//定时刷新获取微信AccessToken
- RecurringJob.AddOrUpdate(s => s.Execute(), "0 0/4 * * * ? ", TimeZoneInfo.Local); // 每2分钟刷新获取微信AccessToken
+ RecurringJob.AddOrUpdate("RefreshWeChatAccessTokenJob", s => s.Execute(), "0 0/4 * * * ? ", new RecurringJobOptions { TimeZone = TimeZoneInfo.Local }); // 每2分钟刷新获取微信AccessToken
//定时清理用户连续签到信息
- RecurringJob.AddOrUpdate(s => s.Execute(), "0 0 0 */1 * ? ", TimeZoneInfo.Local); // 每天0点执行。
+ RecurringJob.AddOrUpdate("ClearUserContinuousCheckInJob", s => s.Execute(), "0 0 0 */1 * ? ", new RecurringJobOptions { TimeZone = TimeZoneInfo.Local }); // 每天0点执行。
//自动取消服务器订单任务
- RecurringJob.AddOrUpdate(s => s.Execute(), "0 0/5 * * * ? ", TimeZoneInfo.Local); // 每5分钟取消一次订单
+ RecurringJob.AddOrUpdate("AutoCancelServiceOrderJob", s => s.Execute(), "0 0/5 * * * ? ", new RecurringJobOptions { TimeZone = TimeZoneInfo.Local }); // 每5分钟取消一次订单
}
diff --git a/CoreCms.Net.Utility/CoreCms.Net.Utility.csproj b/CoreCms.Net.Utility/CoreCms.Net.Utility.csproj
index 1560cd37..de7609e0 100644
--- a/CoreCms.Net.Utility/CoreCms.Net.Utility.csproj
+++ b/CoreCms.Net.Utility/CoreCms.Net.Utility.csproj
@@ -5,8 +5,8 @@
-
-
+
+
diff --git a/CoreCms.Net.WeChat.Service/CoreCms.Net.WeChat.Service.csproj b/CoreCms.Net.WeChat.Service/CoreCms.Net.WeChat.Service.csproj
index 512d57db..3d78ced7 100644
--- a/CoreCms.Net.WeChat.Service/CoreCms.Net.WeChat.Service.csproj
+++ b/CoreCms.Net.WeChat.Service/CoreCms.Net.WeChat.Service.csproj
@@ -9,8 +9,8 @@
-
-
+
+
diff --git a/CoreCms.Net.Web.Admin/CoreCms.Net.Web.Admin.csproj b/CoreCms.Net.Web.Admin/CoreCms.Net.Web.Admin.csproj
index 1c61286e..b38b7ba9 100644
--- a/CoreCms.Net.Web.Admin/CoreCms.Net.Web.Admin.csproj
+++ b/CoreCms.Net.Web.Admin/CoreCms.Net.Web.Admin.csproj
@@ -48,29 +48,29 @@
-
+
-
-
-
-
+
+
+
+
-
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+
diff --git a/CoreCms.Net.Web.WebApi/CoreCms.Net.Web.WebApi.csproj b/CoreCms.Net.Web.WebApi/CoreCms.Net.Web.WebApi.csproj
index 5155aeb0..4f25ccf1 100644
--- a/CoreCms.Net.Web.WebApi/CoreCms.Net.Web.WebApi.csproj
+++ b/CoreCms.Net.Web.WebApi/CoreCms.Net.Web.WebApi.csproj
@@ -52,28 +52,28 @@
-
+
-
-
-
+
+
+
-
-
-
-
+
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
+