**商戶后臺菜單配置**
路徑:`\bestshop-php\source\application\store\extra\menus.php`
<br>
```
????'newsetting'?=>?[
????????'name'?=>?'新設置',
????????'icon'?=>?'icon-setting',
????????'index'?=>?'setting/store',
????????'submenu'?=>?[
????????????[
????????????????'name'?=>?'新商城設置',
????????????????'index'?=>?'setting/store',
????????????],
????????????[
????????????????'name'?=>?'新其他',
????????????????'submenu'?=>?[
????????????????????[
????????????????????????'name'?=>?'清理緩存',
????????????????????????'index'?=>?'setting.cache/clear'
????????????????????]
????????????????]
????????????]
????????],
????],
```
<br>
**超管后臺菜單配置(商業版才有此后臺)**
路徑:`\bestshop-php\source\application\admin\extra\menus.php`
<br>
```
'newsetting' => [
'name' => '新系統設置',
'icon' => 'icon-shezhi',
'submenu' => [
[
'name' => '新清理緩存',
'index' => 'setting.cache/clear'
],
[
'name' => '新環境檢測',
'index' => 'setting.science/index'
],
],
],
```
<br>
>[info] 以上是添加跳轉的入口,如果還要實現跳轉的頁面,需要在`controller`和`view`里面添加即可。(不懂的表示還沒入門Thinkphp框架,可以去閱讀下框架的官方手冊 [http://www.hmoore.net/manual/thinkphp5/118003](http://www.hmoore.net/manual/thinkphp5/118003) )
<br><br>