**商户后台菜单配置**
路径:`\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框架,可以去阅读下框架的官方手册 [https://www.kancloud.cn/manual/thinkphp5/118003](https://www.kancloud.cn/manual/thinkphp5/118003) )
<br><br>