From 40b073f597607adc114c230b7491a486f5f6cb7f Mon Sep 17 00:00:00 2001 From: wangwei01 Date: Fri, 31 May 2019 14:42:10 +0800 Subject: [PATCH] 1 --- webapp/controller/TeamController.class.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webapp/controller/TeamController.class.php b/webapp/controller/TeamController.class.php index d13f74e..24d8e22 100644 --- a/webapp/controller/TeamController.class.php +++ b/webapp/controller/TeamController.class.php @@ -16,7 +16,11 @@ class teamController{ 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_uuid' => $team_uuid,