/// <summary>
        /// 获取全局配置
        /// </summary>
        /// <param name="code">全局配置编码</param>
        /// <returns></returns>
        public static AtomConfigModel Get(string code)
        {
            var res = AtomConfigCenterManage.Get(code);

            if (res == null)
            {
                return(null);
            }
            return(res);
        }
 public string this[string code]
 {
     get
     {
         var res = AtomConfigCenterManage.Get(code);
         if (res == null)
         {
             return(string.Empty);
         }
         return(res.ConfigValue);
     }
 }