| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 | 
							- <?php
 
- $status = array(
 
-     1 => '已登场',
 
-     2 => '未登场',
 
- );
 
- return array
 
- (
 
-     # 表名
 
-     'name' => 'creater_xuniren',
 
-     # 显示给用户看的名称
 
-     'lang' => '造物主虚拟人关联表',
 
-     'order' => 1,
 
-     'menu'  => false,
 
-     # 数据结构
 
-     'struct' => array
 
-     (
 
-         'id'        => array
 
-         (
 
-             'type'      => 'int-11',
 
-             'name'      => 'ID',
 
-             'default'   => '',
 
-             'desc'      => '',
 
-             'match'     => 'is_numeric',
 
-             'list'      => true,
 
-         ),
 
-         
 
-         'cid'      => array
 
-         (
 
-             'type'      => 'int-11',
 
-             'name'      => '造物主id',
 
-             'default'   => '',
 
-             'desc'      => '造物主id',
 
-             'match'     => 'is_numeric',
 
-             'update'    => 'text',
 
-             'list'      => true,
 
-         ),
 
-         'xid'      => array
 
-         (
 
-             'type'      => 'int-11',
 
-             'name'      => '虚拟人id',
 
-             'default'   => '',
 
-             'desc'      => '虚拟人id',
 
-             'match'     => 'is_numeric',
 
-             '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,
 
-             'list'      => 'date("Y-m-d H:i:s", {cdate})',
 
-             'search'    => 'date',
 
-         ),
 
-     ),
 
-     
 
-     # 管理功能
 
-     'manage' => array
 
-     (
 
-     ),
 
-     # request 请求接口定义
 
-     'request' => array
 
-     (
 
-         'getAll' => array
 
-         (
 
-             # 匹配的正则或函数 选填项
 
-             'option' => array
 
-             (
 
-                 'cid' => 'yes',
 
-                 'xid' => 'yes',
 
-                 'state' => 1,
 
-             ),
 
-             'type' => 'all',
 
-             'order' => array('id' => 'desc'),
 
-             'col' => '*',
 
-         ),
 
-     ),
 
- );
 
 
  |