<?php
return array
(
    'source' => 'api/video_template',
    'list' => array
    (
        'field'      => array
        (
            'id',
            'name' => array
            (
                //'tip' => false,
            ),
            'sort' => array
            (
                'type' => 'input',
            ),
            'status' => array
            (
                'type' => 'switch',
                'show'  => '{status}',
                'active_value' => 1,
                'inactive_value' => 2,
            ),
            'cdate',
        ),
        'button' => array
        (
            '新增' => array('add'),
        ),
        'data_button' => array
        (
            '编辑' => 'edit',
        ),
        'search'    => array
        (
            'status',
            'name',
        ),
    ),
    'update' => array
    (
        'field'    => array
        (
            'name' => array
            (
                'rules' => true,
            ),
            'view' => array
            (
                'rules' => true,
            ),
            'setpts' => array
            (
                'rules' => true,
                'desc' => '这里填写变速倍数的数值，大于1则慢速，大于1则快速',
            ),
            'flip' => array
            (
                'rules' => true,
            ),
        ),
    ),
);