1
This commit is contained in:
parent
c473c09df4
commit
34744ce32c
@ -693,6 +693,7 @@ class TeamInfo(object):
|
||||
|
||||
def __init__(self):
|
||||
self.fields = [
|
||||
['map_id', '', '地图id'],
|
||||
['team_uuid', '', '队伍唯一id'],
|
||||
['payload', '', '透传给CMJoin'],
|
||||
['match_mode', 0, '0: 匹配赛模式 1: 排位赛 3: pve'],
|
||||
|
@ -30,6 +30,7 @@ class TeamController extends BaseAuthedController {
|
||||
|
||||
public function createTeam()
|
||||
{
|
||||
$mapId = getReqVal('map_id', 0);
|
||||
$nodeId = getReqVal('node_id', 1);
|
||||
$matchMode = getReqVal('match_mode', 0);
|
||||
$pveInstanceId = getReqVal('pve_instance_id', 0);
|
||||
@ -81,6 +82,7 @@ class TeamController extends BaseAuthedController {
|
||||
$userDto['permission'] = 1;
|
||||
$userDto['createtime'] = $userDb['createtime'];
|
||||
$teamDb = array(
|
||||
'map_id' => $mapId,
|
||||
'team_uuid' => $teamUuid,
|
||||
'state' => 0,
|
||||
'payload' => '',
|
||||
|
Loading…
x
Reference in New Issue
Block a user