public async Task <IActionResult> GetTeamListAsync(int pageIndex, int pageSize) { string openId = GetOpenId(); try { var data = await _teamServices.GetTeamListAsync(pageIndex, pageSize, openId); return(Ok(data)); } catch (Exception err) { _logger.Error(typeof(TeamController), "获取团队列表失败!", new Exception(err.Message)); return(FailedMsg("获取团队列表失败! " + err.Message)); } }