| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- <?php
- $common = file_exists(__DIR__ . '/common.php') ? require __DIR__ . '/common.php' : [];
- $backend = [
- // ----------------------- 菜单配置 ----------------------- //
- 'config' => [
- // 菜单配置
- 'menu' => [
- 'location' => 'default', // default:系统顶部菜单;addons:应用中心菜单
- 'icon' => 'fa fa-puzzle-piece',
- ],
- // 子模块配置
- 'modules' => [
- ],
- ],
- // ----------------------- 快捷入口 ----------------------- //
- 'cover' => [
- ],
- // ----------------------- 菜单配置 ----------------------- //
- 'menu' => [
- [
- 'title' => '积分列表',
- 'route' => 'default/index',
- 'icon' => '',
- 'params' => [
- ],
- 'child' => [
- ],
- ],
- [
- 'title' => '积分明细',
- 'route' => 'score-log/index',
- 'icon' => '',
- 'params' => [
- ],
- 'child' => [
- ],
- ],
- [
- 'title' => '商品列表',
- 'route' => 'goods/index',
- 'icon' => '',
- 'params' => [
- ],
- 'child' => [
- ],
- ],
- [
- 'title' => '基础配置',
- 'route' => 'setting/index',
- 'icon' => '',
- 'params' => [
- ],
- 'child' => [
- ],
- ],
- ],
- // ----------------------- 权限配置 ----------------------- //
- 'authItem' => [
- [
- 'title' => '积分拓客',
- 'name' => '',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'ScoreExpansion',
- 'child'=>[
- [
- 'title' => '积分列表',
- 'name' => 'default/index',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'ScoreExpansion',
- 'child'=>[
- [
- 'title' => '数据',
- 'name' => 'user-grab/index',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'ScoreExpansion',
- ],
- [
- 'title' => '添加活动/编辑',
- 'name' => 'default/edit',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'ScoreExpansion',
- ],
- [
- 'title' => '失效/启用',
- 'name' => 'default/del-or-enable',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'ScoreExpansion',
- ],
- ],
- ],
- [
- 'title' => '积分明细',
- 'name' => 'score-log/index',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'ScoreExpansion',
- 'child'=>[
- ],
- ],
- [
- 'title' => '基础设置',
- 'name' => 'setting/index',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'ScoreExpansion',
- 'child'=>[
- ],
- ],
- ]
- ]
- ],
- ];
- return array_merge($common,$backend);
|