|
@@ -2,6 +2,8 @@
|
|
|
|
|
|
$audit = Dever::config('base')->audit;
|
|
$audit = Dever::config('base')->audit;
|
|
|
|
|
|
|
|
+$status = Dever::config('base')->status;
|
|
|
|
+
|
|
$function = Dever::config('base')->function;
|
|
$function = Dever::config('base')->function;
|
|
|
|
|
|
# 每页的数据量
|
|
# 每页的数据量
|
|
@@ -62,7 +64,7 @@ return array
|
|
# 更新另外一个表的字段 => 本表的字段
|
|
# 更新另外一个表的字段 => 本表的字段
|
|
'where' => array('data_id' => 'id', 'type' => 1),
|
|
'where' => array('data_id' => 'id', 'type' => 1),
|
|
# 要更新的数据
|
|
# 要更新的数据
|
|
- 'update' => array('data_id' => 'id', 'type' => 1, 'pdate' => 'pdate', 'reorder' => 'reorder', 'name' => 'name', 'audit' => 'audit'),
|
|
|
|
|
|
+ 'update' => array('data_id' => 'id', 'type' => 1, 'pdate' => 'pdate', 'reorder' => 'reorder', 'name' => 'name', 'audit' => 'audit', 'status' => 'status'),
|
|
)
|
|
)
|
|
),
|
|
),
|
|
|
|
|
|
@@ -81,7 +83,7 @@ return array
|
|
'default' => '',
|
|
'default' => '',
|
|
'desc' => '',
|
|
'desc' => '',
|
|
'match' => 'is_numeric',
|
|
'match' => 'is_numeric',
|
|
- 'list' => true,
|
|
|
|
|
|
+ //'list' => true,
|
|
),
|
|
),
|
|
|
|
|
|
'name' => array
|
|
'name' => array
|
|
@@ -388,6 +390,20 @@ return array
|
|
'edit' => true,
|
|
'edit' => true,
|
|
),
|
|
),
|
|
|
|
|
|
|
|
+ 'status' => array
|
|
|
|
+ (
|
|
|
|
+ 'type' => 'int-11',
|
|
|
|
+ 'name' => '上线状态',
|
|
|
|
+ 'default' => '1',
|
|
|
|
+ 'desc' => '上线状态',
|
|
|
|
+ 'match' => 'is_numeric',
|
|
|
|
+ //'update' => 'select',
|
|
|
|
+ 'option' => $status,
|
|
|
|
+ 'search' => 'select',
|
|
|
|
+ 'list' => true,
|
|
|
|
+ 'edit' => true,
|
|
|
|
+ ),
|
|
|
|
+
|
|
'cdate' => array
|
|
'cdate' => array
|
|
(
|
|
(
|
|
'type' => 'int-11',
|
|
'type' => 'int-11',
|