123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668 |
- <?php
- /**
- * 后台菜单配置
- * 'home' => [
- * 'name' => '首页', // 菜单名称
- * 'icon' => 'icon-home', // 图标 (class)
- * 'index' => 'index/index', // 链接
- * ],
- */
- return [
- 'index' => [
- 'name' => '首页',
- 'icon' => 'icon-home',
- 'index' => 'index/index',
- ],
- 'store' => [
- 'name' => '管理员',
- 'icon' => 'icon-guanliyuan',
- 'index' => 'store.user/index',
- 'submenu' => [
- [
- 'name' => '管理员列表',
- 'index' => 'store.user/index',
- 'uris' => [
- 'store.user/index',
- 'store.user/add',
- 'store.user/edit',
- 'store.user/delete',
- ],
- ],
- [
- 'name' => '角色管理',
- 'index' => 'store.role/index',
- 'uris' => [
- 'store.role/index',
- 'store.role/add',
- 'store.role/edit',
- 'store.role/delete',
- ],
- ],
- ]
- ],
- 'goods' => [
- 'name' => '商品管理',
- 'icon' => 'icon-goods',
- 'index' => 'goods/index',
- 'submenu' => [
- [
- 'name' => '商品列表',
- 'index' => 'goods/index',
- 'uris' => [
- 'goods/index',
- 'goods/add',
- 'goods/edit',
- 'goods/copy'
- ],
- ],
- [
- 'name' => '商品分类',
- 'index' => 'goods.category/index',
- 'uris' => [
- 'goods.category/index',
- 'goods.category/add',
- 'goods.category/edit',
- ],
- ],
- [
- 'name' => '商品评价',
- 'index' => 'goods.comment/index',
- 'uris' => [
- 'goods.comment/index',
- 'goods.comment/detail',
- ],
- ]
- ],
- ],
- 'order' => [
- 'name' => '订单管理',
- 'icon' => 'icon-order',
- 'index' => 'order/all_list',
- 'submenu' => [
- [
- 'name' => '全部订单',
- 'index' => 'order/all_list',
- ],
- [
- 'name' => '待发货',
- 'index' => 'order/delivery_list',
- ],
- [
- 'name' => '待收货',
- 'index' => 'order/receipt_list',
- ],
- [
- 'name' => '待付款',
- 'index' => 'order/pay_list',
- ],
- [
- 'name' => '已完成',
- 'index' => 'order/complete_list',
- ],
- [
- 'name' => '已取消',
- 'index' => 'order/cancel_list',
- ],
- [
- 'name' => '售后管理',
- 'index' => 'order.refund/index',
- 'uris' => [
- 'order.refund/index',
- 'order.refund/detail',
- ]
- ],
- ]
- ],
- 'user' => [
- 'name' => '用户管理',
- 'icon' => 'icon-user',
- 'index' => 'user/index',
- 'submenu' => [
- [
- 'name' => '用户列表',
- 'index' => 'user/index',
- ],
- [
- 'name' => '会员等级',
- 'active' => true,
- 'submenu' => [
- [
- 'name' => '等级管理',
- 'index' => 'user.grade/index',
- 'uris' => [
- 'user.grade/index',
- 'user.grade/add',
- 'user.grade/edit',
- 'user.grade/delete',
- ]
- ],
- ]
- ],
- [
- 'name' => '余额记录',
- 'active' => true,
- 'submenu' => [
- [
- 'name' => '充值记录',
- 'index' => 'user.recharge/order',
- ],
- [
- 'name' => '余额明细',
- 'index' => 'user.balance/log',
- ],
- ]
- ],
- ]
- ],
- 'shop' => [
- 'name' => '门店管理',
- 'icon' => 'icon-shop',
- 'index' => 'shop/index',
- 'submenu' => [
- [
- 'name' => '门店管理',
- 'active' => true,
- 'index' => 'shop/index',
- 'submenu' => [
- [
- 'name' => '门店列表',
- 'index' => 'shop/index',
- 'uris' => [
- 'shop/index',
- 'shop/add',
- 'shop/edit',
- ]
- ],
- [
- 'name' => '店员管理',
- 'index' => 'shop.clerk/index',
- 'uris' => [
- 'shop.clerk/index',
- 'shop.clerk/add',
- 'shop.clerk/edit',
- ]
- ],
- ]
- ],
- [
- 'name' => '订单核销记录',
- 'index' => 'shop.order/index',
- ]
- ]
- ],
- 'content' => [
- 'name' => '内容管理',
- 'icon' => 'icon-wenzhang',
- 'index' => 'content.article/index',
- 'submenu' => [
- [
- 'name' => '文章管理',
- 'active' => true,
- 'submenu' => [
- [
- 'name' => '文章列表',
- 'index' => 'content.article/index',
- 'uris' => [
- 'content.article/index',
- 'content.article/add',
- 'content.article/edit',
- ]
- ],
- [
- 'name' => '文章分类',
- 'index' => 'content.article.category/index',
- 'uris' => [
- 'content.article.category/index',
- 'content.article.category/add',
- 'content.article.category/edit',
- ]
- ],
- ]
- ],
- [
- 'name' => '文件库管理',
- 'submenu' => [
- [
- 'name' => '文件分组',
- 'index' => 'content.files.group/index',
- 'uris' => [
- 'content.files.group/index',
- 'content.files.group/add',
- 'content.files.group/edit',
- ]
- ],
- [
- 'name' => '文件列表',
- 'index' => 'content.files/index'
- ],
- [
- 'name' => '回收站',
- 'index' => 'content.files/recycle',
- ],
- ]
- ],
- ]
- ],
- 'market' => [
- 'name' => '营销管理',
- 'icon' => 'icon-marketing',
- 'index' => 'market.coupon/index',
- 'submenu' => [
- [
- 'name' => '优惠券',
- // 'active' => true,
- 'submenu' => [
- [
- 'name' => '优惠券列表',
- 'index' => 'market.coupon/index',
- 'uris' => [
- 'market.coupon/index',
- 'market.coupon/add',
- 'market.coupon/edit',
- ]
- ],
- [
- 'name' => '领取记录',
- 'index' => 'market.coupon/receive'
- ],
- ]
- ],
- [
- 'name' => '用户充值',
- 'submenu' => [
- [
- 'name' => '充值套餐',
- 'index' => 'market.recharge.plan/index',
- 'uris' => [
- 'market.recharge.plan/index',
- 'market.recharge.plan/add',
- 'market.recharge.plan/edit',
- ]
- ],
- [
- 'name' => '充值设置',
- 'index' => 'market.recharge/setting'
- ],
- ]
- ],
- [
- 'name' => '积分管理',
- 'submenu' => [
- [
- 'name' => '积分设置',
- 'index' => 'market.points/setting'
- ],
- [
- 'name' => '积分明细',
- 'index' => 'market.points/log'
- ],
- ]
- ],
- [
- 'name' => '消息推送',
- 'submenu' => [
- [
- 'name' => '发送消息',
- 'index' => 'market.push/send',
- ],
- [
- 'name' => '活跃用户',
- 'index' => 'market.push/user',
- ],
- // [
- // 'name' => '发送日志',
- // 'index' => 'market.push/log',
- // ],
- ]
- ],
- [
- 'name' => '满额包邮',
- 'index' => 'market.basic/full_free',
- ],
- ],
- ],
- 'statistics' => [
- 'name' => '数据统计',
- 'icon' => 'icon-qushitu',
- 'index' => 'statistics.data/index',
- ],
- 'wxapp' => [
- 'name' => '小程序',
- 'icon' => 'icon-wxapp',
- 'color' => '#36b313',
- 'index' => 'wxapp/setting',
- 'submenu' => [
- [
- 'name' => '小程序设置',
- 'index' => 'wxapp/setting',
- ],
- [
- 'name' => '页面管理',
- 'active' => true,
- 'submenu' => [
- [
- 'name' => '页面设计',
- 'index' => 'wxapp.page/index',
- 'uris' => [
- 'wxapp.page/index',
- 'wxapp.page/add',
- 'wxapp.page/edit',
- ]
- ],
- [
- 'name' => '分类模板',
- 'index' => 'wxapp.page/category'
- ],
- [
- 'name' => '页面链接',
- 'index' => 'wxapp.page/links'
- ]
- ]
- ],
- [
- 'name' => '订阅消息',
- 'index' => 'wxapp.submsg/index',
- 'uris' => [
- 'wxapp.submsg/index',
- ]
- ],
- [
- 'name' => '帮助中心',
- 'index' => 'wxapp.help/index',
- 'uris' => [
- 'wxapp.help/index',
- 'wxapp.help/add',
- 'wxapp.help/edit'
- ]
- ],
- ],
- ],
- 'apps' => [
- 'name' => '应用中心',
- 'icon' => 'icon-application',
- 'is_svg' => true, // 多色图标
- 'index' => 'apps.dealer.apply/index',
- 'submenu' => [
- [
- 'name' => '分销中心',
- 'submenu' => [
- [
- 'name' => '入驻申请',
- 'index' => 'apps.dealer.apply/index',
- ],
- [
- 'name' => '分销商用户',
- 'index' => 'apps.dealer.user/index',
- 'uris' => [
- 'apps.dealer.user/index',
- 'apps.dealer.user/edit',
- 'apps.dealer.user/fans',
- ]
- ],
- [
- 'name' => '分销订单',
- 'index' => 'apps.dealer.order/index',
- ],
- [
- 'name' => '提现申请',
- 'index' => 'apps.dealer.withdraw/index',
- ],
- [
- 'name' => '分销设置',
- 'index' => 'apps.dealer.setting/index',
- ],
- [
- 'name' => '分销海报',
- 'index' => 'apps.dealer.setting/qrcode',
- ],
- ]
- ],
- [
- 'name' => '拼团管理',
- 'submenu' => [
- [
- 'name' => '商品分类',
- 'index' => 'apps.sharing.category/index',
- 'uris' => [
- 'apps.sharing.category/index',
- 'apps.sharing.category/add',
- 'apps.sharing.category/edit',
- ]
- ],
- [
- 'name' => '商品列表',
- 'index' => 'apps.sharing.goods/index',
- 'uris' => [
- 'apps.sharing.goods/index',
- 'apps.sharing.goods/add',
- 'apps.sharing.goods/edit',
- 'apps.sharing.goods/copy',
- 'apps.sharing.goods/copy_master',
- ]
- ],
- [
- 'name' => '拼单管理',
- 'index' => 'apps.sharing.active/index',
- 'uris' => [
- 'apps.sharing.active/index',
- 'apps.sharing.active/users',
- ]
- ],
- [
- 'name' => '订单管理',
- 'index' => 'apps.sharing.order/index',
- 'uris' => [
- 'apps.sharing.order/index',
- 'apps.sharing.order/detail',
- 'apps.sharing.order.operate/batchdelivery'
- ]
- ],
- [
- 'name' => '售后管理',
- 'index' => 'apps.sharing.order.refund/index',
- 'uris' => [
- 'apps.sharing.order.refund/index',
- 'apps.sharing.order.refund/detail',
- ]
- ],
- [
- 'name' => '商品评价',
- 'index' => 'apps.sharing.comment/index',
- 'uris' => [
- 'apps.sharing.comment/index',
- 'apps.sharing.comment/detail',
- ],
- ],
- [
- 'name' => '拼团设置',
- 'index' => 'apps.sharing.setting/index'
- ]
- ]
- ],
- [
- 'name' => '砍价活动',
- 'index' => 'apps.bargain.active/index',
- 'submenu' => [
- [
- 'name' => '活动列表',
- 'index' => 'apps.bargain.active/index',
- 'uris' => [
- 'apps.bargain.active/index',
- 'apps.bargain.active/add',
- 'apps.bargain.active/edit',
- 'apps.bargain.active/delete',
- ],
- ],
- [
- 'name' => '砍价记录',
- 'index' => 'apps.bargain.task/index',
- 'uris' => [
- 'apps.bargain.task/index',
- 'apps.bargain.task/add',
- 'apps.bargain.task/edit',
- 'apps.bargain.task/delete',
- 'apps.bargain.task/help',
- ],
- ],
- [
- 'name' => '砍价设置',
- 'index' => 'apps.bargain.setting/index',
- ]
- ]
- ],
- [
- 'name' => '整点秒杀',
- 'index' => 'apps.sharp.goods/index',
- 'submenu' => [
- [
- 'name' => '秒杀商品',
- 'index' => 'apps.sharp.goods/index',
- 'uris' => [
- 'apps.sharp.goods/index',
- 'apps.sharp.goods/add',
- 'apps.sharp.goods/select',
- 'apps.sharp.goods/edit',
- 'apps.sharp.goods/delete',
- ],
- ],
- [
- 'name' => '活动会场',
- 'index' => 'apps.sharp.active/index',
- 'uris' => [
- 'apps.sharp.active/index',
- 'apps.sharp.active/add',
- 'apps.sharp.active/edit',
- 'apps.sharp.active/state',
- 'apps.sharp.active/delete',
- 'apps.sharp.active_time/index',
- 'apps.sharp.active_time/add',
- 'apps.sharp.active_time/edit',
- 'apps.sharp.active_time/state',
- 'apps.sharp.active_time/delete',
- ],
- ],
- [
- 'name' => '基础设置',
- 'index' => 'apps.sharp.setting/index',
- ]
- ]
- ],
- [
- 'name' => '好物圈',
- 'index' => 'apps.wow.shoping/index',
- 'submenu' => [
- [
- 'name' => '商品收藏',
- 'index' => 'apps.wow.shoping/index',
- ],
- [
- 'name' => '订单信息',
- 'index' => 'apps.wow.order/index',
- ],
- [
- 'name' => '基础设置',
- 'index' => 'apps.wow.setting/index',
- ]
- ]
- ],
- [
- 'name' => '小程序直播',
- 'index' => 'apps.live.room/index',
- 'submenu' => [
- [
- 'name' => '直播间管理',
- 'index' => 'apps.live.room/index',
- ],
- ]
- ],
- ]
- ],
- 'setting' => [
- 'name' => '设置',
- 'icon' => 'icon-setting',
- 'index' => 'setting/store',
- 'submenu' => [
- [
- 'name' => '商城设置',
- 'index' => 'setting/store',
- ],
- [
- 'name' => '交易设置',
- 'index' => 'setting/trade',
- ],
- [
- 'name' => '运费模板',
- 'index' => 'setting.delivery/index',
- 'uris' => [
- 'setting.delivery/index',
- 'setting.delivery/add',
- 'setting.delivery/edit',
- ],
- ],
- [
- 'name' => '物流公司',
- 'index' => 'setting.express/index',
- 'uris' => [
- 'setting.express/index',
- 'setting.express/add',
- 'setting.express/edit',
- ],
- ],
- [
- 'name' => '短信通知',
- 'index' => 'setting/sms'
- ],
- // [
- // 'name' => '模板消息',
- // 'index' => 'setting/tplmsg',
- // 'uris' => [
- // 'setting/tplmsg',
- // 'setting.help/tplmsg'
- //
- // ],
- // ],
- [
- 'name' => '退货地址',
- 'index' => 'setting.address/index',
- 'uris' => [
- 'setting.address/index',
- 'setting.address/add',
- 'setting.address/edit',
- ],
- ],
- [
- 'name' => '上传设置',
- 'index' => 'setting/storage',
- ],
- [
- 'name' => '小票打印机',
- 'submenu' => [
- [
- 'name' => '打印机管理',
- 'index' => 'setting.printer/index',
- 'uris' => [
- 'setting.printer/index',
- 'setting.printer/add',
- 'setting.printer/edit'
- ]
- ],
- [
- 'name' => '打印设置',
- 'index' => 'setting/printer'
- ]
- ]
- ],
- [
- 'name' => '其他',
- 'submenu' => [
- [
- 'name' => '清理缓存',
- 'index' => 'setting.cache/clear'
- ]
- ]
- ]
- ],
- ],
- ];
|