33436272 by wang

init

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