1
This commit is contained in:
parent
3bbe10dcd7
commit
df57bbdec3
@ -17,7 +17,7 @@ class Match(object):
|
|||||||
],
|
],
|
||||||
'response': [
|
'response': [
|
||||||
_common.RspHead(),
|
_common.RspHead(),
|
||||||
['info', _common.MatchInfo(), '队伍唯一id'],
|
['info', _common.MatchInfo(), '匹配信息'],
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -24,7 +24,7 @@ use models\HeroSkin;
|
|||||||
|
|
||||||
class MatchController extends BaseAuthedController {
|
class MatchController extends BaseAuthedController {
|
||||||
|
|
||||||
public function teamInfo()
|
public function getMatchInfo()
|
||||||
{
|
{
|
||||||
$teamUuid = getReqVal('team_uuid', '');
|
$teamUuid = getReqVal('team_uuid', '');
|
||||||
$r = $this->_getRedis($teamUuid);
|
$r = $this->_getRedis($teamUuid);
|
||||||
@ -39,4 +39,14 @@ class MatchController extends BaseAuthedController {
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function cancel()
|
||||||
|
{
|
||||||
|
$teamUuid = getReqVal('team_uuid', '');
|
||||||
|
$r = $this->_getRedis($teamUuid);
|
||||||
|
$teamDb = $this->readTeamDb($r, $teamUuid);
|
||||||
|
if (!empty($teamDb)) {
|
||||||
|
}
|
||||||
|
$this->_rspOk();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user