<?php

return [
    'dashboard'=>[
        'name'=>'Dashboard',//控制台
        'class' => '',
        'icon'=>'el-icon-guide',
        'controller'=>'dashboard',
        'action'=>'index',
        'routePath'=>'dashboard/ba-index',
        'show'=>1,
        'brandAmbassador' => 1,
        'child'=>[]
    ],
    'shop'=>[
        'name'=>'Shopping Mall',//商城管理
        'class' => '',
        'icon'=>'el-icon-goods',
        'controller'=>'shop',
        'action'=>'',
        'routePath'=>'shop',
        'show'=>1,
        'child'=>[
            ['name'=>'Products list', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'/ba-product-list', 'routePath'=>'shop/ba-product-list', 'show'=>1], // 商品列表
            ['name'=>'Order List', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'ba-order-list', 'routePath'=>'shop/ba-order-list', 'show'=>1], // 订单列表
        ]
    ],
    'user'=>[
        'name'=>'Member Management',//会员管理
        'class' => '',
        'icon'=>'el-icon-user',
        'controller'=>'user',
        'action'=>'',
        'routePath'=>'user',
        'show'=>1,
        'child'=>[
            ['name'=>'Personal info', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'ba-info', 'routePath'=>'user/ba-info', 'show'=>1], // 个人资料
            ['name'=>'Reset Password', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'ba-password', 'routePath'=>'user/ba-password', 'show'=>1],// 修改密码
        ]
    ],
    'article'=>[
        'name'=>'Article Management',//文章管理
        'class' => '',
        'icon'=>'el-icon-document',
        'controller'=>'article',
        'action'=>'',
        'routePath'=>'article',
        'show'=>1,
        'child'=>[]
    ],
    'config'=>[
        'name'=>'Setting',//设置
        'class' => '',
        'icon'=>'el-icon-setting',
        'controller'=>'config',
        'action'=>'',
        'routePath'=>'config',
        'show'=>1,
        'child'=>[
            ['name'=>'Shipping Address', 'class'=>'', 'icon'=>'', 'controller'=>'config', 'action'=>'ba-receive-address-list', 'routePath'=>'config/ba-receive-address-list', 'show'=>1, 'brandAmbassador' => 1], // 收货地址管理
        ]
    ],
];