12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <?php
- return array
- (
- # 表名
- 'name' => 'streams',
- # 显示给用户看的名称
- 'lang' => '直播流管理',
- 'order' => 2,
- # 数据结构
- 'struct' => array
- (
-
- 'id' => array
- (
- 'type' => 'int-11',
- 'name' => 'ID',
- 'default' => '',
- 'desc' => '',
- 'match' => 'is_numeric',
- 'search' => 'order',
- //'list' => true,
- ),
- 'name' => array
- (
- 'type' => 'varchar-300',
- 'name' => '流名称',
- 'default' => '',
- 'desc' => '名称',
- 'match' => 'option',
- 'update' => 'text',
- 'list' => true,
- ),
- 'space' => array
- (
- 'type' => 'varchar-300',
- 'name' => '空间名',
- 'default' => '',
- 'desc' => '空间名',
- 'match' => 'option',
- 'update' => 'text',
- 'list' => true,
- ),
- 'state' => array
- (
- 'type' => 'tinyint-1',
- 'name' => '状态',
- 'default' => '1',
- 'desc' => '请选择状态',
- 'match' => 'is_numeric',
- ),
-
- 'cdate' => array
- (
- 'type' => 'int-11',
- 'name' => '创建时间',
- 'match' => array('is_numeric', time()),
- 'desc' => '',
- # 只有insert时才生效
- 'insert' => true,
- //'search' => 'date',
- 'list' => 'date("Y-m-d H:i:s", {cdate})',
- ),
- ),
- 'manage' => array
- (
- //'excel' => true,
- //'delete' => false,
- //'edit' => false,
- //'insert' => false,
- ),
- 'request' => array
- (
-
- )
- );
|