This commit is contained in:
wangwei01 2019-05-31 14:42:10 +08:00
parent 9eaf78f28f
commit 40b073f597

View File

@ -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,