init
Showing
1 changed file
with
1 additions
and
0 deletions
| ... | @@ -157,6 +157,7 @@ class Perm extends CI_Controller { | ... | @@ -157,6 +157,7 @@ class Perm extends CI_Controller { |
| 157 | { | 157 | { |
| 158 | $res = json_decode(file_get_contents($this->config->item('apiBaseUrl') . 'system/menu/getAllMenu')); | 158 | $res = json_decode(file_get_contents($this->config->item('apiBaseUrl') . 'system/menu/getAllMenu')); |
| 159 | $data = $res->data; | 159 | $data = $res->data; |
| 160 | print_r($data); | ||
| 160 | $arr = array(); | 161 | $arr = array(); |
| 161 | foreach ($data as $k => $v) { | 162 | foreach ($data as $k => $v) { |
| 162 | $item = array(); | 163 | $item = array(); | ... | ... |
-
Please register or sign in to post a comment