| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191 | 
							- <?php
 
- $type = Dever::config('base', 'live')->live_type;
 
- return array
 
- (
 
-     # 表名
 
-     'name' => 'info',
 
-     # 显示给用户看的名称
 
-     'lang' => '直播云配置',
 
-     'order' => 10,
 
-     # 数据结构
 
-     '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,
 
-         ),
 
-         'type'       => array
 
-         (
 
-             'type'      => 'int-11',
 
-             'name'      => '所属云',
 
-             'default'   => '1',
 
-             'desc'      => '所属云',
 
-             'match'     => 'is_numeric',
 
-             'update'    => 'select',
 
-             'option'    => $type,
 
-             'search'    => 'select',
 
-         ),
 
-         'host'      => array
 
-         (
 
-             'type'      => 'varchar-800',
 
-             'name'      => '存储空间域名',
 
-             'default'   => '',
 
-             'desc'      => '存储空间域名',
 
-             'match'     => 'is_string',
 
-             'update'    => 'text',
 
-             'search'    => 'fulltext',
 
-             'list'      => true,
 
-         ),
 
-         'space'      => array
 
-         (
 
-             'type'      => 'varchar-300',
 
-             'name'      => '云空间名-请提前建好云空间,后续会迭代优化,增加云空间的创建和更新,本版本暂时使用已经创建好的云空间',
 
-             'default'   => '',
 
-             'desc'      => '空间名',
 
-             'match'     => 'option',
 
-             'update'    => 'text',
 
-             'list'      => true,
 
-         ),
 
-         'appkey'      => array
 
-         (
 
-             'type'      => 'varchar-80',
 
-             'name'      => 'appkey',
 
-             'default'   => '',
 
-             'desc'      => 'appkey',
 
-             'match'     => 'is_string',
 
-             'update'    => 'text',
 
-             'search'    => 'fulltext',
 
-             'list'      => true,
 
-         ),
 
-         'appsecret'      => array
 
-         (
 
-             'type'      => 'varchar-200',
 
-             'name'      => 'appsecret',
 
-             'default'   => '',
 
-             'desc'      => 'appsecret',
 
-             'match'     => 'is_string',
 
-             'update'    => 'text',
 
-             'search'    => 'fulltext',
 
-             //'list'      => true,
 
-         ),
 
-         'domain_publish'      => array
 
-         (
 
-             'type'      => 'varchar-200',
 
-             'name'      => '推流域名',
 
-             'default'   => '',
 
-             'desc'      => '推流域名',
 
-             'match'     => 'is_string',
 
-             'update'    => 'text',
 
-             //'search'    => 'fulltext',
 
-             //'list'      => true,
 
-         ),
 
-         'domain_live_rtmp'      => array
 
-         (
 
-             'type'      => 'varchar-200',
 
-             'name'      => '高清直播域名',
 
-             'default'   => '',
 
-             'desc'      => '高清直播域名',
 
-             'match'     => 'is_string',
 
-             'update'    => 'text',
 
-             //'search'    => 'fulltext',
 
-             //'list'      => true,
 
-         ),
 
-         'domain_live_hls'      => array
 
-         (
 
-             'type'      => 'varchar-200',
 
-             'name'      => '标清直播域名',
 
-             'default'   => '',
 
-             'desc'      => '标清直播域名',
 
-             'match'     => 'is_string',
 
-             'update'    => 'text',
 
-             //'search'    => 'fulltext',
 
-             //'list'      => true,
 
-         ),
 
-         'domain_live_hdl'      => array
 
-         (
 
-             'type'      => 'varchar-200',
 
-             'name'      => '普清直播域名',
 
-             'default'   => '',
 
-             'desc'      => '普清直播域名',
 
-             'match'     => 'is_string',
 
-             'update'    => 'text',
 
-             //'search'    => 'fulltext',
 
-             //'list'      => true,
 
-         ),
 
-         'domain_live_pic'      => array
 
-         (
 
-             'type'      => 'varchar-200',
 
-             'name'      => '直播截图域名',
 
-             'default'   => '',
 
-             'desc'      => '直播截图域名',
 
-             'match'     => 'is_string',
 
-             'update'    => 'text',
 
-             //'search'    => 'fulltext',
 
-             //'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
 
-     (
 
-         
 
-     )
 
- );
 
 
  |