/// <summary> /// 创建集团 /// </summary> /// <param name="config"></param> /// <returns>配置id</returns> public ResultInfo <int> AddGroup(GroupModel model) { var result = new ResultInfo <int> { Message = "", Result = false, Data = 0 }; try { result.Data = _dao.AddGroup(model); result.Message = "执行成功"; result.Result = true; } catch (Exception ex) { result.Message = ex.ToString(); result.Result = false; LogHelper.LogWriterFromFilter(ex); } return(result); }