cfee78df by wang

init

1 parent 9d1036d6
......@@ -164,7 +164,7 @@ class Perm extends CI_Controller {
$arr = array();
foreach ($data as $k => $v) {
var_dump($v);exit;
$item = array();
$item['id'] = $v->id;
$item['name'] = $v->name;
......@@ -173,7 +173,7 @@ class Perm extends CI_Controller {
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!