using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Configuration; namespace ShadowEditor.Server.Helpers { /// /// 配置管理器 /// public sealed class ConfigHelper { /// /// 是否开启权限 /// public static bool EnableAuthority { get { return ConfigurationManager.AppSettings["EnableAuthority"] == "true"; } } } }