9d074124 by wang

init

1 parent cfee78df
......@@ -170,10 +170,11 @@ class Perm extends CI_Controller {
$item['name'] = $v->name;
$item['pId'] = 0;
$item['open'] = true;
var_dump($item);exit;
if (!$v->children || empty($v->children)) {
continue;
}
var_dump($item);exit;
$arr[] = $item;
// foreach ($v->children as $kk => $vv) {
// $item2 = array();
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!