admin - system 内页
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 3s
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 3s
This commit is contained in:
@@ -366,6 +366,18 @@ class System
|
||||
'url' => (string)url('/index/topic/laptop/index')
|
||||
],
|
||||
]
|
||||
],
|
||||
[
|
||||
'id' => 9,
|
||||
'name' => '闪存(SSD)专题',
|
||||
'url' => '',
|
||||
'children' => [
|
||||
[
|
||||
'id' => 101,
|
||||
'name' => '首页',
|
||||
'url' => (string)url('/index/topic/ssd/index')
|
||||
],
|
||||
]
|
||||
]
|
||||
];
|
||||
}
|
||||
@@ -413,7 +425,7 @@ class System
|
||||
break;
|
||||
}
|
||||
if (empty($data)) return [];
|
||||
|
||||
|
||||
return [
|
||||
'id' => $data['id'],
|
||||
'name' => $data['name'],
|
||||
@@ -438,4 +450,4 @@ class System
|
||||
|
||||
return [];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user