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

  1. <?php
  2. return [
  3. 'permissions' => [
  4. "网站基本权限" => [
  5. '首页(销售数据)' => '/site/index',
  6. '用户注销' => '/site/logout',
  7. '用户登录' => '/site/login',
  8. ],
  9. "商品管理" => [
  10. '商品列表' => '/antgoods/goods/index',
  11. '商品新增' => '/antgoods/goods/create',
  12. '商品修改' => '/antgoods/goods/update',
  13. '商品查看' => '/antgoods/goods/view',
  14. ],
  15. "商城分类" => [
  16. '列表' => '/antgoods/shop-category/index',
  17. '新增' => '/antgoods/shop-category/create',
  18. '修改' => '/antgoods/shop-category/update',
  19. '查看' => '/antgoods/shop-category/view',
  20. ],
  21. "后台分类" => [
  22. '列表' => '/antgoods/category/index',
  23. '新增' => '/antgoods/category/create',
  24. '修改' => '/antgoods/category/update',
  25. '查看' => '/antgoods/category/view',
  26. ],
  27. "品牌管理" => [
  28. '列表' => '/antgoods/brand/index',
  29. '新增' => '/antgoods/brand/create',
  30. '修改' => '/antgoods/brand/update',
  31. '查看' => '/antgoods/brand/view',
  32. ],
  33. "供应商管理" => [
  34. '列表' => '/antgoods/supplier/index',
  35. '新增' => '/antgoods/supplier/create',
  36. '修改' => '/antgoods/supplier/update',
  37. '查看' => '/antgoods/supplier/view',
  38. ],
  39. "属性管理" => [
  40. '列表' => '/antgoods/attribute/index',
  41. '新增' => '/antgoods/attribute/create',
  42. '修改' => '/antgoods/attribute/update',
  43. '查看' => '/antgoods/attribute/view',
  44. ]
  45. ],
  46. 'menus' => [
  47. '商城管理' => [
  48. 'icon' => 'fa-store',
  49. 'items' => [
  50. ['运营数据', '/site',],
  51. ['基础配置', '/config'],
  52. ],
  53. ],
  54. '商品管理' => [
  55. 'icon' => 'fa-shopping-bag',
  56. 'items' => [
  57. ['商城分类', '/antgoods/shop-category'],
  58. ['后台分类', '/antgoods/category'],
  59. ['品牌管理', '/antgoods/brand'],
  60. ['属性管理', '/antgoods/attribute'],
  61. ['商品管理', '/antgoods/goods'],
  62. ['供应商管理', '/antgoods/supplier'],
  63. ],
  64. ]
  65. ]
  66. ];