e3b6e930 by yangjianbin

init

1 parent 2037a62d
......@@ -124,6 +124,16 @@ class Perm extends CI_Controller {
$item7['name'] = $v7->name;
$item7['pId'] = $vvvvvv->id;
$arr[] = $item7;
if (!$v7->children || empty($v7->children)) {
continue;
}
foreach ($v7->children as $k8 => $v8) {
$item8 = array();
$item8['id'] = $v8->id;
$item8['name'] = $v8->name;
$item8['pId'] = $v7->id;
$arr[] = $item8;
}
}
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!