cfee78df by wang

init

1 parent 9d1036d6
...@@ -164,7 +164,7 @@ class Perm extends CI_Controller { ...@@ -164,7 +164,7 @@ class Perm extends CI_Controller {
164 $arr = array(); 164 $arr = array();
165 165
166 foreach ($data as $k => $v) { 166 foreach ($data as $k => $v) {
167 var_dump($v);exit; 167
168 $item = array(); 168 $item = array();
169 $item['id'] = $v->id; 169 $item['id'] = $v->id;
170 $item['name'] = $v->name; 170 $item['name'] = $v->name;
...@@ -173,7 +173,7 @@ class Perm extends CI_Controller { ...@@ -173,7 +173,7 @@ class Perm extends CI_Controller {
173 if (!$v->children || empty($v->children)) { 173 if (!$v->children || empty($v->children)) {
174 continue; 174 continue;
175 } 175 }
176 176 var_dump($item);exit;
177 $arr[] = $item; 177 $arr[] = $item;
178 // foreach ($v->children as $kk => $vv) { 178 // foreach ($v->children as $kk => $vv) {
179 // $item2 = array(); 179 // $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!