|
|
@ -24,7 +24,7 @@ class MenuService extends BaseService |
|
|
public function getMenuList($params = []) |
|
|
public function getMenuList($params = []) |
|
|
{ |
|
|
{ |
|
|
$where = []; |
|
|
$where = []; |
|
|
$list = $this->dao->getList($where); |
|
|
|
|
|
|
|
|
$list = $this->dao->getList($where, '*', 0, 0, 'sort asc'); |
|
|
return TreeUtils::toTree($list); |
|
|
return TreeUtils::toTree($list); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|