backend.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. 'child' => [],
  26. ],
  27. [
  28. 'title' => '活动列表',
  29. 'route' => 'personal/index',
  30. 'icon' => '',
  31. 'params' => [],
  32. 'child' => [],
  33. ],
  34. [
  35. 'title' => '订单明细',
  36. 'route' => 'financial/index',
  37. 'icon' => '',
  38. 'params' => [],
  39. 'child' => [],
  40. ],
  41. [
  42. 'title' => '基础设置',
  43. 'route' => 'setting/index',
  44. 'icon' => '',
  45. 'params' => [],
  46. 'child' => [],
  47. ],
  48. ],
  49. ];
  50. return array_merge($common,$backend);