1
This commit is contained in:
parent
f0c46fa934
commit
8fdf13c014
@ -18,7 +18,6 @@ class Match(object):
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
['info', _common.MatchInfo(), '匹配信息'],
|
||||
['join_msg', _common.SpecJoin(), '匹配成功后改字段才有意义,传给CMJoin里的参数(team_uuid、payload)'],
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -1568,6 +1568,7 @@ class MatchInfo(object):
|
||||
self.fields = [
|
||||
['state',0,'状态 0:匹配中 1:匹配成功'],
|
||||
['!team_list', MatchTeam(), '队伍列表(客户端自行判断所属哪个队伍)'],
|
||||
['join_msg', SpecJoin(), '匹配成功后改字段才有意义,传给CMJoin里的参数(team_uuid、payload)'],
|
||||
]
|
||||
|
||||
class SpecJoin(object):
|
||||
|
@ -348,6 +348,7 @@ class BattleController extends BaseAuthedController {
|
||||
$customData = json_decode($customData, true);
|
||||
}
|
||||
|
||||
error_log(json_encode($customData));
|
||||
$zoneId = $customData['zone_id'];
|
||||
$nodeId = $customData['node_id'];
|
||||
$roomUuid = $customData['room_uuid'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user