diff --git a/webapp/controller/MatchController.class.php b/webapp/controller/MatchController.class.php new file mode 100644 index 00000000..4d49e12f --- /dev/null +++ b/webapp/controller/MatchController.class.php @@ -0,0 +1,42 @@ +_getRedis($teamUuid); + $teamDb = $this->readTeamDb($r, $teamUuid); + if (empty($teamDb)) { + $this->_rspErr(1, 'The team has been disbanded'); + return; + } + $r->pexpire(TEAMID_KEY . $teamUuid, 1000*600); + $this->_rspData(array( + 'team_info' => $teamDb + )); + } + +}