manage.php 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. <?php
  2. # 后台配置
  3. return array
  4. (
  5. # 设置系统
  6. 'system' => array
  7. (
  8. 'sector' => array
  9. (
  10. 'name' => '领域系统',
  11. 'sort' => '1',
  12. 'partition' => 'database.database',
  13. 'info_table' => 'sector/info',
  14. 'user_table' => 'sector/user',
  15. 'role_table' => 'sector/role',
  16. ),
  17. ),
  18. # 设置模块
  19. 'module' => array
  20. (
  21. # 领域系统下有三个模块,领域基础模块、领域账户模块、领域空间模块
  22. 'sector' => array
  23. (
  24. 'system' => 'sector',
  25. 'name' => '领域',
  26. 'sort' => '1',
  27. 'data_table' => 'sector/info',
  28. ),
  29. 'sector_user' => array
  30. (
  31. 'system' => 'sector',
  32. 'name' => '账户',
  33. 'sort' => '2',
  34. 'data_table' => 'sector/user',
  35. 'data_where' => array('id' => '{uid}'),
  36. ),
  37. 'sector_place' => array
  38. (
  39. 'system' => 'sector',
  40. 'name' => '身份',
  41. 'sort' => '3',
  42. 'data_table' => 'place/info',
  43. 'data_where' => array('uid' => '{uid}'),
  44. ),
  45. ),
  46. # 父级菜单
  47. 'menu' => array
  48. (
  49. 'setting' => array
  50. (
  51. 'name' => '配置',
  52. 'icon' => 'settings-line',
  53. 'sort' => '99',
  54. 'module' => 'platform',
  55. 'app' => 'sector',
  56. ),
  57. # 领域基础模块
  58. 'sector' => array
  59. (
  60. 'name' => '配置',
  61. 'icon' => 'settings-line',
  62. 'sort' => '100',
  63. 'module' => 'sector',
  64. 'app' => 'sector',
  65. ),
  66. # 领域账户模块下的账户管理菜单
  67. 'sector_user' => array
  68. (
  69. 'name' => '账户',
  70. 'icon' => 'settings-line',
  71. 'sort' => '100',
  72. 'module' => 'sector_user',
  73. 'app' => 'sector',
  74. ),
  75. # 领域身份模块下的菜单
  76. 'sector_place_order' => array
  77. (
  78. 'name' => '订单',
  79. 'icon' => 'shopping-cart-2-line',
  80. 'sort' => '98',
  81. 'module' => 'sector_place',
  82. 'app' => 'sector',
  83. ),
  84. 'sector_place_source' => array
  85. (
  86. 'name' => '资源',
  87. 'icon' => 'settings-line',
  88. 'sort' => '100',
  89. 'module' => 'sector_place',
  90. 'app' => 'sector',
  91. ),
  92. 'sector_place_channel' => array
  93. (
  94. 'name' => '渠道',
  95. 'icon' => 'album-line',
  96. 'sort' => '101',
  97. 'module' => 'sector_place',
  98. 'app' => 'sector',
  99. ),
  100. 'sector_place_service' => array
  101. (
  102. 'name' => '运营',
  103. 'icon' => 'dropbox-line',
  104. 'sort' => '102',
  105. 'module' => 'sector_place',
  106. 'app' => 'sector',
  107. ),
  108. 'sector_place_member' => array
  109. (
  110. 'name' => '用户',
  111. 'icon' => 'file-user-line',
  112. 'sort' => '103',
  113. 'module' => 'sector_place',
  114. 'app' => 'sector',
  115. ),
  116. 'sector_place_set' => array
  117. (
  118. 'name' => '配置',
  119. 'icon' => 'settings-2-line',
  120. 'sort' => '114',
  121. 'module' => 'sector_place',
  122. 'app' => 'sector',
  123. ),
  124. /*
  125. # 平台的父级菜单
  126. 'channel' => array
  127. (
  128. 'name' => '渠道',
  129. 'icon' => 'contacts-line',
  130. 'sort' => '1',
  131. 'module' => 'platform',
  132. 'app' => 'sector',
  133. ),
  134. */
  135. )
  136. );