9533ca50 by yangjianbin

init

1 parent 07ecca20
......@@ -97,7 +97,26 @@ class Perm extends CI_Controller {
$item4['name'] = $vvvv->name;
$item4['pId'] = $vvv->id;
$arr[] = $item4;
if (!$vvvv->children || empty($vvvv->children)) {
continue;
}
foreach ($vvvv->children as $kkkkk => $vvvvv) {
$item5 = array();
$item5['id'] = $vvvvv->id;
$item5['name'] = $vvvvv->name;
$item5['pId'] = $vvvv->id;
$arr[] = $item5;
if (!$vvvvv->children || empty($vvvvv->children)) {
continue;
}
foreach ($vvvvv->children as $kkkkkk => $vvvvvv) {
$item6 = array();
$item6['id'] = $vvvvvv->id;
$item6['name'] = $vvvvvv->name;
$item6['pId'] = $vvvvv->id;
$arr[] = $item6;
}
}
}
}
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!