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

652 lines
15 KiB
PHP
Raw Normal View History

2022-08-04 18:13:00 +08:00
<?php
return [
// 商品管理
'GOODS_MANAGE' => [
'id' => 1,
2024-08-10 13:49:12 +08:00
'name' => '商品库管理',
2022-08-04 18:13:00 +08:00
'parent_id' => 0,
2023-04-20 20:43:49 +08:00
'show' => 1,
2022-08-04 18:13:00 +08:00
],
2023-07-31 13:29:05 +08:00
// 商品列表
2022-08-04 18:13:00 +08:00
'GOODS_LIST' => [
'id' => 2,
'name' => '商品列表',
'parent_id' => 1,
2023-04-20 20:43:49 +08:00
'show' => 1,
2022-08-04 18:13:00 +08:00
],
'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-09-08 01:02:07 +08:00
'goods_sku.inventory' => [
'id' => 29,
'name' => '盘点导入',
'parent_id' => 2,
],
2023-06-01 20:09:59 +08:00
'goods_sku.new_set' => [
'id' => 200,
'name' => '上新导入',
'parent_id' => 2,
],
2024-01-27 19:18:44 +08:00
'order.reset_count' => [
'id' => 201,
'name' => '订单重置',
'parent_id' => 2,
],
2023-07-31 13:29:05 +08:00
// 商品种类
2022-08-04 18:13:00 +08:00
'GOODS_TYPE' => [
'id' => 3,
2024-08-10 13:49:12 +08:00
'name' => '商品库管理',
2022-08-04 18:13:00 +08:00
'parent_id' => 1,
2023-04-20 20:43:49 +08:00
'show' => 1,
2022-08-04 18:13:00 +08:00
],
'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,
],
2023-07-31 13:29:05 +08:00
// 商品品牌
2022-08-04 18:13:00 +08:00
'GOODS_BRAND' => [
'id' => 4,
'name' => '商品品牌',
'parent_id' => 1,
2024-08-09 17:20:34 +08:00
'show' => 0,
2022-08-04 18:13:00 +08:00
],
'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,
],
2023-07-31 13:29:05 +08:00
// 商品货架
2023-04-03 21:10:03 +08:00
'GOODS_SKU_LOCATION' => [
'id' => 15,
'name' => '商品货架',
'parent_id' => 1,
2024-08-10 13:49:12 +08:00
'show' => 0,
2023-04-03 21:10:03 +08:00
],
'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,
],
2023-07-31 13:29:05 +08:00
// 组合商品
2023-04-18 11:22:16 +08:00
'GOODS_COMBINATION' => [
'id' => 16,
'name' => '组合商品',
'parent_id' => 1,
2023-04-20 20:43:49 +08:00
'show' => 1,
2023-04-18 11:22:16 +08:00
],
'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,
],
2023-07-31 13:29:05 +08:00
// 团购管理
'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,
],
2022-08-04 18:13:00 +08:00
// 店铺管理
'SHOP_MANAGE' => [
'id' => 5,
'name' => '店铺管理',
'parent_id' => 0,
2023-04-20 20:43:49 +08:00
'show' => 1,
2022-08-04 18:13:00 +08:00
],
'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,
],
2022-08-16 21:15:15 +08:00
'business.goods_sku.download' => [
'id' => 55,
'name' => '商品下载',
'parent_id' => 5,
],
2023-04-17 18:56:59 +08:00
'business.shop.sync_stock' => [
'id' => 56,
'name' => '同步库存',
'parent_id' => 5,
],
2022-08-04 18:13:00 +08:00
// 用户管理
'USER_MANAGE' => [
'id' => 6,
'name' => '用户管理',
'parent_id' => 0,
2023-04-20 20:43:49 +08:00
'show' => 1,
2022-08-04 18:13:00 +08:00
],
'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,
2023-04-20 20:43:49 +08:00
'show' => 1,
2022-08-04 18:13:00 +08:00
],
2023-07-31 13:29:05 +08:00
// 角色管理
2022-08-04 18:13:00 +08:00
'ROLE_MANAGE' => [
'id' => 8,
'name' => '角色管理',
'parent_id' => 7,
2023-04-20 20:43:49 +08:00
'show' => 1,
2022-08-04 18:13:00 +08:00
],
'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,
],
2023-04-06 02:36:01 +08:00
'PERMISSION_MANAGE' => [
'id' => 9,
'name' => '权限管理',
'parent_id' => 7,
2023-04-20 20:43:49 +08:00
'show' => 0,
2023-04-06 02:36:01 +08:00
],
'permissions.index' => [
'id' => 90,
'name' => '列表',
'parent_id' => 9,
],
'upload.file' => [
'id' => 11,
'name' => '文件上传',
'parent_id' => 7,
],
2022-08-04 18:13:00 +08:00
// 系统日志
'SYSTEM_LOG' => [
'id' => 10,
'name' => '系统日志',
2022-09-02 18:42:57 +08:00
'parent_id' => 7,
2023-04-20 20:43:49 +08:00
'show' => 1,
2022-08-04 18:13:00 +08:00
],
'logs.index' => [
'id' => 100,
'name' => '列表',
'parent_id' => 10,
],
2022-09-02 18:42:57 +08:00
// 平台
'PLAT' => [
'id' => 12,
'name' => '平台',
'parent_id' => 0,
2023-04-20 20:43:49 +08:00
'show' => 1,
2022-09-02 18:42:57 +08:00
],
2023-07-31 13:29:05 +08:00
// 货品列表
2022-09-08 01:02:07 +08:00
'PLAT_GOODS_LIST' => [
2022-09-02 18:42:57 +08:00
'id' => 120,
'name' => '货品列表',
'parent_id' => 12,
2023-04-20 20:43:49 +08:00
'show' => 1,
2022-09-02 18:42:57 +08:00
],
2022-09-08 01:02:07 +08:00
'plat_goods.index' => [
'id' => 1200,
'name' => '货品列表',
'parent_id' => 120,
],
2022-09-02 18:42:57 +08:00
'plat_goods.update' => [
2022-09-08 01:02:07 +08:00
'id' => 1201,
2022-09-15 18:28:25 +08:00
'name' => '同步开关',
2022-09-08 01:02:07 +08:00
'parent_id' => 120,
],
'plat_goods.destroy' => [
'id' => 1202,
'name' => '删除',
'parent_id' => 120,
2022-09-02 18:42:57 +08:00
],
2022-09-15 18:28:25 +08:00
'plat.sync.stock' => [
'id' => 1203,
'name' => '同步库存',
'parent_id' => 120,
],
2023-04-03 21:10:03 +08:00
'plat.activity.list' => [
'id' => 1204,
'name' => '团购活动列表',
'parent_id' => 120,
],
2023-07-31 13:29:05 +08:00
// 订单列表
2023-04-03 15:41:14 +08:00
'PLAT_ORDER_LIST' => [
'id' => 14,
'name' => '订单列表',
'parent_id' => 12,
2023-04-20 20:43:49 +08:00
'show' => 1,
2023-04-03 15:41:14 +08:00
],
2023-04-03 21:10:03 +08:00
'plat.orders.index' => [
2023-04-03 15:41:14 +08:00
'id' => 140,
'name' => '订单列表',
'parent_id' => 14,
],
2023-04-03 21:10:03 +08:00
'plat.orders.export' => [
'id' => 1400,
'name' => '配货单导出',
'parent_id' => 140,
],
2023-07-31 13:29:05 +08:00
'order.print' => [
'id' => 1401,
'name' => '订单打印',
'parent_id' => 140,
2022-10-21 13:09:30 +08:00
],
2023-07-31 13:29:05 +08:00
'order.printSuccess' => [
'id' => 1402,
'name' => '打印回调',
'parent_id' => 140,
2022-10-21 13:09:30 +08:00
],
2023-07-31 13:29:05 +08:00
// 电子面单
'FACE_SHEET' => [
'id' => 17,
'name' => '电子面单',
'parent_id' => 12,
'show' => 1,
2022-10-21 13:09:30 +08:00
],
2023-07-31 13:29:05 +08:00
'shop_ship.index' => [
'id' => 170,
'name' => '电子面单账号列表',
'parent_id' => 17,
2022-10-21 13:09:30 +08:00
],
2023-07-31 13:29:05 +08:00
'shop_ship.senders.get' => [
'id' => 1700,
'name' => '收货信息查看',
'parent_id' => 170,
2022-10-21 13:09:30 +08:00
],
2023-07-31 13:29:05 +08:00
'shop_ship.senders.save' => [
'id' => 1701,
'name' => '收货信息保存',
'parent_id' => 170,
2022-10-21 13:09:30 +08:00
],
2024-03-14 20:50:29 +08:00
// 数据中心
'DATA_CENTER' => [
'id' => 18,
'name' => '数据中心',
'parent_id' => 0,
'show' => 1,
],
'SALES_REPORT_DATA' => [
'id' => 180,
'name' => '销售数据',
'parent_id' => 18,
2024-08-09 17:20:34 +08:00
'show' => 0,
2024-03-14 20:50:29 +08:00
],
'sales_report.index' => [
'id' => 1800,
'name' => '销售数据列表',
'parent_id' => 180,
],
'SUPPLIER' => [
2024-07-24 17:46:48 +08:00
'id' => 19,
'name' => '供应链管理',
'parent_id' => 0,
'show' => 1,
],
'SUPPLIER_MANAGE' => [
2024-07-24 17:46:48 +08:00
'id' => 190,
'name' => '供应商管理',
'parent_id' => 19,
'show' => 1,
],
'supplier.index' => [
'id' => 1901,
'name' => '供应商列表',
'parent_id' => 190,
],
'supplier.store' => [
'id' => 1902,
'name' => '供应商新增',
'parent_id' => 190,
],
'supplier.update' => [
'id' => 1903,
'name' => '供应商更新',
'parent_id' => 190,
],
'supplier.destroy' => [
'id' => 1904,
'name' => '供应商删除',
'parent_id' => 190,
],
2024-07-25 17:54:14 +08:00
'MESSAGE' => [
'id' => 191,
'name' => '站內信',
'parent_id' => 19,
'show' => 0,
2024-07-25 17:54:14 +08:00
],
'website_message.index' => [
'id' => 1911,
'name' => '站內信',
'parent_id' => 191
],
'website_message.update' => [
'id' => 1912,
2024-07-26 17:48:07 +08:00
'name' => '更新',
2024-07-25 17:54:14 +08:00
'parent_id' => 191
],
'PURCHASE_RECORD' => [
2024-07-26 17:48:07 +08:00
'id' => 192,
2024-08-09 16:17:59 +08:00
'name' => '入库记录',
2024-07-26 17:48:07 +08:00
'parent_id' => 19,
'show' => 1,
],
'purchase_record.index' => [
2024-07-26 17:48:07 +08:00
'id' => 1921,
2024-08-09 16:17:59 +08:00
'name' => '入库记录首页',
2024-07-26 17:48:07 +08:00
'parent_id' => 192
],
'purchase_record.update' => [
2024-07-26 17:48:07 +08:00
'id' => 1922,
2024-08-09 16:17:59 +08:00
'name' => '入库记录更新',
2024-07-26 17:48:07 +08:00
'parent_id' => 192
],
'purchase_record.store' => [
2024-07-26 17:48:07 +08:00
'id' => 1923,
2024-08-09 16:17:59 +08:00
'name' => '入库记录新增',
2024-07-26 17:48:07 +08:00
'parent_id' => 192
],
'purchase_record.purchase_import' => [
2024-07-26 17:48:07 +08:00
'id' => 1924,
2024-08-09 16:17:59 +08:00
'name' => '入库记录批量导入',
2024-07-26 17:48:07 +08:00
'parent_id' => 192
],
'LOSS_RECORD' => [
'id' => 193,
'name' => '报损记录',
'parent_id' => 19,
'show' => 1,
],
'loss_record.index' => [
'id' => 1931,
'name' => '报损单首页',
'parent_id' => 193
],
'loss_record.update' => [
'id' => 1932,
'name' => '报损单更新',
'parent_id' => 193
],
'loss_record.store' => [
'id' => 1933,
'name' => '报损单新增',
'parent_id' => 193
],
'loss_record.purchase_import' => [
'id' => 1934,
2024-07-26 17:48:07 +08:00
'name' => '报损单批量导入',
'parent_id' => 193
],
'DAILY_STOCK_RECORD' => [
'id' => 194,
'name' => '盘点记录',
'parent_id' => 19,
'show' => 1,
],
'daily_stock_record.index' => [
'id' => 1941,
'name' => '盘点记录首页',
'parent_id' => 194
],
'daily_stock_record.store' => [
'id' => 1942,
'name' => '盘点记录新增',
'parent_id' => 193
],
'daily_stock_record.purchase_import' => [
'id' => 1943,
'name' => '盘点记录批量导入',
'parent_id' => 193
2024-07-26 17:48:07 +08:00
],
'sale_statistics' => [
'id' => 181,
'name' => 'sku销售统计',
'parent_id' => 18,
'show' => 1,
],
'data_center.sale_statistics' => [
'id' => 1811,
'name' => 'sku统计接口',
'parent_id' => 18
],
'spu_sale_statistics' => [
'id' => 182,
'name' => 'spu销售统计',
'parent_id' => 18,
'show' => 1,
],
'data_center.spu_sale_statistics' => [
'id' => 1820,
'name' => 'spu销售统计接口',
'parent_id' => 18
],
'gmv_statistics' => [
'id' => 183,
'name' => '交易趋势',
'parent_id' => 18,
'show' => 1,
],
'data_center.gmv_statistics' => [
'id' => 1830,
'name' => 'gmv统计',
'parent_id' => 18,
],
// 订单列表
'PLAT_AFTER_SALE_ORDER_LIST' => [
'id' => 141,
'name' => '售后单列表',
'parent_id' => 12,
'show' => 1,
],
'plat_after_sale_orders.index' => [
'id' => 1411,
'name' => '售后单列表-接口查询',
'parent_id' => 141,
],
'goods_types.tree' => [
'id' => 35,
'name' => '类型树',
'parent_id' => 3,
],
2022-08-04 18:13:00 +08:00
];