f45f0c54 by wang

init

1 parent 33436272
......@@ -155,9 +155,10 @@ class Perm extends CI_Controller {
public function menu()
{
echo $this->config->item('apiBaseUrl') . 'system/menu/getAllMenu';
$res = json_decode(file_get_contents($this->config->item('apiBaseUrl') . 'system/menu/getAllMenu'));
$data = $res->data;
print_r($data);
// print_r($data);
$arr = array();
foreach ($data as $k => $v) {
$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!