<?php
return array
(
    'list' => array
    (
        'field'      => array
        (
            'name',
            'type',
            'sort',
            'status',
            'cdate',
        ),
        'button' => array
        (
            '新增' => array('fastadd'),
        ),
        'data_button' => array
        (
            '编辑' => 'fastedit',
            # 微信授权，
            '授权' => array('link', Dever::url('wechat/auth.link', array('type' => 1), true)),
        ),
        'search'    => array
        (
            'name',
            'type',
            'status',
        ),
    ),
    'update' => array
    (
        'field'    => array
        (
            'name' => array
            (
                'rules' => true,
            ),
            'type' => array
            (
                'type' => 'radio',
                'rules' => true,
            ),
            'sort',
        ),
    ),
);