You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

66 lines
2.4 KiB

<?php
return [
'permissions' => [
"网站基本权限" => [
'首页(销售数据)' => '/site/index',
'用户注销' => '/site/logout',
'用户登录' => '/site/login',
],
"商品管理" => [
'商品列表' => '/antgoods/goods/index',
'商品新增' => '/antgoods/goods/create',
'商品修改' => '/antgoods/goods/update',
'商品查看' => '/antgoods/goods/view',
],
"商城分类" => [
'列表' => '/antgoods/shop-category/index',
'新增' => '/antgoods/shop-category/create',
'修改' => '/antgoods/shop-category/update',
'查看' => '/antgoods/shop-category/view',
],
"后台分类" => [
'列表' => '/antgoods/category/index',
'新增' => '/antgoods/category/create',
'修改' => '/antgoods/category/update',
'查看' => '/antgoods/category/view',
],
"品牌管理" => [
'列表' => '/antgoods/brand/index',
'新增' => '/antgoods/brand/create',
'修改' => '/antgoods/brand/update',
'查看' => '/antgoods/brand/view',
],
"供应商管理" => [
'列表' => '/antgoods/supplier/index',
'新增' => '/antgoods/supplier/create',
'修改' => '/antgoods/supplier/update',
'查看' => '/antgoods/supplier/view',
],
"属性管理" => [
'列表' => '/antgoods/attribute/index',
'新增' => '/antgoods/attribute/create',
'修改' => '/antgoods/attribute/update',
'查看' => '/antgoods/attribute/view',
]
],
'menus' => [
'商城管理' => [
'icon' => 'fa-store',
'items' => [
['运营数据', '/site',],
['基础配置', '/config'],
],
],
'商品管理' => [
'icon' => 'fa-shopping-bag',
'items' => [
['商城分类', '/antgoods/shop-category'],
['后台分类', '/antgoods/category'],
['品牌管理', '/antgoods/brand'],
['属性管理', '/antgoods/attribute'],
['商品管理', '/antgoods/goods'],
['供应商管理', '/antgoods/supplier'],
],
]
]
];