<?php
return [
    'dashboard'=>[
        'name'=>'Dashboard',//控制台
        'class' => '',
        'icon'=>'el-icon-guide',
        'controller'=>'dashboard',
        'action'=>'index',
        'routePath'=>'dashboard/index',
        'show'=>1,
        'wiki' => 'dashboard',
        'child'=>[
            ['name'=>'Month Bonus', 'class'=>'', 'icon'=>'', 'controller'=>'dashboard', 'action'=>'bonus-num', 'routePath'=>'dashboard/bonus-num', 'show'=>0, 'wiki' => 'monthBonus',], // 月奖
        ]
    ],
    'shop'=>[
        'name'=>'Shopping Mall',//商城管理
        'class' => '',
        'icon'=>'el-icon-goods',
        'controller'=>'shop',
        'action'=>'',
        'routePath'=>'shop',
        'show'=>1,
        'wiki' => 'shoppingMall',
        'child'=>[
            ['name'=>'Repeat Purchase', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'standard-products', 'routePath'=>'shop/standard-products', 'show'=>1, 'wiki' => 'repeatPurchase',],//复消
//            ['name'=>'Car Fund Products', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'car-fund-products', 'routePath'=>'shop/car-fund-products', 'show'=>1, 'wiki' => 'carFundProducts',],//车奖商品
//            ['name'=>'Villa Fund Products', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'villa-fund-products', 'routePath'=>'shop/villa-fund-products', 'show'=>1, 'wiki' => 'villaFundProducts',],//房奖商品
            ['name'=>'My Order', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'own-order', 'routePath'=>'shop/own-order', 'show'=>1, 'wiki' => 'ownOrder',],//我的订单
        ]
    ],
    'user'=>[
        'name'=>'Member Management',//会员管理
        'class' => '',
        'icon'=>'el-icon-user',
        'controller'=>'user',
        'action'=>'',
        'routePath'=>'user',
        'show'=>1,
        'wiki' => 'memberManagement',
        'child'=>[
            ['name'=>'Member Welcome Pack', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'dec', 'routePath'=>'user/dec', 'show'=>1,  'wiki' => 'welcomePack',], // 会员报单
            ['name'=>'Member Repeat Purchase', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'reconsume', 'routePath'=>'shop/reconsume', 'show'=>1, 'wiki' => 'memberRepeatPurchase',],//会员复消
            ['name'=>'Member Auto Maintenance', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'reconsume', 'routePath'=>'shop/auto-maintenance', 'show'=>1, 'wiki' => 'memberAutoMaintenance',],//AMP
            ['name'=>'Member Upgrade', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'dec', 'routePath'=>'user/upgrade', 'show'=>1, /**'allow'=>'declarer',**/ 'wiki' => 'memberUpgrade',],//会员升级
            ['name'=>'Member Order', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'member-order', 'routePath'=>'shop/member-order', 'show'=>1, 'wiki' => 'memberOrder',],//会员订单
        ]
    ],
    'atlas'=>[
        'name'=>'Network Chart',
        'class' => '',
        'icon'=>'el-icon-data-line',
        'controller'=>'atlas',
        'action'=>'',
        'routePath'=>'atlas',
        'show'=>1,
        'wiki' => 'networkChart',
        'child'=>[
//            ['name'=>'Placement Network', 'class'=>'', 'icon'=>'', 'controller'=>'atlas', 'action'=>'network', 'routePath'=>'atlas/network', 'show'=>1, 'wiki' => 'placementNetwork',],//安置网络
            ['name'=>'Sponsor Network', 'class'=>'', 'icon'=>'', 'controller'=>'atlas', 'action'=>'relation', 'routePath'=>'atlas/relation', 'show'=>1, 'wiki' => 'sponsorNetwork',],//推荐网路
//            ['name'=>'Placement Network Ex', 'class'=>'', 'icon'=>'', 'controller'=>'atlas', 'action'=>'network-ex', 'routePath'=>'atlas/network', 'show'=>1, 'wiki' => 'placementNetworkEx',],//安置网络ex
            ['name'=>'Sponsor Network Ex', 'class'=>'', 'icon'=>'', 'controller'=>'atlas', 'action'=>'relation-ex', 'routePath'=>'atlas/relation', 'show'=>1, 'wiki' => 'sponsorNetworkEx',],//推荐网路ex
        ]
    ],
    'bonus'=>[
        'name'=>'Bonus Management',//奖金管理
        'class' => '',
        'icon'=>'el-icon-coin',
        'controller'=>'bonus',
        'action'=>'',
        'routePath'=>'bonus',
        'show'=>1,
        'wiki' => 'bonusManagement',
        'child'=>[
            ['name'=>'My Account', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'index', 'routePath'=>'bonus/index', 'show'=>1, 'wiki' => 'myAccount',],//我的账户
            ['name'=>'My Bonus', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'other', 'routePath'=>'bonus/other', 'show'=>1,'allow'=>'pastBonusSwitch', 'wiki' => 'myBonus'],//我的奖金
            ['name'=>'Team Inquiry', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'teams', 'routePath'=>'bonus/teams', 'show'=>1, 'wiki' => 'teamInquiry'], // 团队查询
            ['name'=>'Historical Cumulative Bonus', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'other', 'routePath'=>'bonus/historical-cumulative-bonus', 'show'=>1,'allow'=>'pastBonusSwitch', 'wiki' => 'historicalCumulativeBonus'],//历史累积奖金
            ['name'=>'Withdrawal Details', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'withdraw', 'routePath'=>'finance/withdraw', 'show'=>0, 'wiki' => 'withdrawalDetails'],//提现明细
            ['name'=>'Apply For Withdraw', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'withdraw-add', 'routePath'=>'finance/withdraw-add', 'show'=>0, 'wiki' => 'applyWithdraw'],// 申请提现
            ['name'=>'Recharge Details', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'recharge', 'routePath'=>'finance/recharge', 'show'=>1, 'wiki' => 'rechargeDetails'],//充值明细
            ['name'=>'Apply For Recharge', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'recharge-add', 'routePath'=>'finance/recharge-add', 'show'=>0, 'wiki' => 'applyRecharge'], // 申请充值
            ['name'=>'Apply For Recharge Update', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'recharge-update', 'routePath'=>'finance/recharge-update', 'show'=>0, 'wiki' => 'applyRechargeUpdate'], // 申请充值
            ['name'=>'Transfer Details', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'transfer-list', 'routePath'=>'finance/transfer-list', 'show'=>1,'allow'=>'transferRecordSwitch', 'wiki' => 'transferDetails'],//转账明细
            ['name'=>'Apply For Transfer', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'transfer-add', 'routePath'=>'finance/transfer-add', 'show'=>0,'allow'=>'transferSwitch', 'wiki' => 'applyTransfer'], // 申请转账
        ]
    ],

    'article'=>[
        'name'=>'Article Management',//文章管理
        'class' => '',
        'icon'=>'el-icon-document',
        'controller'=>'article',
        'action'=>'',
        'routePath'=>'article',
        'show'=>1,
        'wiki' => 'articleManagement',
        'child'=>[
            ['name'=>'System Notification', 'class'=>'', 'icon'=>'', 'controller'=>'article', 'action'=>'article-list', 'routePath'=>'article/article-list', 'show'=>1, 'wiki' => 'systemNotification'],//系统通知
        ]
    ],

    'config'=>[
        'name'=>'Personal Center',//个人中心
        'class' => '',
        'icon'=>'el-icon-setting',
        'controller'=>'config',
        'action'=>'',
        'routePath'=>'config',
        'show'=>1,
        'wiki' => 'setting',
        'child'=>[
            ['name'=>'Shipping Address', 'class'=>'', 'icon'=>'', 'controller'=>'config', 'action'=>'receive-address-list', 'routePath'=>'config/receive-address-list', 'show'=>1, 'wiki' => 'shippingAddress'],//收货地址
            ['name'=>'Personal Info', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'index', 'routePath'=>'user/index', 'show'=>1, 'wiki' => 'personalInfo',],//个人信息
//            ['name'=>'Reset Password', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'password', 'routePath'=>'user/password', 'show'=>1, 'wiki' => 'resetPassword',],//重设密码
        ]
    ],
];
