12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?php
- return array
- (
- 'name' => '系统',
- 'order' => 'sort asc',
- 'struct' => array
- (
- 'name' => array
- (
- 'name' => '系统名称',
- 'type' => 'varchar(32)',
- ),
- 'key' => array
- (
- 'name' => '系统标识',
- 'type' => 'varchar(32)',
- ),
- 'partition' => array
- (
- 'name' => '数据隔离类型',
- 'type' => 'varchar(20)',
- 'default' => 'no',
- 'value' => array
- (
- 'no' => '不做数据隔离',
- 'database' => '分库隔离',
- 'table' => '分表隔离',
- 'field' => '分区隔离',
- 'where' => '分条件隔离',
- ),
- ),
- 'info_table' => array
- (
- 'name' => '基本信息表名',
- 'type' => 'varchar(100)',
- ),
- 'user_table' => array
- (
- 'name' => '用户表表名',
- 'type' => 'varchar(100)',
- ),
- 'role_table' => array
- (
- 'name' => '角色表表名',
- 'type' => 'varchar(100)',
- ),
- 'sort' => array
- (
- 'name' => '排序',
- 'type' => 'int(11)',
- ),
- ),
- 'default' => array
- (
- 'field' => 'id,name,`key`,`partition`,info_table,user_table,role_table,sort',
- 'value' => array
- (
- '1,"平台系统","platform","no","manage/platform","manage/admin","manage/role",-1000',
- '2,"集团系统","group","database","manage/group","manage/group_user","manage/group_role",-900',
- ),
- 'num' => 1,
- ),
- );
|