|
@@ -0,0 +1,50 @@
|
|
|
+<?php
|
|
|
+
|
|
|
+return array
|
|
|
+(
|
|
|
+ # 表名
|
|
|
+ 'name' => 'data',
|
|
|
+ # 显示给用户看的名称
|
|
|
+ 'lang' => '队列数据表',
|
|
|
+ 'menu' => false,
|
|
|
+ # 数据结构
|
|
|
+ 'struct' => array
|
|
|
+ (
|
|
|
+
|
|
|
+ 'id' => array
|
|
|
+ (
|
|
|
+ 'type' => 'int-11',
|
|
|
+ 'name' => 'ID',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '',
|
|
|
+ 'match' => 'is_numeric',
|
|
|
+ 'search' => 'order',
|
|
|
+ //'list' => true,
|
|
|
+ 'order' => 'desc',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'value' => array
|
|
|
+ (
|
|
|
+ 'type' => 'text-255',
|
|
|
+ 'name' => '数据',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '数据',
|
|
|
+ 'match' => 'is_string',
|
|
|
+ //'update' => 'editor',
|
|
|
+ 'search' => 'fulltext',
|
|
|
+ //'list' => 'Dever::load("spider/data.value", {id})',
|
|
|
+ //'modal' => '查看详情',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'cdate' => array
|
|
|
+ (
|
|
|
+ 'type' => 'int-11',
|
|
|
+ 'name' => '录入时间',
|
|
|
+ 'match' => array('is_numeric', time()),
|
|
|
+ 'desc' => '',
|
|
|
+ # 只有insert时才生效
|
|
|
+ //'insert' => true,
|
|
|
+ 'list' => 'date("Y-m-d H:i:s", {cdate})',
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+);
|