123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976 |
- <?php
- return [
- [
- 'menu_name' => '商城系统',
- 'menu_key' => 'mall',
- 'menu_short_name' => '商城',
- 'parent_key' => '',
- 'menu_type' => '0',
- 'icon' => '',
- 'api_url' => '',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => '',
- 'sort' => '110',
- 'status' => '1',
- 'is_show' => '1',
- 'children' => [
- [
- 'menu_name' => '概况',
- 'menu_key' => 'mall_index',
- 'menu_short_name' => '概况',
- 'menu_type' => '1',
- 'icon' => 'iconfont-icongaikuang1',
- 'api_url' => 'index',
- 'router_path' => 'mall/index',
- 'view_path' => 'shop/index/index',
- 'methods' => 'get',
- 'sort' => '100',
- 'status' => '1',
- 'is_show' => '1',
- ],
- [
- 'menu_name' => '商品管理',
- 'menu_key' => 'mall_goods',
- 'menu_short_name' => '商品',
- 'menu_type' => '0',
- 'icon' => 'iconfont-iconshangpinguanli',
- 'api_url' => '',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'get',
- 'sort' => '90',
- 'status' => '1',
- 'is_show' => '1',
- 'children' => [
- [
- 'menu_name' => '商品列表',
- 'menu_key' => 'mall_goods_list',
- 'menu_short_name' => '商品列表',
- 'menu_type' => '1',
- 'icon' => 'iconfont-iconshangpinliebiao1',
- 'api_url' => 'goods',
- 'router_path' => 'mall/goods/list',
- 'view_path' => 'shop/goods/list',
- 'methods' => 'get',
- 'sort' => '90',
- 'status' => '1',
- 'is_show' => '1',
- 'children' => [
- [
- 'menu_name' => '商品复制',
- 'menu_key' => 'mall_goods_copy',
- 'menu_short_name' => '商品复制',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/goods/copy/<goods_id>',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '12',
- 'status' => '1',
- 'is_show' => '1',
- ],
- [
- 'menu_name' => '商品恢复',
- 'menu_key' => 'mall_goods_recycle',
- 'menu_short_name' => '商品恢复',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/goods/recycle',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '12',
- 'status' => '1',
- 'is_show' => '1',
- ],
- [
- 'menu_name' => '修改商品排序号',
- 'menu_key' => 'mall_goods_sort_edit',
- 'menu_short_name' => '修改商品排序号',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/goods/sort',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '12',
- 'status' => '1',
- 'is_show' => '1',
- ],
- [
- 'menu_name' => '编辑商品规格列表库存',
- 'menu_key' => 'mall_goods_sku_stock_edit',
- 'menu_short_name' => '编辑商品规格列表库存',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/goods/sku/stock',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '12',
- 'status' => '1',
- 'is_show' => '1',
- ],
- [
- 'menu_name' => '编辑商品规格列表价格',
- 'menu_key' => 'mall_goods_sku_price_edit',
- 'menu_short_name' => '编辑商品规格列表价格',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/goods/sku/price',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '12',
- 'status' => '1',
- 'is_show' => '1',
- ],
- [
- 'menu_name' => '修改商品上下架状态',
- 'menu_key' => 'mall_goods_status_edit',
- 'menu_short_name' => '修改商品上下架状态',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/goods/status',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '12',
- 'status' => '1',
- 'is_show' => '1',
- ],
- ],
- ],
- [
- 'menu_name' => '商品分类',
- 'menu_key' => 'mall_goods_category_list',
- 'menu_short_name' => '商品分类',
- 'menu_type' => '1',
- 'icon' => 'iconfont-iconshangpinfenlei',
- 'api_url' => 'goods/category',
- 'router_path' => 'mall/goods/category',
- 'view_path' => 'shop/goods/category',
- 'methods' => 'get',
- 'sort' => '89',
- 'status' => '1',
- 'is_show' => '1',
- 'children' => [
- [
- 'menu_name' => '删除商品分类',
- 'menu_key' => 'mall_goods_category_del',
- 'menu_short_name' => '删除商品分类',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/goods/category/<id>',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'delete',
- 'sort' => '12',
- 'status' => '1',
- 'is_show' => '1',
- ],
- [
- 'menu_name' => '编辑商品分类',
- 'menu_key' => 'mall_goods_category_edit',
- 'menu_short_name' => '编辑商品分类',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/goods/category/<id>',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '12',
- 'status' => '1',
- 'is_show' => '1',
- ],
- [
- 'menu_name' => '添加商品分类',
- 'menu_key' => 'mall_goods_category_add',
- 'menu_short_name' => '添加商品分类',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/goods/category',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'post',
- 'sort' => '12',
- 'status' => '1',
- 'is_show' => '1',
- ],
- [
- 'menu_name' => '拖拽编辑商品分类',
- 'menu_key' => 'mall_goods_category_update',
- 'menu_short_name' => '拖拽编辑商品分类',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/goods/category/update',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'post',
- 'sort' => '12',
- 'status' => '1',
- 'is_show' => '1',
- ],
- ],
- ],
- [
- 'menu_name' => '商品参数管理',
- 'menu_key' => 'mall_goods_attr_value',
- 'menu_short_name' => '商品参数管理',
- 'menu_type' => '1',
- 'icon' => 'iconfont-iconshangpinfenlei',
- 'api_url' => 'mall/shop/goods/attr',
- 'router_path' => 'mall/goods/attr_edit',
- 'view_path' => 'shop/goods/attr_edit',
- 'methods' => 'get',
- 'sort' => '88',
- 'status' => '1',
- 'is_show' => '0',
- ],
- [
- 'menu_name' => '商品参数',
- 'menu_key' => 'mall_goods_attr_list',
- 'menu_short_name' => '商品参数',
- 'menu_type' => '1',
- 'icon' => 'iconfont-iconshangpincanshu',
- 'api_url' => 'mall/shop/goods/attr',
- 'router_path' => 'mall/goods/attr',
- 'view_path' => 'shop/goods/attr',
- 'methods' => 'get',
- 'sort' => '88',
- 'status' => '1',
- 'is_show' => '1',
- ],
- [
- 'menu_name' => '回收站',
- 'menu_key' => 'mall_goods_recycle_list',
- 'menu_short_name' => '回收站',
- 'menu_type' => '1',
- 'icon' => 'iconfont-iconhuishouzhan',
- 'api_url' => 'goods/recycle',
- 'router_path' => 'mall/goods/recycle',
- 'view_path' => 'shop/goods/recycle',
- 'methods' => 'get',
- 'sort' => '84',
- 'status' => '1',
- 'is_show' => '1',
- ],
- [
- 'menu_name' => '商品编辑',
- 'menu_key' => 'mall_goods_real_edit',
- 'menu_short_name' => '商品编辑',
- 'menu_type' => '1',
- 'icon' => '',
- 'api_url' => 'goods/<id>',
- 'router_path' => 'mall/goods/real_edit',
- 'view_path' => 'shop/goods/real_edit',
- 'methods' => 'put',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- [
- 'menu_name' => '商品添加',
- 'menu_key' => 'mall_goods_virtual_add',
- 'menu_short_name' => '商品添加',
- 'menu_type' => '1',
- 'icon' => '',
- 'api_url' => '',
- 'router_path' => 'mall/goods/virtual_edit',
- 'view_path' => 'shop/goods/virtual_edit',
- 'methods' => 'post',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- [
- 'menu_name' => '商品编辑',
- 'menu_key' => 'mall_goods_virtual_edit',
- 'menu_short_name' => '商品编辑',
- 'menu_type' => '1',
- 'icon' => '',
- 'api_url' => 'goods/<id>',
- 'router_path' => 'mall/goods/virtual_edit',
- 'view_path' => 'shop/goods/virtual_edit',
- 'methods' => 'put',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- [
- 'menu_name' => '商品添加',
- 'menu_key' => 'mall_goods_real_add',
- 'menu_short_name' => '商品添加',
- 'menu_type' => '1',
- 'icon' => '',
- 'api_url' => '',
- 'router_path' => 'mall/goods/real_edit',
- 'view_path' => 'shop/goods/real_edit',
- 'methods' => 'post',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- [
- 'menu_name' => '商品删除',
- 'menu_key' => 'mall_goods_delete',
- 'menu_short_name' => '商品删除',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'goods/<id>',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'delete',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- ],
- ],
- [
- 'menu_name' => '订单管理',
- 'menu_key' => 'mall_order',
- 'menu_short_name' => '订单',
- 'menu_type' => '0',
- 'icon' => 'iconfont-icondingdan1',
- 'api_url' => '',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'get',
- 'sort' => '80',
- 'status' => '1',
- 'is_show' => '1',
- 'children' => [
- [
- 'menu_name' => '订单列表',
- 'menu_key' => 'mall_order_list',
- 'menu_short_name' => '订单列表',
- 'menu_type' => '1',
- 'icon' => 'iconfont-icona-dingdanliebiao',
- 'api_url' => 'order/list',
- 'router_path' => 'mall/order/index',
- 'view_path' => 'shop/order/list',
- 'methods' => 'get',
- 'sort' => '90',
- 'status' => '1',
- 'is_show' => '1',
- 'children' => [
- [
- 'menu_name' => '订单项发货',
- 'menu_key' => 'mall_order_goods_delivery',
- 'menu_short_name' => '订单项发货',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/order/goods/delivery/<id>',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '12',
- 'status' => '1',
- 'is_show' => '1',
- ],
- [
- 'menu_name' => '订单完成',
- 'menu_key' => 'mall_order_shop_finish',
- 'menu_short_name' => '订单完成',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/order/finish/<id>',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '12',
- 'status' => '1',
- 'is_show' => '1',
- ],
- [
- 'menu_name' => '订单发货',
- 'menu_key' => 'mall_order_delivery',
- 'menu_short_name' => '订单发货',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/order/delivery',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '12',
- 'status' => '1',
- 'is_show' => '1',
- ],
- [
- 'menu_name' => '商家留言',
- 'menu_key' => 'mall_order_shop_remark',
- 'menu_short_name' => '商家留言',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/order/shop_remark',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '12',
- 'status' => '1',
- 'is_show' => '1',
- ],
- [
- 'menu_name' => '订单关闭',
- 'menu_key' => 'mall_order_close',
- 'menu_short_name' => '订单关闭',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/order/close/<id>',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '12',
- 'status' => '1',
- 'is_show' => '1',
- ],
- ],
- ],
- [
- 'menu_name' => '退款维权',
- 'menu_key' => 'mall_order_refund',
- 'menu_short_name' => '退款维权',
- 'menu_type' => '1',
- 'icon' => 'iconfont-icondingdanweiquan',
- 'api_url' => '',
- 'router_path' => 'mall/order/refund',
- 'view_path' => 'shop/order/refund',
- 'methods' => 'get',
- 'sort' => '89',
- 'status' => '1',
- 'is_show' => '1',
- 'children' => [
- [
- 'menu_name' => '订单维权审核是否确认收货',
- 'menu_key' => 'mall_order_refund_delivery',
- 'menu_short_name' => '订单维权审核是否确认收货',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/order/refund/delivery/<order_refund_no>',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '12',
- 'status' => '1',
- 'is_show' => '1',
- ],
- [
- 'menu_name' => '订单维权审核',
- 'menu_key' => 'mall_order_refund_audit',
- 'menu_short_name' => '订单维权审核',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/order/refund/audit/<order_refund_no>',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '12',
- 'status' => '1',
- 'is_show' => '1',
- ],
- ],
- ],
- [
- 'menu_name' => '批量发货',
- 'menu_key' => 'mall_order_batch_delivery',
- 'menu_short_name' => '批量发货',
- 'menu_type' => '1',
- 'icon' => 'iconfont icona-dingdanliebiao',
- 'api_url' => '',
- 'router_path' => 'mall/order/batch/delivery',
- 'view_path' => 'shop/order/batch_delivery',
- 'methods' => 'get',
- 'sort' => '88',
- 'status' => '1',
- 'is_show' => '1',
- ],
- [
- 'menu_name' => '商品评价',
- 'menu_key' => 'mall_goods_evaluate',
- 'menu_short_name' => '商品评价',
- 'menu_type' => '1',
- 'icon' => 'iconfont-iconshangpinpinglun',
- 'api_url' => 'goods/evaluate',
- 'router_path' => 'mall/order/evaluate',
- 'view_path' => 'shop/goods/evaluate',
- 'methods' => 'get',
- 'sort' => '87',
- 'status' => '1',
- 'is_show' => '1',
- 'children' => [
- [
- 'menu_name' => '删除评价',
- 'menu_key' => 'mall_goods_evaluate_del',
- 'menu_short_name' => '删除评价',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/goods/evaluate/<id>',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'delete',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- [
- 'menu_name' => '评价回复',
- 'menu_key' => 'mall_goods_evaluate_reply',
- 'menu_short_name' => '评价回复',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/goods/evaluate/reply/<id>',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- [
- 'menu_name' => '评价通过',
- 'menu_key' => 'mall_goods_evaluate_adopt',
- 'menu_short_name' => '评价通过',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/goods/evaluate/adopt/<id>',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- [
- 'menu_name' => '添加评价',
- 'menu_key' => 'mall_goods_evaluate_add',
- 'menu_short_name' => '添加评价',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/goods/evaluate',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'post',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- [
- 'menu_name' => '评价拒绝',
- 'menu_key' => 'mall_goods_evaluate_refuse',
- 'menu_short_name' => '评价拒绝',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/goods/evaluate/refuse/<id>',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- [
- 'menu_name' => '评价置顶',
- 'menu_key' => 'mall_goods_evaluate_topping',
- 'menu_short_name' => '评价置顶',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/goods/evaluate/topping/<id>',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- [
- 'menu_name' => '评价取消置顶',
- 'menu_key' => 'mall_goods_evaluate_cancel_topping',
- 'menu_short_name' => '评价取消置顶',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/goods/evaluate/cancel_topping/<id>',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- ],
- ],
- [
- 'menu_name' => '商家地址库',
- 'menu_key' => 'mall_address',
- 'menu_short_name' => '商家地址库',
- 'menu_type' => '1',
- 'icon' => 'iconfont-iconshangjiadizhiku',
- 'api_url' => '',
- 'router_path' => 'mall/order/address',
- 'view_path' => 'shop/address/list',
- 'methods' => 'get',
- 'sort' => '85',
- 'status' => '1',
- 'is_show' => '1',
- 'children' => [
- [
- 'menu_name' => '删除地址库',
- 'menu_key' => 'mall_address_delete',
- 'menu_short_name' => '删除地址库',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/shop_address/<id>',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'delete',
- 'sort' => '12',
- 'status' => '1',
- 'is_show' => '1',
- ],
- ],
- ],
- [
- 'menu_name' => '运费模板',
- 'menu_key' => 'mall_config_delivery_shipping_template',
- 'menu_short_name' => '运费模板',
- 'menu_type' => '1',
- 'icon' => '',
- 'api_url' => '',
- 'router_path' => 'mall/order/shipping/template',
- 'view_path' => 'shop/delivery/template',
- 'methods' => 'get',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '1',
- ],
- [
- 'menu_name' => '维权详情',
- 'menu_key' => 'mall_order_refund_detail',
- 'menu_short_name' => '维权详情',
- 'menu_type' => '1',
- 'icon' => 'iconfont-iconshangpinguanli',
- 'api_url' => '',
- 'router_path' => 'mall/order/refund/detail',
- 'view_path' => 'shop/order/refund_detail',
- 'methods' => 'get',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- [
- 'menu_name' => '订单详情',
- 'menu_key' => 'mall_order_detail',
- 'menu_short_name' => '订单详情',
- 'menu_type' => '1',
- 'icon' => 'iconfont-iconshangpinguanli',
- 'api_url' => 'order/detail<id>',
- 'router_path' => 'mall/order/detail',
- 'view_path' => 'shop/order/detail',
- 'methods' => 'get',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- [
- 'menu_name' => '运费模版添加/编辑',
- 'menu_key' => 'mall_config_delivery_shipping_template_edit',
- 'menu_short_name' => '运费模版添加/编辑',
- 'menu_type' => '1',
- 'icon' => '',
- 'api_url' => '',
- 'router_path' => 'mall/order/shipping/template_edit',
- 'view_path' => 'shop/delivery/template_edit',
- 'methods' => 'get',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- [
- 'menu_name' => '添加/编辑地址库',
- 'menu_key' => 'mall_address_add_edit',
- 'menu_short_name' => '添加/编辑地址库',
- 'menu_type' => '1',
- 'icon' => '',
- 'api_url' => '',
- 'router_path' => 'mall/order/address/edit',
- 'view_path' => 'shop/address/edit',
- 'methods' => 'get',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- 'children' => [
- [
- 'menu_name' => '编辑地址库',
- 'menu_key' => 'mall_address_edit',
- 'menu_short_name' => '编辑地址库',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/shop_address/<id>',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '12',
- 'status' => '1',
- 'is_show' => '1',
- ],
- [
- 'menu_name' => '添加地址库',
- 'menu_key' => 'mall_address_add',
- 'menu_short_name' => '添加地址库',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/shop_address',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'post',
- 'sort' => '12',
- 'status' => '1',
- 'is_show' => '1',
- ],
- ],
- ],
- [
- 'menu_name' => '订单设置',
- 'menu_key' => 'mall_order_setting',
- 'menu_short_name' => '订单设置',
- 'menu_type' => '1',
- 'icon' => '',
- 'api_url' => 'order/setting',
- 'router_path' => 'shop/order/setting',
- 'view_path' => 'shop/order/config',
- 'methods' => 'get',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '1',
- ],
- ],
- ],
- ],
- ],
- [
- 'menu_name' => '优惠券',
- 'menu_key' => 'mall_goods_coupon_list',
- 'menu_short_name' => '优惠券',
- 'parent_key' => 'mall_goods_marketing',
- 'menu_type' => '1',
- 'icon' => 'iconfont-iconyouhuiquan',
- 'api_url' => 'mall/shop/goods/coupon',
- 'router_path' => 'mall/marketing/coupon/list',
- 'view_path' => 'shop/marketing/coupon/list',
- 'methods' => 'get',
- 'sort' => '90',
- 'status' => '1',
- 'is_show' => '1',
- ],
- [
- 'menu_name' => '限时折扣',
- 'menu_key' => 'shop_goods_discount',
- 'menu_short_name' => '限时折扣',
- 'parent_key' => 'mall_goods_marketing',
- 'menu_type' => '1',
- 'icon' => 'iconfont icondiscount',
- 'api_url' => '',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'get',
- 'sort' => '89',
- 'status' => '1',
- 'is_show' => '1',
- 'children' => [
- [
- 'menu_name' => '活动列表',
- 'menu_key' => 'shop_goods_discount_list',
- 'menu_short_name' => '活动列表',
- 'menu_type' => '1',
- 'icon' => 'iconfont icondiscount',
- 'api_url' => 'active/discount',
- 'router_path' => 'mall/marketing/discount/list',
- 'view_path' => 'shop/marketing/discount/list',
- 'methods' => 'get',
- 'sort' => '90',
- 'status' => '1',
- 'is_show' => '1',
- 'children' => [
- [
- 'menu_name' => '活动删除',
- 'menu_key' => 'shop_goods_discount_delete',
- 'menu_short_name' => '活动删除',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'active/discount/<active_id>',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'delete',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- [
- 'menu_name' => '活动关闭',
- 'menu_key' => 'shop_goods_discount_close',
- 'menu_short_name' => '活动关闭',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'active/discount/close/<active_id>',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- ],
- ],
- [
- 'menu_name' => '活动详情',
- 'menu_key' => 'shop_goods_discount_detail',
- 'menu_short_name' => '活动详情',
- 'menu_type' => '1',
- 'icon' => '',
- 'api_url' => 'active/discount/<active_id>',
- 'router_path' => 'mall/marketing/discount/detail',
- 'view_path' => 'shop/marketing/discount/detail',
- 'methods' => 'get',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- [
- 'menu_name' => '编辑限时折扣',
- 'menu_key' => 'shop_goods_discount_edit',
- 'menu_short_name' => '编辑限时折扣',
- 'menu_type' => '1',
- 'icon' => '',
- 'api_url' => 'active/discount/<active_id>',
- 'router_path' => 'mall/marketing/discount/edit',
- 'view_path' => 'shop/marketing/discount/edit',
- 'methods' => 'put',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- [
- 'menu_name' => '添加限时折扣',
- 'menu_key' => 'shop_goods_discount_add',
- 'menu_short_name' => '添加限时折扣',
- 'menu_type' => '1',
- 'icon' => '',
- 'api_url' => 'active/discount',
- 'router_path' => 'mall/marketing/discount/add',
- 'view_path' => 'shop/marketing/discount/add',
- 'methods' => 'post',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- ],
- ],
- [
- 'menu_name' => '发票管理',
- 'menu_key' => 'shop_invoice',
- 'menu_short_name' => '发票管理',
- 'parent_key' => 'shop_site_account',
- 'menu_type' => '1',
- 'icon' => 'iconfont iconfapiaoguanli',
- 'api_url' => '',
- 'router_path' => 'shop/order/invoice',
- 'view_path' => 'shop/order/invoice',
- 'methods' => 'get',
- 'sort' => '88',
- 'status' => '1',
- 'is_show' => '1',
- 'children' => [
- [
- 'menu_name' => '开票',
- 'menu_key' => 'shop_invoice_open',
- 'menu_short_name' => '开票',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'invoice/<id>',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'put',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- ],
- ],
- [
- 'menu_name' => '优惠券领取记录',
- 'menu_key' => 'mall_goods_coupon_collection',
- 'menu_short_name' => '优惠券领取记录',
- 'parent_key' => 'mall_goods_marketing',
- 'menu_type' => '1',
- 'icon' => '',
- 'api_url' => '',
- 'router_path' => 'mall/marketing/coupon/collection',
- 'view_path' => 'shop/marketing/coupon/collection',
- 'methods' => 'get',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- [
- 'menu_name' => '营销中心',
- 'menu_key' => 'mall_goods_marketing_index',
- 'menu_short_name' => '营销中心',
- 'parent_key' => 'mall_goods_marketing',
- 'menu_type' => '1',
- 'icon' => 'iconfont-iconyingxiaozhongxin',
- 'api_url' => '',
- 'router_path' => 'mall/marketing/index',
- 'view_path' => 'shop/marketing/index',
- 'methods' => 'get',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- [
- 'menu_name' => '优惠券添加',
- 'menu_key' => 'mall_goods_coupon_add',
- 'menu_short_name' => '优惠券添加',
- 'parent_key' => 'mall_goods_marketing',
- 'menu_type' => '1',
- 'icon' => '',
- 'api_url' => 'mall/shop/goods/coupon',
- 'router_path' => 'mall/marketing/coupon/add',
- 'view_path' => 'shop/marketing/coupon/add',
- 'methods' => 'post',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- [
- 'menu_name' => '优惠券编辑',
- 'menu_key' => 'mall_goods_coupon_edit',
- 'menu_short_name' => '优惠券编辑',
- 'parent_key' => 'mall_goods_marketing',
- 'menu_type' => '1',
- 'icon' => '',
- 'api_url' => 'mall/shop/goods/coupon/edit/<id>',
- 'router_path' => 'mall/marketing/coupon/edit',
- 'view_path' => 'shop/marketing/coupon/edit',
- 'methods' => 'put',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- [
- 'menu_name' => '优惠券删除',
- 'menu_key' => 'mall_goods_coupon_delete',
- 'menu_short_name' => '优惠券删除',
- 'parent_key' => 'mall_goods_marketing',
- 'menu_type' => '2',
- 'icon' => '',
- 'api_url' => 'mall/shop/goods/coupon/<id>',
- 'router_path' => '',
- 'view_path' => '',
- 'methods' => 'delete',
- 'sort' => '0',
- 'status' => '1',
- 'is_show' => '0',
- ],
- ];
|