init
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -155,7 +155,7 @@ class Perm extends CI_Controller { | ... | @@ -155,7 +155,7 @@ class Perm extends CI_Controller { |
| 155 | 155 | ||
| 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/getAllMenu')); |
| 160 | $data = $res->data; | 160 | $data = $res->data; |
| 161 | // print_r($data); | 161 | // print_r($data); | ... | ... |
-
Please register or sign in to post a comment