|
@@ -58,15 +58,15 @@ return array
|
|
|
|
|
|
'template_id' => array
|
|
|
(
|
|
|
- 'type' => 'int-11',
|
|
|
+ 'type' => 'varchar-500',
|
|
|
'name' => '小程序模板',
|
|
|
- 'default' => '1',
|
|
|
+ 'default' => '',
|
|
|
'desc' => '小程序模板',
|
|
|
- 'match' => 'is_numeric',
|
|
|
- 'update' => 'select',
|
|
|
+ 'match' => 'is_string',
|
|
|
+ 'update' => 'checkbox',
|
|
|
'search' => 'select',
|
|
|
'option' => $template,
|
|
|
-
|
|
|
+ 'list' => true,
|
|
|
),
|
|
|
|
|
|
'pagepath' => array
|
|
@@ -115,10 +115,38 @@ return array
|
|
|
),
|
|
|
),
|
|
|
|
|
|
+
|
|
|
+ 'alter' => array
|
|
|
+ (
|
|
|
+ 2 => array
|
|
|
+ (
|
|
|
+ array('update', 'template_id', 'template_id', 'varchar-500 1 小程序模板'),
|
|
|
+
|
|
|
+ ),
|
|
|
+ 'version' => 2,
|
|
|
+ ),
|
|
|
+
|
|
|
'top' => Dever::config('base', 'component')->top,
|
|
|
|
|
|
'manage' => array
|
|
|
(
|
|
|
|
|
|
),
|
|
|
+
|
|
|
+
|
|
|
+ 'request' => array
|
|
|
+ (
|
|
|
+ 'getAll' => array
|
|
|
+ (
|
|
|
+
|
|
|
+ 'option' => array
|
|
|
+ (
|
|
|
+ 'template_id' => array('yes', 'like'),
|
|
|
+ 'state' => 1,
|
|
|
+ ),
|
|
|
+ 'type' => 'all',
|
|
|
+ 'order' => array('reorder' => 'desc', 'cdate' => 'desc'),
|
|
|
+ 'col' => '*',
|
|
|
+ ),
|
|
|
+ )
|
|
|
);
|