backend.php 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. <?php
  2. $common = file_exists(__DIR__ . '/common.php') ? require __DIR__ . '/common.php' : [];
  3. $backend =[
  4. // ----------------------- 菜单配置 ----------------------- //
  5. 'config' => [
  6. // 菜单配置
  7. 'menu' => [
  8. 'location' => 'default', // default:系统顶部菜单;addons:应用中心菜单
  9. 'icon' => 'fa fa-puzzle-piece',
  10. ],
  11. // 子模块配置
  12. 'modules' => [
  13. ],
  14. ],
  15. // ----------------------- 快捷入口 ----------------------- //
  16. 'cover' => [
  17. ],
  18. // ----------------------- 菜单配置 ----------------------- //
  19. 'menu' => [
  20. [
  21. 'title' => '数据概况',
  22. 'route' => 'default/index',
  23. 'icon' => '',
  24. 'params' => [
  25. ],
  26. 'child' => [
  27. ],
  28. ],
  29. [
  30. 'title' => '名片列表',
  31. 'route' => 'card/index',
  32. 'icon' => '',
  33. 'params' => [
  34. ],
  35. 'child' => [
  36. ],
  37. ],
  38. [
  39. 'title' => '部门管理',
  40. 'route' => 'department/index',
  41. 'icon' => '',
  42. 'params' => [
  43. ],
  44. 'child' => [
  45. ],
  46. ],
  47. [
  48. 'title' => '部门成员',
  49. 'route' => 'department/member',
  50. 'icon' => '',
  51. 'params' => [
  52. ],
  53. 'child' => [
  54. ],
  55. ],
  56. [
  57. 'title' => '名片海报',
  58. 'route' => 'setting/poster',
  59. 'icon' => '',
  60. 'params' => [
  61. ],
  62. 'child' => [
  63. ],
  64. ],
  65. [
  66. 'title' => '素材中心',
  67. 'route' => 'material/index',
  68. 'icon' => '',
  69. 'params' => [
  70. ],
  71. 'child' => [
  72. ],
  73. ],
  74. [
  75. 'title' => '素材分类',
  76. 'route' => 'material-cate/index',
  77. 'icon' => '',
  78. 'params' => [
  79. ],
  80. 'child' => [
  81. ],
  82. ],
  83. [
  84. 'title' => '客户管理',
  85. 'route' => 'material-browse/index',
  86. 'icon' => '',
  87. 'params' => [
  88. ],
  89. 'child' => [
  90. ],
  91. ],
  92. [
  93. 'title' => '素材统计',
  94. 'route' => 'material-statistics/index',
  95. 'icon' => '',
  96. 'params' => [
  97. ],
  98. 'child' => [
  99. ],
  100. ],
  101. [
  102. 'title' => '基础配置',
  103. 'route' => 'setting/index',
  104. 'icon' => '',
  105. 'params' => [
  106. ],
  107. 'child' => [
  108. ],
  109. ],
  110. ],
  111. ];
  112. return array_merge($common,$backend);