config.php 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. <?php
  2. return [
  3. //登录有效时间24小时
  4. 'FAILURE_TIME' => 3600 * 24,
  5. //模板样式前缀地址
  6. 'view_replace_str' => [
  7. '__TMP_SOURCE__' => '/static/h-ui/'
  8. ],
  9. //网站域名
  10. 'APP_URL' => 'http://'.$_SERVER['HTTP_HOST'] . '/admins/',
  11. //菜单一级类目
  12. 'MENU_LIST' => [
  13. [
  14. '资讯管理' => [
  15. [
  16. 'menu_name' => '资讯管理',
  17. 'display' => true,
  18. 'url' => '',
  19. 'id' => 11,
  20. ]
  21. ],
  22. 'display' => true,
  23. 'identity' => 'menu-article',
  24. 'id' => 1
  25. ],
  26. [
  27. '图片管理' => [
  28. [
  29. 'menu_name' => '图片管理',
  30. 'display' => true,
  31. 'url' => '',
  32. 'id' => 21,
  33. ]
  34. ],
  35. 'display' => true,
  36. 'identity' => 'menu-picture',
  37. 'id' => 2
  38. ],
  39. [
  40. '企业管理' => [
  41. [
  42. 'menu_name' => '品牌管理',
  43. 'display' => true,
  44. 'url' => '',
  45. 'id' => 31,
  46. ],
  47. [
  48. 'menu_name' => '分类管理',
  49. 'display' => true,
  50. 'url' => '',
  51. 'id' => 32,
  52. ],
  53. [
  54. 'menu_name' => '企业管理',
  55. 'display' => true,
  56. 'url' => '',
  57. 'id' => 33,
  58. ],
  59. ],
  60. 'display' => true,
  61. 'identity' => 'menu-product',
  62. 'id' => 3
  63. ],
  64. [
  65. '评论管理' => [
  66. [
  67. 'menu_name' => '评论列表',
  68. 'display' => true,
  69. 'url' => '',
  70. 'id' => 41,
  71. ],
  72. [
  73. 'menu_name' => '意见反馈',
  74. 'display' => true,
  75. 'url' => '',
  76. 'id' => 42,
  77. ]
  78. ],
  79. 'display' => true,
  80. 'identity' => 'menu-comments',
  81. 'id' => 4
  82. ],
  83. [
  84. '会员管理' => [
  85. [
  86. 'menu_name' => '会员列表',
  87. 'display' => true,
  88. 'url' => '',
  89. 'id' => 51,
  90. ],
  91. ],
  92. 'display' => true,
  93. 'identity' => 'menu-member',
  94. 'id' => 5
  95. ],
  96. [
  97. '管理员管理' => [
  98. [
  99. 'menu_name' => '角色管理',
  100. 'display' => true,
  101. 'url' => '',
  102. 'id' => 51,
  103. ],
  104. [
  105. 'menu_name' => '权限管理',
  106. 'display' => true,
  107. 'url' => '',
  108. 'id' => 52,
  109. ],
  110. [
  111. 'menu_name' => '管理员列表',
  112. 'display' => true,
  113. 'url' => '',
  114. 'id' => 53,
  115. ],
  116. ],
  117. 'display' => true,
  118. 'identity' => 'menu-admin',
  119. 'id' => 6
  120. ],
  121. [
  122. '系统统计' => [
  123. ],
  124. 'display' => true,
  125. 'identity' => 'menu-tongji',
  126. 'id' => 7
  127. ],
  128. [
  129. '系统管理' => [
  130. [
  131. 'menu_name' => '系统设置',
  132. 'display' => true,
  133. 'url' => '',
  134. 'id' => 81,
  135. ],
  136. [
  137. 'menu_name' => '系统日志',
  138. 'display' => true,
  139. 'url' => '',
  140. 'id' => 82,
  141. ],
  142. ],
  143. 'display' => true,
  144. 'identity' => 'menu-system',
  145. 'id' => 8
  146. ],
  147. ],
  148. //商品类型goodTypeArr
  149. 'GOODS_TYPE_ARR' => ['其他','套餐','水果拼盘','啤酒','洋酒','红酒','饮品','零食小吃','增值服务'],
  150. //商品单位goodUnitArr
  151. 'GOODS_UNIT_ARR' => ['其他','瓶','听','袋','g','盘','包','扎','箱','个']
  152. ];