1
This commit is contained in:
parent
9eaf78f28f
commit
40b073f597
@ -16,7 +16,11 @@ class teamController{
|
|||||||
|
|
||||||
public function createTeam()
|
public function createTeam()
|
||||||
{
|
{
|
||||||
$team_uuid = md5($_REQUEST['account_id']);
|
$node_id = 1;
|
||||||
|
if (isset($_REQUEST['node_id'])) {
|
||||||
|
$node_id = (int)$_REQUEST['node_id'];
|
||||||
|
}
|
||||||
|
$team_uuid = $node_id . '_' . md5($_REQUEST['account_id']);
|
||||||
|
|
||||||
$team_db = array(
|
$team_db = array(
|
||||||
'team_uuid' => $team_uuid,
|
'team_uuid' => $team_uuid,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user