| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604 |
- <?php
- $common = file_exists(__DIR__ . '/common.php') ? require __DIR__ . '/common.php' : [];
- $backend = [
- // ----------------------- 菜单配置 ----------------------- //
- 'config' => [
- // 菜单配置
- 'menu' => [
- 'location' => 'default', // default:系统顶部菜单;addons:应用中心菜单
- 'icon' => 'fa fa-puzzle-piece',
- ],
- // 子模块配置
- 'modules' => [
- // o2o客户端模块
- 'client' => [
- 'class' => 'addons\Store\client\Module',
- ],
- 'coupon' => [
- 'class' => 'addons\Store\addons\Coupon\backend\Module',
- ],
- 'clerk' => [
- 'class' => 'addons\Store\addons\Clerk\backend\Module',
- ],
- 'verification' => [
- 'class' => 'addons\Store\addons\Verification\backend\Module',
- ],
- 'store-boss-agent' => [
- 'class' => 'addons\Store\addons\StoreBossAgent\backend\Module',
- ],
- 'platform-store-clerk' => [
- 'class' => 'addons\Store\addons\PlatformStoreClerk\backend\Module',
- ],
- 'huifu-pay' => [
- 'class' => 'addons\Store\addons\HuifuPay\backend\Module',
- ],
- 'secondary-card' => [
- 'class' => 'addons\Store\addons\SecondaryCard\backend\Module',
- ],
- 'store-associated-user' => [
- 'class' => 'addons\Store\addons\StoreAssociatedUser\backend\Module',
- ],
- 'wuzhou-chain' => [
- 'class' => 'addons\Store\addons\WuzhouChain\backend\Module',
- ],
- 'store-steward' => [
- 'class' => 'addons\Store\addons\StoreSteward\backend\Module',
- ],
- 'number-equity' => [
- 'class' => 'addons\Store\addons\NumberEquity\backend\Module',
- ],
- ],
- ],
- // ----------------------- 快捷入口 ----------------------- //
- 'cover' => [],
- // ----------------------- 菜单配置 ----------------------- //
- 'menu' => [
- [
- 'title' => '数据概况',
- 'route' => 'default/index',
- 'icon' => '',
- 'params' => [],
- 'child' => [],
- ],
- [
- 'title' => '门店装修',
- 'route' => 'diy/index',
- 'icon' => '',
- 'params' => [],
- 'child' => [],
- ],
- [
- 'title' => '门店管理',
- 'route' => 'store/index',
- 'icon' => '',
- 'params' => [],
- 'child' => [],
- ],
- [
- 'title' => '门店分类',
- 'route' => 'store-category/index',
- 'icon' => '',
- 'params' => [],
- 'child' => [],
- ],
- [
- 'title' => '订单管理',
- 'route' => 'store-order/index',
- 'icon' => '',
- 'params' => [],
- 'child' => [],
- ],
- [
- 'title' => '收银台订单',
- 'route' => 'cash/cashier-log',
- 'icon' => '',
- 'params' => [],
- 'child' => [],
- ],
- [
- 'title' => '售后管理',
- 'route' => 'store-order/refund-list',
- 'icon' => '',
- 'params' => [],
- 'child' => [],
- ],
- [
- 'title' => '门店审核',
- 'route' => 'store-audit/index',
- 'icon' => '',
- 'params' => [],
- 'child' => [],
- ],
- [
- 'title' => '商品管理',
- 'route' => 'store-goods/index',
- 'icon' => '',
- 'params' => [],
- 'child' => [],
- ],
- [
- 'title' => '资产管理',
- 'route' => 'store-assets/index',
- 'icon' => '',
- 'params' => [],
- 'child' => [],
- ],
- [
- 'title' => '资产统计',
- 'route' => 'store-statistics/index',
- 'icon' => '',
- 'params' => [],
- 'child' => [],
- ],
- [
- 'title' => '提现审核',
- 'route' => 'store-cashdraw/index',
- 'icon' => '',
- 'params' => [],
- 'child' => [],
- ],
- [
- 'title' => '订单审核',
- 'route' => 'store-commission-check/index',
- 'icon' => '',
- 'params' => [],
- 'child' => [],
- ],
- [
- 'title' => '服务费变动记录',
- 'route' => 'store-setting/store-service-ratio-log',
- 'icon' => '',
- 'params' => [],
- 'child' => [],
- ],
- [
- 'title' => '社区管理',
- 'name' => 'store-community/index',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [
- [
- 'title' => '社区列表',
- 'name' => 'store-community/index',
- 'route' => 'store-community/index',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [],
- ],
- [
- 'title' => '社区设置',
- 'name' => 'store-community/setting',
- 'route' => 'store-community/setting',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [],
- ],
- ],
- ],
- [
- 'title' => '门店财务',
- 'name' => 'store-finance/index',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [
- [
- 'title' => '门店财务数据',
- 'route' => 'store-finance/index',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [],
- ],
- [
- 'title' => '门店财务详情',
- 'route' => 'store-finance/detail',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [],
- ],
- ],
- ],
- [
- 'title' => '基础设置',
- 'route' => 'store-setting/index',
- 'icon' => '',
- 'params' => [],
- 'child' => [],
- ],
- ],
- // ----------------------- 权限配置 ----------------------- //
- 'authItem' => [
- [
- 'title' => 'O2O门店',
- 'name' => '',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [
- [
- 'title' => '概况',
- 'name' => 'default/index',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [],
- ],
- [
- 'title' => '装修',
- 'name' => 'diy/index',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [],
- ],
- [
- 'title' => '门店管理',
- 'name' => 'store/index',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [
- [
- 'title' => '切换门店状态',
- 'name' => 'store/switch-status',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '地区信息列表',
- 'name' => 'store/get-regions',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '获取会员列表',
- 'name' => 'store/get-users',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '门店添加/编辑',
- 'name' => 'store/storage',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '门店详情',
- 'name' => 'store/detail',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '删除',
- 'name' => 'store/del',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- ],
- ],
- [
- 'title' => '门店分类',
- 'name' => 'store-category/index',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [
- [
- 'title' => '门店分类排序编辑',
- 'name' => 'store-category/sort-edit',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '门店分类添加/编辑',
- 'name' => 'store-category/storage',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '删除门店分类',
- 'name' => 'store-category/delete',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- ],
- ],
- [
- 'title' => '订单管理',
- 'name' => 'store-order/index',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [
- [
- 'title' => '订单详情',
- 'name' => 'store-order/detail',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '修改订单价格',
- 'name' => 'store-order/change-price',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '订单支付',
- 'name' => 'store-order/pay',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '关闭订单',
- 'name' => 'store-order/close',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '删除订单',
- 'name' => 'store-order/del',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '修改订单备注',
- 'name' => 'store-order/remark',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '修改订单收货地址',
- 'name' => 'store-order/change-address',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '订单发货',
- 'name' => 'store-order/shipping',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '订单收货',
- 'name' => 'store-order/take-delivery',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '订单操作日志',
- 'name' => 'store-order/order-action',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '订单完成',
- 'name' => 'store-order/sales-order',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '分润明细',
- 'name' => 'store-order/commission-and-score-list',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '售后订单列表',
- 'name' => 'store-order/refund-list',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- ],
- ],
- [
- 'title' => '收银台订单',
- 'name' => 'cash/cashier-log',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [
- [
- 'title' => '分润明细',
- 'name' => 'cash/commission-and-score-list',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- ],
- ],
- [
- 'title' => '售后管理',
- 'name' => 'store-order/refund-list',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [
- [
- 'title' => '售后订单详情',
- 'name' => 'store-order/refund-detail',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- ],
- ],
- [
- 'title' => '门店审核',
- 'name' => 'store-audit/index',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [
- [
- 'title' => '门店审核',
- 'name' => 'store-audit/audit',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- ],
- ],
- [
- 'title' => '商品管理',
- 'name' => 'store-goods/index',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [
- [
- 'title' => '商品编辑',
- 'name' => 'store-goods/edit',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '获取商品模式',
- 'name' => 'store-goods/goods-model',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '商品审核操作',
- 'name' => 'store-goods/audit',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '获取商品分类树形目录',
- 'name' => 'store-goods/tree',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- [
- 'title' => '批量下架商品',
- 'name' => 'store-goods/mutiple-off',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- ],
- ],
- [
- 'title' => '资产管理',
- 'name' => 'store-assets/index',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [],
- ],
- [
- 'title' => '提现审核',
- 'name' => 'store-cashdraw/index',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [
- [
- 'title' => '门店提现审核操作',
- 'name' => 'store-cashdraw/audit',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- ],
- ],
- [
- 'title' => '订单审核',
- 'name' => 'store-commission-check/index',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [
- [
- 'title' => '审核操作',
- 'name' => 'store-commission-check/check',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- ],
- ],
- ],
- [
- 'title' => '社区管理',
- 'name' => 'store-community/index',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [
- [
- 'title' => '社区列表',
- 'name' => 'store-community/index',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [],
- ],
- [
- 'title' => '社区设置',
- 'name' => 'store-community/setting',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [],
- ],
- ],
- ],
- [
- 'title' => '基础设置',
- 'name' => 'store-setting/index',
- 'app_id' => 'backend',
- 'is_addon' => 1,
- 'addons_name' => 'Store',
- 'child' => [],
- ],
- ],
- ]
- ],
- ];
- return array_merge($common, $backend);
|