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

458 lines
9.9 KiB
PHP

<?php
return [
// 商品管理
'GOODS_MANAGE' => [
'id' => 1,
'name' => '商品管理',
'parent_id' => 0,
'show' => 1,
],
// 商品列表
'GOODS_LIST' => [
'id' => 2,
'name' => '商品列表',
'parent_id' => 1,
'show' => 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,
],
'goods_skus.update' => [
'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,
],
'goods_sku.inventory' => [
'id' => 29,
'name' => '盘点导入',
'parent_id' => 2,
],
'goods_sku.new_set' => [
'id' => 200,
'name' => '上新导入',
'parent_id' => 2,
],
// 商品种类
'GOODS_TYPE' => [
'id' => 3,
'name' => '商品种类',
'parent_id' => 1,
'show' => 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,
'show' => 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,
],
// 商品货架
'GOODS_SKU_LOCATION' => [
'id' => 15,
'name' => '商品货架',
'parent_id' => 1,
'show' => 1,
],
'goods_sku_location.index' => [
'id' => 150,
'name' => '列表',
'parent_id' => 15,
],
'goods_sku_location.import' => [
'id' => 151,
'name' => '导入',
'parent_id' => 15,
],
'goods_sku_location.update' => [
'id' => 152,
'name' => '更新',
'parent_id' => 15,
],
'goods_sku_location.destroy' => [
'id' => 153,
'name' => '删除',
'parent_id' => 15,
],
// 组合商品
'GOODS_COMBINATION' => [
'id' => 16,
'name' => '组合商品',
'parent_id' => 1,
'show' => 1,
],
'goods_combination.index' => [
'id' => 160,
'name' => '列表',
'parent_id' => 16,
],
'goods_combination.store' => [
'id' => 161,
'name' => '新增',
'parent_id' => 16,
],
'goods_combination.show' => [
'id' => 162,
'name' => '查看',
'parent_id' => 16,
],
'goods_combination.update' => [
'id' => 163,
'name' => '更新',
'parent_id' => 16,
],
'goods_combination.destroy' => [
'id' => 164,
'name' => '删除',
'parent_id' => 16,
],
// 团购管理
'GROUP_MANAGEMENT' => [
'id' => 13,
'name' => '团购管理',
'parent_id' => 0,
'show' => 1,
],
'group.index' => [
'id' => 130,
'name' => '列表',
'parent_id' => 13,
],
'group.store' => [
'id' => 131,
'name' => '新增',
'parent_id' => 13,
],
'group.show' => [
'id' => 132,
'name' => '查看',
'parent_id' => 13,
],
'group.update' => [
'id' => 133,
'name' => '更新',
'parent_id' => 13,
],
'group.destroy' => [
'id' => 134,
'name' => '删除',
'parent_id' => 13,
],
// 店铺管理
'SHOP_MANAGE' => [
'id' => 5,
'name' => '店铺管理',
'parent_id' => 0,
'show' => 1,
],
'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,
],
'business.goods_sku.download' => [
'id' => 55,
'name' => '商品下载',
'parent_id' => 5,
],
'business.shop.sync_stock' => [
'id' => 56,
'name' => '同步库存',
'parent_id' => 5,
],
// 用户管理
'USER_MANAGE' => [
'id' => 6,
'name' => '用户管理',
'parent_id' => 0,
'show' => 1,
],
'users.index' => [
'id' => 60,
'name' => '列表',
'parent_id' => 6,
],
'users.store' => [
'id' => 61,
'name' => '新增',
'parent_id' => 6,
],
'users.show' => [
'id' => 62,
'name' => '查看',
'parent_id' => 6,
],
'users.update' => [
'id' => 63,
'name' => '更新',
'parent_id' => 6,
],
'users.destroy' => [
'id' => 64,
'name' => '删除',
'parent_id' => 6,
],
// 系统管理
'SYSTEM_MANAGE' => [
'id' => 7,
'name' => '系统管理',
'parent_id' => 0,
'show' => 1,
],
// 角色管理
'ROLE_MANAGE' => [
'id' => 8,
'name' => '角色管理',
'parent_id' => 7,
'show' => 1,
],
'roles.index' => [
'id' => 80,
'name' => '列表',
'parent_id' => 8,
],
'roles.store' => [
'id' => 81,
'name' => '新增',
'parent_id' => 8,
],
'roles.show' => [
'id' => 82,
'name' => '查看',
'parent_id' => 8,
],
'roles.update' => [
'id' => 83,
'name' => '更新',
'parent_id' => 8,
],
'roles.permission' => [
'id' => 84,
'name' => '设置权限',
'parent_id' => 8,
],
'PERMISSION_MANAGE' => [
'id' => 9,
'name' => '权限管理',
'parent_id' => 7,
'show' => 0,
],
'permissions.index' => [
'id' => 90,
'name' => '列表',
'parent_id' => 9,
],
'upload.file' => [
'id' => 11,
'name' => '文件上传',
'parent_id' => 7,
],
// 系统日志
'SYSTEM_LOG' => [
'id' => 10,
'name' => '系统日志',
'parent_id' => 7,
'show' => 1,
],
'logs.index' => [
'id' => 100,
'name' => '列表',
'parent_id' => 10,
],
// 平台
'PLAT' => [
'id' => 12,
'name' => '平台',
'parent_id' => 0,
'show' => 1,
],
// 货品列表
'PLAT_GOODS_LIST' => [
'id' => 120,
'name' => '货品列表',
'parent_id' => 12,
'show' => 1,
],
'plat_goods.index' => [
'id' => 1200,
'name' => '货品列表',
'parent_id' => 120,
],
'plat_goods.update' => [
'id' => 1201,
'name' => '同步开关',
'parent_id' => 120,
],
'plat_goods.destroy' => [
'id' => 1202,
'name' => '删除',
'parent_id' => 120,
],
'plat.sync.stock' => [
'id' => 1203,
'name' => '同步库存',
'parent_id' => 120,
],
'plat.activity.list' => [
'id' => 1204,
'name' => '团购活动列表',
'parent_id' => 120,
],
// 订单列表
'PLAT_ORDER_LIST' => [
'id' => 14,
'name' => '订单列表',
'parent_id' => 12,
'show' => 1,
],
'plat.orders.index' => [
'id' => 140,
'name' => '订单列表',
'parent_id' => 14,
],
'plat.orders.export' => [
'id' => 1400,
'name' => '配货单导出',
'parent_id' => 140,
],
'order.print' => [
'id' => 1401,
'name' => '订单打印',
'parent_id' => 140,
],
'order.printSuccess' => [
'id' => 1402,
'name' => '打印回调',
'parent_id' => 140,
],
// 电子面单
'FACE_SHEET' => [
'id' => 17,
'name' => '电子面单',
'parent_id' => 12,
'show' => 1,
],
'shop_ship.index' => [
'id' => 170,
'name' => '电子面单账号列表',
'parent_id' => 17,
],
'shop_ship.senders.get' => [
'id' => 1700,
'name' => '收货信息查看',
'parent_id' => 170,
],
'shop_ship.senders.save' => [
'id' => 1701,
'name' => '收货信息保存',
'parent_id' => 170,
],
];