dcc0d19f by wang

init

1 parent e0227f0d
......@@ -156,7 +156,7 @@ 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'));
$res = json_decode(file_get_contents($this->config->item('apiBaseUrl') . 'system/menu/getAllMenuTree'));
// var_dump($res->data);
// exit;
$data = $res->data;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!