This commit is contained in:
aozhiwei 2023-12-26 15:55:46 +08:00
parent 1d891b05f7
commit 91a6b5c15d

View File

@ -67,6 +67,11 @@ class MatchController extends BaseAuthedController {
$r = $this->_getRedis($teamUuid);
$teamDb = $this->readTeamDb($r, $teamUuid);
if (!empty($teamDb)) {
$r->del(MATCH_OK_KEY . $teamUuid);
$matchOkDb = $this->readMatchOk($r, $teamUuid);
if ($matchOkDb) {
$r->del(MATCH_OK_KEY . $matchOkDb['target_team']);
}
}
$this->_rspOk();
}