@@ -73,6 +73,15 @@ return array
'desc' => '属性值设置',
'match' => 'option',
),
+
+ 'state' => array
+ (
+ 'type' => 'tinyint-1',
+ 'name' => '状态',
+ 'default' => '1',
+ 'desc' => '请选择状态',
+ 'match' => 'is_numeric',
+ ),
'cdate' => array
(
@@ -25,7 +25,7 @@ class Api
*/
public function get()
{
- $column = Dever::input('column', 1);
+ $column = Dever::input('column');
if ($column > 0) {
$where['column_id'] = $column;
}