1
This commit is contained in:
parent
21587f7c37
commit
8bd3b443ec
@ -32,6 +32,9 @@ class MatchController extends BaseAuthedController {
|
|||||||
$this->_rspErr(1, 'The team has been disbanded');
|
$this->_rspErr(1, 'The team has been disbanded');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
$matchInfo = array(
|
||||||
|
|
||||||
|
);
|
||||||
$matchOkDb = $this->readMatchOk($r, $teamUuid);
|
$matchOkDb = $this->readMatchOk($r, $teamUuid);
|
||||||
if ($matchOkDb) {
|
if ($matchOkDb) {
|
||||||
$this->refreshKeyExpire($r, MATCH_OK_KEY . $teamUuid, 1000*600);
|
$this->refreshKeyExpire($r, MATCH_OK_KEY . $teamUuid, 1000*600);
|
||||||
@ -52,9 +55,7 @@ class MatchController extends BaseAuthedController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->_rspData(array(
|
$this->_rspData($matchInfo);
|
||||||
'team_info' => $teamDb
|
|
||||||
));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function cancel()
|
public function cancel()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user