<?php
return array
(
    'source' => 'place_user/info',
    'list' => array
    (
        'field'      => array
        (
            'id',
            'name',
            'mobile',
            'status' => array
            (
                'type' => 'switch',
                'show'  => '{status}',
                'active_value' => 1,
                'inactive_value' => 2,
            ),
            'cdate',
        ),
        'button' => array
        (
            //'新增' => array('add'),
        ),
        'data_button' => array
        (
            '编辑' => 'fastedit',
        ),
        'search'    => array
        (
            'name' => 'like',
            'mobile',
            'status',
        ),
    ),
    'update' => array
    (
        'field'    => array
        (
            'name',
            'avatar' => array
            (
                'type' => 'upload',
                'upload' => '1',
                'multiple' => true,
                'style' => 'pic',
            ),
        ),
    ),
);