123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- <?php
- # 后台配置
- return array
- (
- # 设置系统
- 'system' => array
- (
- 'sector' => array
- (
- 'name' => '领域系统',
- 'sort' => '1',
- 'partition' => 'database.database',
- 'info_table' => 'sector/info',
- 'user_table' => 'sector/user',
- 'role_table' => 'sector/role',
- ),
- ),
- # 设置模块
- 'module' => array
- (
- # 领域系统下有三个模块,领域基础模块、领域账户模块、领域空间模块
- 'sector' => array
- (
- 'system' => 'sector',
- 'name' => '领域',
- 'sort' => '1',
- 'data_table' => 'sector/info',
- ),
- 'sector_user' => array
- (
- 'system' => 'sector',
- 'name' => '账户',
- 'sort' => '2',
- 'data_table' => 'sector/user',
- 'data_where' => array('id' => '{uid}'),
- ),
- 'sector_place' => array
- (
- 'system' => 'sector',
- 'name' => '身份',
- 'sort' => '3',
- 'data_table' => 'place/info',
- 'data_where' => array('uid' => '{uid}'),
- ),
- ),
- # 父级菜单
- 'menu' => array
- (
- # 领域基础模块
- 'sector' => array
- (
- 'name' => '配置',
- 'icon' => 'settings-line',
- 'sort' => '100',
- 'module' => 'sector',
- 'app' => 'sector',
- ),
- # 领域账户模块下的账户管理菜单
- 'sector_user' => array
- (
- 'name' => '账户',
- 'icon' => 'settings-line',
- 'sort' => '100',
- 'module' => 'sector_user',
- 'app' => 'sector',
- ),
- # 领域身份模块下的菜单
- 'sector_place_order' => array
- (
- 'name' => '订单',
- 'icon' => 'shopping-cart-2-line',
- 'sort' => '98',
- 'module' => 'sector_place',
- 'app' => 'sector',
- ),
- 'sector_place_source' => array
- (
- 'name' => '资源',
- 'icon' => 'settings-line',
- 'sort' => '100',
- 'module' => 'sector_place',
- 'app' => 'sector',
- ),
- 'sector_place_channel' => array
- (
- 'name' => '渠道',
- 'icon' => 'album-line',
- 'sort' => '101',
- 'module' => 'sector_place',
- 'app' => 'sector',
- ),
- 'sector_place_service' => array
- (
- 'name' => '运营',
- 'icon' => 'dropbox-line',
- 'sort' => '102',
- 'module' => 'sector_place',
- 'app' => 'sector',
- ),
- 'sector_place_member' => array
- (
- 'name' => '用户',
- 'icon' => 'file-user-line',
- 'sort' => '103',
- 'module' => 'sector_place',
- 'app' => 'sector',
- ),
- 'sector_place_set' => array
- (
- 'name' => '配置',
- 'icon' => 'settings-2-line',
- 'sort' => '114',
- 'module' => 'sector_place',
- 'app' => 'sector',
- ),
- /*
- # 平台的父级菜单
- 'channel' => array
- (
- 'name' => '渠道',
- 'icon' => 'contacts-line',
- 'sort' => '1',
- 'module' => 'platform',
- 'app' => 'sector',
- ),
- */
- )
- );
|