public async Task <IActionResult> DeleteByIdAsync(string Id) { string openId = GetOpenId(); try { await _teamServices.DeleteByIdAsync(Id, openId); return(DeleteSuccessMsg()); } catch (Exception err) { _logger.Error(typeof(TeamController), "删除团队失败!", new Exception(err.Message)); return(FailedMsg("删除团队失败! " + err.Message)); } }