| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 | 
							- <?php
 
- $home_top_type = array
 
- (
 
- 	1 => '显示',
 
- 	2 => '不显示',
 
- );
 
- return array
 
- (
 
- 	# 表名
 
- 	'name' => 'base',
 
- 	# 显示给用户看的名称
 
- 	'lang' => '系统配置',
 
- 	'order' => 1,
 
- 	# 数据结构
 
- 	'struct' => array
 
- 	(
 
- 		'id' 		=> array
 
- 		(
 
- 			'type' 		=> 'int-11',
 
- 			'name' 		=> '平台ID',
 
- 			'default' 	=> '',
 
- 			'desc' 		=> '',
 
- 			'match' 	=> 'is_numeric',
 
- 		),
 
- 		
 
- 		'name'		=> array
 
- 		(
 
- 			'type' 		=> 'varchar-32',
 
- 			'name' 		=> '系统名称',
 
- 			'default' 	=> '',
 
- 			'desc' 		=> '请输入系统名称',
 
- 			'match' 	=> 'is_string',
 
- 			'update'	=> 'text',
 
- 		),
 
- 		'phone'      => array
 
-         (
 
-             'type'      => 'varchar-100',
 
-             'name'      => '客服电话',
 
-             'default'   => '',
 
-             'desc'      => '请输入客服电话',
 
-             'match'     => 'option',
 
-             'update'    => 'text',
 
-         ),
 
-         'tax'      => array
 
-         (
 
-             'type'      => 'decimal-11,2',
 
-             'name'      => '提现手续费-输入10就是10%',
 
-             'default'   => '8',
 
-             'desc'      => '提现手续费',
 
-             'match'     => 'option',
 
-             'update'    => 'text',
 
-         ),
 
-         'agreement_sign'		=> array
 
- 		(
 
- 			'type' 		=> 'varchar-150',
 
- 			'name' 		=> '合同盖章图片',
 
- 			'default' 	=> '',
 
- 			'desc' 		=> '合同盖章图片',
 
- 			'match' 	=> 'option',
 
- 			'update'	=> 'image',
 
- 			'key' 		=> '1',
 
- 			'place'		=> '150*150',
 
- 		),
 
- 		'agreement_mobile'      => array
 
-         (
 
-             'type'      => 'varchar-100',
 
-             'name'      => '合同代表人电话',
 
-             'default'   => '',
 
-             'desc'      => '合同代表人电话',
 
-             'match'     => 'option',
 
-             'update'    => 'text',
 
-         ),
 
- 		'desc'      => array
 
-         (
 
-             'type'      => 'text-255',
 
-             'name'      => '代理加盟介绍',
 
-             'default'   => '',
 
-             'desc'      => '代理加盟介绍',
 
-             'match'     => 'option',
 
-             'update'    => 'editor',
 
-             'key'       => '1',
 
-         ),
 
- 		'bank_user'		=> array
 
- 		(
 
- 			'type' 		=> 'varchar-300',
 
- 			'name' 		=> '银行卡开户名称',
 
- 			'default' 	=> '',
 
- 			'desc' 		=> '银行卡开户名称',
 
- 			'match' 	=> 'is_string',
 
- 			'update'	=> 'text',
 
- 		),
 
- 		'bank_name'		=> array
 
- 		(
 
- 			'type' 		=> 'varchar-300',
 
- 			'name' 		=> '银行卡支行名称',
 
- 			'default' 	=> '',
 
- 			'desc' 		=> '银行卡支行名称',
 
- 			'match' 	=> 'is_string',
 
- 			'update'	=> 'text',
 
- 		),
 
- 		'bank_card'		=> array
 
- 		(
 
- 			'type' 		=> 'varchar-300',
 
- 			'name' 		=> '银行卡卡号',
 
- 			'default' 	=> '',
 
- 			'desc' 		=> '银行卡卡号',
 
- 			'match' 	=> 'is_string',
 
- 			'update'	=> 'text',
 
- 		),
 
- 		// 'market_desc'      => array
 
-   //       (
 
-   //           'type'      => 'text-255',
 
-   //           'name'      => '提现协议',
 
-   //           'default'   => '',
 
-   //           'desc'      => '提现协议',
 
-   //           'match'     => 'option',
 
-   //           'update'    => 'editor',
 
-   //           'key'       => '1',
 
-   //       ),
 
- 		
 
-         '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,
 
- 		),
 
- 	),
 
- 	'alter' => array
 
-     (
 
-         5 => array
 
-         (
 
-             array('update', 'tax', 'tax', 'decimal-11,2 8 提现手续费'),
 
-         ),
 
-         'version' => 5,
 
-     ),
 
- 	'default' => array
 
- 	(
 
- 		'col' => 'name,cdate',
 
- 		'value' => array
 
- 		(
 
- 			'"厨人意料",' . time(),
 
- 		),
 
- 	),
 
- 	'manage' => array
 
- 	(
 
- 		# 后台管理不要列表页
 
- 		'list' => 'update',
 
- 	),
 
- );
 
 
  |