/// <summary>
 /// 根据配置文件的键获取值(字符串)
 /// </summary>
 /// <param name="key">键</param>
 /// <returns></returns>
 public static string Get(string key)
 {
     return(JsonConfigurationProvider.GetSection(JsonFileName, key));
 }
 /// <summary>
 /// 根据配置文件的键获取值(对象)
 /// </summary>
 /// <param name="section"></param>
 /// <returns></returns>
 public static T GetSection <T>(string section) where T : class
 {
     return(JsonConfigurationProvider.GetSection <T>(JsonFileName, section));
 }