backend.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?php
  2. return [
  3. // ----------------------- 参数配置 ----------------------- //
  4. 'config' => [
  5. // 菜单配置
  6. 'menu' => [
  7. 'location' => 'default', // default:系统顶部菜单;addons:应用中心菜单
  8. 'icon' => 'fa fa-blog',
  9. 'pattern' => ['b2c', 'b2b2c'], // 可见开发模式 b2c、b2b2c、saas 不填默认全部可见, 可设置为 blank 为全部不可见
  10. ],
  11. // 子模块配置
  12. 'modules' => [
  13. ],
  14. ],
  15. // ----------------------- 菜单配置 ----------------------- //
  16. 'menu' => [
  17. [
  18. 'title' => '文章管理',
  19. 'name' => 'article/index',
  20. 'icon' => 'fa fa-newspaper'
  21. ],
  22. [
  23. 'title' => '文章分类',
  24. 'name' => 'cate/index',
  25. 'icon' => 'fa fa-list'
  26. ],
  27. [
  28. 'title' => '文章标签',
  29. 'name' => 'tag/index',
  30. 'icon' => 'fa fa-tags'
  31. ],
  32. [
  33. 'title' => '单页管理',
  34. 'name' => 'single/index',
  35. 'icon' => 'fa fa-puzzle-piece'
  36. ],
  37. [
  38. 'title' => '广告图',
  39. 'name' => 'adv/index',
  40. 'icon' => 'fa fa-image'
  41. ],
  42. [
  43. 'title' => '友情链接',
  44. 'name' => 'friendly-link/index',
  45. 'icon' => 'fa fa-link'
  46. ],
  47. [
  48. 'title' => '回收站',
  49. 'name' => 'article/recycle',
  50. 'icon' => 'fa fa-recycle'
  51. ],
  52. [
  53. 'title' => '参数设置',
  54. 'name' => 'setting/display',
  55. 'icon' => 'fa fa-cog',
  56. ],
  57. ],
  58. // ----------------------- 权限配置 ----------------------- //
  59. 'authItem' => [
  60. [
  61. 'title' => '所有权限',
  62. 'name' => '*',
  63. ],
  64. ],
  65. ];
粤ICP备19079148号