| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202 | <?php$video = array(	1 => '显示',	2 => '不显示',);return array(	# 表名	'name' => 'config',	# 显示给用户看的名称	'lang' => '基本配置',	'order' => 1,	# 数据结构	'struct' => array	(		'id' 		=> array		(			'type' 		=> 'int-11',			'name' 		=> '系统ID',			'default' 	=> '',			'desc' 		=> '',			'match' 	=> 'is_numeric',		),				'hr1'		=> array		(			'name' 		=> '通用设置',			'class'		=> '',//本项必须填写			'attr'		=> '',		),						'name'		=> array		(			'type' 		=> 'varchar-32',			'name' 		=> '站点名称-用于显示网站的title',			'default' 	=> '',			'desc' 		=> '请输入站点名称',			'match' 	=> 'is_string',			'update'	=> 'text',		),		'keywords'		=> array		(			'type' 		=> 'varchar-500',			'name' 		=> '站点关键词-多个用逗号隔开',			'default' 	=> '',			'desc' 		=> '站点关键词',			'match' 	=> 'is_string',			'update'	=> 'text',		),				'info'		=> array		(			'type' 		=> 'text-255',			'name' 		=> '站点介绍-展示网站的介绍',			'default' 	=> '',			'desc' 		=> '请输入站点介绍',			'match' 	=> 'is_string',			'update'	=> 'textarea',		),		'logo'		=> array		(			'type' 		=> 'varchar-150',			'name' 		=> '站点logo',			'default' 	=> '',			'desc' 		=> '站点logo',			'match' 	=> 'is_string',			'update'	=> 'image',			'key' 		=> '1',			'place'		=> '150',		),		'xnr_pic'       => array        (            'type'      => 'varchar-150',            'name'      => '虚拟人封面图-图片尺寸822*542px或等比尺寸,上传大小不能超过2M,支持JPG、PNG、GIF格式,建议上传JPG格式',            'default'   => '',            'desc'      => '虚拟人封面图',            'match'     => 'is_string',            'update'    => 'image',            'key'       => '1',            'place'     => '822*542',        ),        'zwz_pic'       => array        (            'type'      => 'varchar-150',            'name'      => '造物主封面图-图片尺寸822*542px或等比尺寸,上传大小不能超过2M,支持JPG、PNG、GIF格式,建议上传JPG格式',            'default'   => '',            'desc'      => '造物主封面图',            'match'     => 'is_string',            'update'    => 'image',            'key'       => '1',            'place'     => '822*542',        ),		'weibo'		=> array		(			'type' 		=> 'varchar-500',			'name' 		=> '微博地址-输入微博的地址',			'default' 	=> '',			'desc' 		=> '请输入微博地址',			'match' 	=> 'option',			'update'	=> 'textarea',		),		'weixin_qrcode'		=> array		(			'type' 		=> 'varchar-150',			'name' 		=> '微信二维码',			'default' 	=> '',			'desc' 		=> '微信二维码',			'match' 	=> 'option',			'update'	=> 'image',			'key' 		=> '1',			'place'		=> '150',		),		/*		'email'		=> array		(			'type' 		=> 'varchar-500',			'name' 		=> '联系邮箱',			'default' 	=> '',			'desc' 		=> '联系邮箱',			'match' 	=> 'option',			'update'	=> 'text',		),		*/		'douyin'		=> array		(			'type' 		=> 'varchar-100',			'name' 		=> '抖音账号',			'default' 	=> '',			'desc' 		=> '抖音账号',			'match' 	=> 'option',			'update'	=> 'text',		),		'douyin_qrcode'		=> array		(			'type' 		=> 'varchar-150',			'name' 		=> '抖音二维码',			'default' 	=> '',			'desc' 		=> '抖音二维码',			'match' 	=> 'option',			'update'	=> 'image',			'key' 		=> '1',			'place'		=> '150',		),		'bilibili'		=> array		(			'type' 		=> 'varchar-600',			'name' 		=> 'B站地址',			'default' 	=> '',			'desc' 		=> 'B站地址',			'match' 	=> 'option',			'update'	=> 'text',		),		'ins'		=> array		(			'type' 		=> 'varchar-100',			'name' 		=> 'INS账号',			'default' 	=> '',			'desc' 		=> 'INS账号',			'match' 	=> 'option',			'update'	=> 'text',		),				'cdate'		=> array		(			'type' 		=> 'int-11',			'name' 		=> '录入时间',			'match' 	=> array('is_numeric', time()),			'desc' 		=> '',			# 只有insert时才生效			'insert'	=> true,		),	),	'default' => array	(		'col' => 'name,keywords, info,cdate',		'value' => array		(			'"虚拟人社区","虚拟人,社区", "虚拟人社区",' . time(),		),	),	'manage' => array	(		# 后台管理不要列表页		'list' => 'update',	),);
 |