<?php
/**
 * Created by PhpStorm.
 * User: Leo
 * Date: 2017/9/3
 * Time: 下午3:23
 */
return [
    'dashboard'=>[
        'name'=>'控制台',
        'class' => '',
        'icon'=>'el-icon-guide',
        'controller'=>'dashboard',
        'action'=>'index',
        'routePath'=>'dashboard/index',
        'show'=>1,
        'child'=>[
            ['name'=>'月奖金量', 'class'=>'', 'icon'=>'', 'controller'=>'dashboard', 'action'=>'bonus-num', 'routePath'=>'dashboard/bonus-num', 'show'=>0,],
        ]
    ],
    'shop'=>[
        'name'=>'商城管理',
        'class' => '',
        'icon'=>'el-icon-goods',
        'controller'=>'shop',
        'action'=>'',
        'routePath'=>'shop',
        'show'=>1,
        'child'=>[
            ['name'=>'商品列表', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'index', 'routePath'=>'shop/index', 'show'=>1,],
            ['name'=>'订单列表', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'order-list', 'routePath'=>'shop/order-list', 'show'=>1,],
        ]
    ],
    'user'=>[
        'name'=>'会员管理',
        'class' => '',
        'icon'=>'el-icon-user',
        'controller'=>'user',
        'action'=>'',
        'routePath'=>'user',
        'show'=>1,
        'child'=>[
            ['name'=>'个人资料', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'index', 'routePath'=>'user/index', 'show'=>1,],
            ['name'=>'重置密码', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'password', 'routePath'=>'user/password', 'show'=>1],
        ]
    ],
    'bonus'=>[
        'name'=>'奖金管理',
        'class' => '',
        'icon'=>'el-icon-coin',
        'controller'=>'bonus',
        'action'=>'',
        'routePath'=>'bonus',
        'show'=>1,
        'child'=>[
            ['name'=>'最新奖金', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'new', 'routePath'=>'bonus/new', 'show'=>1,],
        ]
    ],
    'config'=>[
        'name'=>'设置',
        'class' => '',
        'icon'=>'el-icon-setting',
        'controller'=>'config',
        'action'=>'',
        'routePath'=>'config',
        'show'=>1,
        'child'=>[
            ['name'=>'收货地址管理', 'class'=>'', 'icon'=>'', 'controller'=>'config', 'action'=>'receive-address-list', 'routePath'=>'config/receive-address-list', 'show'=>1,],
        ]
    ],
];