/// <summary> /// 获取配置节点的值 /// </summary> /// <param name="nodePath"></param> /// <returns></returns> public string GetConfigValue(string nodePath) { if (_itemWatcher == null) { throw new Exception("请先执行InitClient方法后才能调用"); } return(_itemWatcher.GetConfigValue(nodePath)); }