123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- <?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',
-
- ),
- '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',
- ),
- '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,
- ),
- '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' => true,
-
- 'list' => 'date("Y-m-d H:i:s", {cdate})',
- ),
- ),
- 'manage' => array
- (
-
-
-
-
- ),
- 'request' => array
- (
-
- )
- );
|