5e9a6c4e by wang

init

1 parent 4bb9db0d
......@@ -157,8 +157,9 @@ class Perm extends CI_Controller {
{
// echo $this->config->item('apiBaseUrl') . 'system/menu/getAllMenu';
$res = json_decode(file_get_contents($this->config->item('apiBaseUrl') . 'system/menu/getAllMenu'));
var_dump($res);
$data = $res->data;
// print_r($data);
var_dump($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!