init
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -156,7 +156,7 @@ class Perm extends CI_Controller { | ... | @@ -156,7 +156,7 @@ class Perm extends CI_Controller { |
| 156 | public function menu() | 156 | public function menu() |
| 157 | { | 157 | { |
| 158 | // echo $this->config->item('apiBaseUrl') . 'system/menu/getAllMenu'; | 158 | // echo $this->config->item('apiBaseUrl') . 'system/menu/getAllMenu'; |
| 159 | $res = json_decode(file_get_contents($this->config->item('apiBaseUrl') . 'system/menu/getAllMenu')); | 159 | $res = json_decode(file_get_contents($this->config->item('apiBaseUrl') . 'system/menu/getAllMenuTree')); |
| 160 | // var_dump($res->data); | 160 | // var_dump($res->data); |
| 161 | // exit; | 161 | // exit; |
| 162 | $data = $res->data; | 162 | $data = $res->data; | ... | ... |
-
Please register or sign in to post a comment