a69b7d92 by yangjianbin

init

1 parent 52c1e993
......@@ -98,6 +98,7 @@ class Perm extends CI_Controller {
$item4['id'] = $vvvv->id;
$item4['name'] = $vvvv->name;
$item4['pId'] = $vvv->id;
$item4['open'] = true;
$arr[] = $item4;
if (!$vvvv->children || empty($vvvv->children)) {
continue;
......@@ -107,6 +108,7 @@ class Perm extends CI_Controller {
$item5['id'] = $vvvvv->id;
$item5['name'] = $vvvvv->name;
$item5['pId'] = $vvvv->id;
$item5['open'] = true;
$arr[] = $item5;
if (!$vvvvv->children || empty($vvvvv->children)) {
continue;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!