manage.php 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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. 'setting' => array
  51. (
  52. 'name' => '配置',
  53. 'icon' => 'settings-line',
  54. 'sort' => '99',
  55. 'module' => 'platform',
  56. ),
  57. # 领域管理
  58. 'sector' => array
  59. (
  60. 'name' => '配置',
  61. 'icon' => 'settings-line',
  62. 'sort' => '100',
  63. 'module' => 'sector',
  64. ),
  65. # 领域身份模块下的菜单
  66. 'sector_place_order' => array
  67. (
  68. 'name' => '订单',
  69. 'icon' => 'shopping-cart-2-line',
  70. 'sort' => '98',
  71. 'module' => 'sector_place',
  72. 'app' => 'place_order',
  73. ),
  74. 'sector_place_source' => array
  75. (
  76. 'name' => '资源',
  77. 'icon' => 'settings-line',
  78. 'sort' => '100',
  79. 'module' => 'sector_place',
  80. 'app' => 'place_source',
  81. ),
  82. 'sector_place_channel' => array
  83. (
  84. 'name' => '渠道',
  85. 'icon' => 'album-line',
  86. 'sort' => '101',
  87. 'module' => 'sector_place',
  88. 'app' => 'place_channel',
  89. ),
  90. 'sector_place_user' => array
  91. (
  92. 'name' => '用户',
  93. 'icon' => 'file-user-line',
  94. 'sort' => '103',
  95. 'module' => 'sector_place',
  96. 'app' => 'place_user',
  97. ),
  98. 'sector_place_set' => array
  99. (
  100. 'name' => '配置',
  101. 'icon' => 'settings-2-line',
  102. 'sort' => '114',
  103. 'module' => 'sector_place',
  104. 'app' => 'place',
  105. ),
  106. )
  107. );