作者 赵彬吉

update

... ... @@ -26,7 +26,7 @@ class MenuController extends BaseController
{
$map = [];
$sort = ['id' => 'desc'];
$list = $logic->getList($map, $sort, ['id', 'pid', 'title', 'icon', 'type'],0);
$list = $logic->getList($map, $sort, ['id', 'pid', 'title', 'icon', 'type', 'menu_path'],0);
return $this->success(Arr::listToTree($list));
}
... ...