This commit is contained in:
aozhiwei 2023-12-26 14:40:24 +08:00
parent 0d746e5c41
commit 9419854775

View File

@ -46,7 +46,9 @@ class MatchController extends BaseAuthedController {
$r->set(MATCH_CURRENT_TEAM_KEY, json_encode($currMatchDb)); $r->set(MATCH_CURRENT_TEAM_KEY, json_encode($currMatchDb));
$this->refreshKeyExpire($r, MATCH_CURRENT_TEAM_KEY, 1000*600); $this->refreshKeyExpire($r, MATCH_CURRENT_TEAM_KEY, 1000*600);
} else { } else {
if ($currMatchDb['current_team'] != $teamUuid) {
$this->matchOk($r, $teamUuid, $currMatchDb);
}
} }
} }
$this->_rspData(array( $this->_rspData(array(
@ -113,4 +115,9 @@ class MatchController extends BaseAuthedController {
$r->pexpire($key, $time); $r->pexpire($key, $time);
} }
private function matchOk($r, $teamUuid, $currMatchDb)
{
}
} }