mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-02 16:00:40 +00:00
Merge branch 'v5.0.0dev' of https://gitee.com/ZhongBangKeJi/CRMEB into v5.0.0dev
This commit is contained in:
commit
4ac807b820
@ -82,7 +82,7 @@ class SystemRouteServices extends BaseServices
|
||||
public function getTreeList(array $where, string $appName = 'adminapi')
|
||||
{
|
||||
$list = app()->make(SystemRouteCateServices::class)
|
||||
->selectList(['app_name' => $appName], '*', 0, 0, 'add_time desc', [
|
||||
->selectList(['app_name' => $appName], '*', 0, 0, 'id asc', [
|
||||
'children' => function ($query) use ($where) {
|
||||
$query->where('app_name', $where['app_name'])
|
||||
->when('' !== $where['name_like'], function ($q) use ($where) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user