Browse Source

RouteConfig修改到授权版代码

大厂分支
liangkun 4 years ago
parent
commit
cdd998e3e1
2 changed files with 4 additions and 2 deletions
  1. +3
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/App_Start/RouteConfig.cs
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/Quartz/WfJobScheduler.cs

+ 3
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/App_Start/RouteConfig.cs View File

@@ -19,7 +19,9 @@ namespace Learun.Application.Web
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");

routes.IgnoreRoute("WebService1.asmx/{*pathInfo}");
routes.IgnoreRoute("ActiveReports.ReportService.asmx/{*pathInfo}");
routes.IgnoreRoute("{*allActiveReport}", new { allActiveReport = @".*\.ar13(/.*)?" });
routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/Quartz/WfJobScheduler.cs View File

@@ -23,7 +23,7 @@ namespace Learun.Application.WorkFlow
ITrigger trigger = TriggerBuilder.Create()
.WithIdentity("triggerName", "groupName")
.WithSimpleSchedule(t =>
t.WithIntervalInMinutes(1)//30分钟检测一次是否超时
t.WithIntervalInMinutes(10)//10分钟检测一次是否超时
.RepeatForever())
.Build();



Loading…
Cancel
Save