public async Task <IActionResult> GetRoleList(string teamId) { try { var data = await _roleServices.GetRoleList(teamId); return(Ok(data)); } catch (Exception err) { _logger.Error(typeof(SettingController), "获取角色列表失败!", new Exception(err.Message)); return(FailedMsg("获取角色列表失败!" + err.Message)); } }