manage.php 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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_place_order' => array
  51. (
  52. 'name' => '订单',
  53. 'icon' => 'shopping-cart-2-line',
  54. 'sort' => '98',
  55. 'module' => 'sector_place',
  56. 'app' => 'place_order',
  57. ),
  58. 'sector_place_source' => array
  59. (
  60. 'name' => '资源',
  61. 'icon' => 'settings-line',
  62. 'sort' => '100',
  63. 'module' => 'sector_place',
  64. 'app' => 'place_source',
  65. ),
  66. 'sector_place_channel' => array
  67. (
  68. 'name' => '渠道',
  69. 'icon' => 'album-line',
  70. 'sort' => '101',
  71. 'module' => 'sector_place',
  72. 'app' => 'place_channel',
  73. ),
  74. 'sector_place_set' => array
  75. (
  76. 'name' => '配置',
  77. 'icon' => 'settings-2-line',
  78. 'sort' => '114',
  79. 'module' => 'sector_place',
  80. 'app' => 'place',
  81. ),
  82. )
  83. );