6964ed3d by yangjianbin

init

1 parent 9533ca50
......@@ -115,8 +115,19 @@ class Perm extends CI_Controller {
$item6['name'] = $vvvvvv->name;
$item6['pId'] = $vvvvv->id;
$arr[] = $item6;
if (!$vvvvvv->children || empty($vvvvvv->children)) {
continue;
}
foreach ($vvvvvv->children as $k7 => $v7) {
$item7 = array();
$item7['id'] = $v7->id;
$item7['name'] = $v7->name;
$item7['pId'] = $v7->id;
$arr[] = $item7;
}
}
}
}
}
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!