07ecca20 by yangjianbin

init

1 parent f078816a
......@@ -88,6 +88,17 @@ class Perm extends CI_Controller {
$item3['pId'] = $vv->id;
$arr[] = $item3;
if (!$vvv->children || empty($vvv->children)) {
continue;
}
foreach ($vvv->children as $kkkk => $vvvv) {
$item4 = array();
$item4['id'] = $vvvv->id;
$item4['name'] = $vvvv->name;
$item4['pId'] = $vvv->id;
$arr[] = $item4;
}
}
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!