manage.php 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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. # 领域基础模块
  50. 'sector' => array
  51. (
  52. 'name' => '配置',
  53. 'icon' => 'settings-line',
  54. 'sort' => '100',
  55. 'module' => 'sector',
  56. 'app' => 'sector',
  57. ),
  58. # 领域账户模块下的账户管理菜单
  59. 'sector_user' => array
  60. (
  61. 'name' => '账户',
  62. 'icon' => 'settings-line',
  63. 'sort' => '100',
  64. 'module' => 'sector_user',
  65. 'app' => 'sector',
  66. ),
  67. # 领域身份模块下的菜单
  68. 'sector_place_order' => array
  69. (
  70. 'name' => '订单',
  71. 'icon' => 'shopping-cart-2-line',
  72. 'sort' => '98',
  73. 'module' => 'sector_place',
  74. 'app' => 'sector',
  75. ),
  76. 'sector_place_source' => array
  77. (
  78. 'name' => '资源',
  79. 'icon' => 'settings-line',
  80. 'sort' => '100',
  81. 'module' => 'sector_place',
  82. 'app' => 'sector',
  83. ),
  84. 'sector_place_channel' => array
  85. (
  86. 'name' => '渠道',
  87. 'icon' => 'album-line',
  88. 'sort' => '101',
  89. 'module' => 'sector_place',
  90. 'app' => 'sector',
  91. ),
  92. 'sector_place_service' => array
  93. (
  94. 'name' => '运营',
  95. 'icon' => 'dropbox-line',
  96. 'sort' => '102',
  97. 'module' => 'sector_place',
  98. 'app' => 'sector',
  99. ),
  100. 'sector_place_member' => array
  101. (
  102. 'name' => '用户',
  103. 'icon' => 'file-user-line',
  104. 'sort' => '103',
  105. 'module' => 'sector_place',
  106. 'app' => 'sector',
  107. ),
  108. 'sector_place_set' => array
  109. (
  110. 'name' => '配置',
  111. 'icon' => 'settings-2-line',
  112. 'sort' => '114',
  113. 'module' => 'sector_place',
  114. 'app' => 'sector',
  115. ),
  116. /*
  117. # 平台的父级菜单
  118. 'channel' => array
  119. (
  120. 'name' => '渠道',
  121. 'icon' => 'contacts-line',
  122. 'sort' => '1',
  123. 'module' => 'platform',
  124. 'app' => 'sector',
  125. ),
  126. */
  127. )
  128. );