erp/resources/lang/zh-CN/permission.php

240 lines
5.0 KiB
PHP
Raw Normal View History

2022-08-04 18:13:00 +08:00
<?php
return [
// 商品管理
'GOODS_MANAGE' => [
'id' => 1,
'name' => '商品管理',
'parent_id' => 0,
],
'GOODS_LIST' => [
'id' => 2,
'name' => '商品列表',
'parent_id' => 1,
],
'goods.index' => [
'id' => 20,
'name' => '商品列表',
'parent_id' => 2,
],
'goods.store' => [
'id' => 21,
'name' => '新增商品',
'parent_id' => 2,
],
'goods_skus.index' => [
'id' => 22,
'name' => '规格列表',
'parent_id' => 2,
],
'goods_skus.store' => [
'id' => 23,
'name' => '新增规格',
'parent_id' => 2,
],
'goods_skus.show' => [
'id' => 24,
'name' => '规格查看',
'parent_id' => 2,
],
2022-08-09 20:05:19 +08:00
'goods_skus.update' => [
2022-08-04 18:13:00 +08:00
'id' => 25,
'name' => '规格更新',
'parent_id' => 2,
],
'goods_sku.batch_update' => [
'id' => 26,
'name' => '上新/盘点',
'parent_id' => 2,
],
'goods_sku.single_update' => [
'id' => 27,
'name' => '字段更新',
'parent_id' => 2,
],
'goods_sku.orders_num' => [
'id' => 28,
'name' => '店铺订单',
'parent_id' => 2,
],
2022-08-04 18:13:00 +08:00
'GOODS_TYPE' => [
'id' => 3,
'name' => '商品种类',
'parent_id' => 1,
],
'goods_types.index' => [
'id' => 30,
'name' => '列表',
'parent_id' => 3,
],
'goods_types.store' => [
'id' => 31,
'name' => '新增',
'parent_id' => 3,
],
'goods_types.show' => [
'id' => 32,
'name' => '查看',
'parent_id' => 3,
],
'goods_types.update' => [
'id' => 33,
'name' => '更新',
'parent_id' => 3,
],
'goods_types.destroy' => [
'id' => 34,
'name' => '删除',
'parent_id' => 3,
],
'GOODS_BRAND' => [
'id' => 4,
'name' => '商品品牌',
'parent_id' => 1,
],
'goods_brands.index' => [
'id' => 40,
'name' => '列表',
'parent_id' => 4,
],
'goods_brands.store' => [
'id' => 41,
'name' => '新增',
'parent_id' => 4,
],
'goods_brands.show' => [
'id' => 42,
'name' => '查看',
'parent_id' => 4,
],
'goods_brands.update' => [
'id' => 43,
'name' => '更新',
'parent_id' => 4,
],
'goods_brands.destroy' => [
'id' => 44,
'name' => '删除',
'parent_id' => 4,
],
// 店铺管理
'SHOP_MANAGE' => [
'id' => 5,
'name' => '店铺管理',
'parent_id' => 0,
],
'shops.index' => [
'id' => 50,
'name' => '列表',
'parent_id' => 5,
],
'shops.store' => [
'id' => 51,
'name' => '新增',
'parent_id' => 5,
],
'shops.show' => [
'id' => 52,
'name' => '查看',
'parent_id' => 5,
],
'shops.update' => [
'id' => 53,
'name' => '更新',
'parent_id' => 5,
],
'shops.destroy' => [
'id' => 54,
'name' => '删除',
'parent_id' => 5,
],
// 用户管理
'USER_MANAGE' => [
'id' => 6,
'name' => '用户管理',
'parent_id' => 0,
],
'users.index' => [
2022-08-04 18:13:00 +08:00
'id' => 60,
'name' => '列表',
'parent_id' => 6,
],
'users.store' => [
2022-08-04 18:13:00 +08:00
'id' => 61,
'name' => '新增',
'parent_id' => 6,
],
'users.show' => [
2022-08-04 18:13:00 +08:00
'id' => 62,
'name' => '查看',
'parent_id' => 6,
],
'users.update' => [
2022-08-04 18:13:00 +08:00
'id' => 63,
'name' => '更新',
'parent_id' => 6,
],
'users.destroy' => [
2022-08-04 18:13:00 +08:00
'id' => 64,
'name' => '删除',
'parent_id' => 6,
],
// 系统管理
'SYSTEM_MANAGE' => [
'id' => 7,
'name' => '系统管理',
'parent_id' => 0,
],
'ROLE_MANAGE' => [
'id' => 8,
'name' => '角色管理',
'parent_id' => 7,
],
'roles.index' => [
2022-08-04 18:13:00 +08:00
'id' => 80,
'name' => '列表',
'parent_id' => 8,
],
'roles.store' => [
2022-08-04 18:13:00 +08:00
'id' => 81,
'name' => '新增',
'parent_id' => 8,
],
'roles.show' => [
2022-08-04 18:13:00 +08:00
'id' => 82,
'name' => '查看',
'parent_id' => 8,
],
'roles.update' => [
2022-08-04 18:13:00 +08:00
'id' => 83,
'name' => '更新',
'parent_id' => 8,
],
'roles.permission' => [
2022-08-04 18:13:00 +08:00
'id' => 84,
'name' => '设置权限',
'parent_id' => 8,
],
2022-08-10 23:45:03 +08:00
// 'PERMISSION_MANAGE' => [
// 'id' => 9,
// 'name' => '权限管理',
// 'parent_id' => 7,
// ],
'permissions.index' => [
'id' => 90,
'name' => '列表',
'parent_id' => 9,
],
2022-08-04 18:13:00 +08:00
// 系统日志
'SYSTEM_LOG' => [
'id' => 10,
'name' => '系统日志',
'parent_id' => 0,
],
'logs.index' => [
'id' => 100,
'name' => '列表',
'parent_id' => 10,
],
];