Merge branch 'main' of https://github.com/ccnetcore/Yi into main

This commit is contained in:
lzw
2021-11-03 18:26:16 +08:00
9 changed files with 83 additions and 15 deletions

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yi.Framework.Common.Const
{
public class JobConst
{
public const string url = nameof(url);
public const string method = nameof(method);
}
}

View File

@@ -13,7 +13,8 @@ namespace Yi.Framework.Common.Helper
{
Assembly assembly = Assembly.Load(assemblyFile);
return assembly.GetTypes().Where(m => m.IsClass
&& m.Name==null?true:m.Name==className
&& className == null?true:m.Name==className
&& spaceName == null ? true :m.Namespace == spaceName
).ToList();
}

View File

@@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace Yi.Framework.Common.Models
{
public class visitModel
public class JobModel
{
public static int visitNum { get; set; } = 0;
}