1
This commit is contained in:
parent
0d746e5c41
commit
9419854775
@ -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)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user