4bb9db0d by wang

init

1 parent f45f0c54
...@@ -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);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!