52c1e993 by yangjianbin

init

1 parent e3b6e930
......@@ -77,6 +77,7 @@ class Perm extends CI_Controller {
$item2['id'] = $vv->id;
$item2['name'] = $vv->name;
$item2['pId'] = $v->id;
$item2['open'] = true;
$arr[] = $item2;
if (!$vv->children || empty($vv->children)) {
continue;
......@@ -86,6 +87,7 @@ class Perm extends CI_Controller {
$item3['id'] = $vvv->id;
$item3['name'] = $vvv->name;
$item3['pId'] = $vv->id;
$item3['open'] = true;
$arr[] = $item3;
if (!$vvv->children || empty($vvv->children)) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!