初步可用后台

This commit is contained in:
j4587698
2020-02-16 22:11:24 +08:00
parent 104cfb2463
commit c448afdd1d
37 changed files with 2278 additions and 310 deletions

View File

@@ -0,0 +1,15 @@
using Microsoft.Extensions.Configuration;
namespace JXCMS.Core.Utils
{
public class ConfigHelper
{
public static IConfiguration Configs { get; set; }
public static string GetValue(string key)
{
var res = Configs.GetSection(key).Value;
return res;
}
}
}