<?php

return [
    'Index' => [
        'name'       => '首页',
        'action'     => 'index',
        'ico'        => 'icon-2jichumokuai',
        'child'      => []
    ],
    'Chats' => [
        'name'       => '对话平台',
        'action'     => 'index',
        'ico'        => 'icon-shejiao-duihuakuang',
        'child'      => []
    ],
    'History' => [
        'name'       => '历史记录',
        'action'     => 'index',
        'ico'        => 'icon-lishi1',
        'child'      => []
    ],
    'Evaluation' => [
        'name'       => '评价管理',
        'action'     => 'index',
        'ico'        => 'icon-pingjia1',
        'child'      => []
    ],
    'Set' => [
        'name'       => '系统设置',
        'action'     => 'index',
        'ico'        => 'icon-shezhi1',
        'child'      => [
            'access'   => [
                'name'       => '接入',
                'ico'        => 'icon-gonganwangjierushenqing',
                'child'      => [
                    [
                        'action'     => 'access_code',
                        'name'       => '聊天代码'
                    ],
                    [
                        'action'     => 'access_web_page',
                        'name'       => '聊天网页'
                    ],
                    [
                        'action'     => 'access_links',
                        'name'       => '聊天链接'
                    ]
                ]
            ],
            'set'     => [
                'name'       => '设置',
                'ico'        => 'icon-icon-test2',
                'child'      => [
                    [
                        'action'     => 'set_general',
                        'name'       => '通用设置'
                    ],
                    [
                        'action'     => 'set_service',
                        'name'       => '客服管理'
                    ],
                    [
                        'action'     => 'set_service_group',
                        'name'       => '客服分组'
                    ],
                    [
                        'action'     => 'set_problem',
                        'name'       => '常见问题'
                    ],
                    [
                        'action'     => 'set_evaluation',
                        'name'       => '评价设置'
                    ],
                    [
                        'action'     => 'set_attachment',
                        'name'       => '附件设置'
                    ]
                ]
            ]
        ]
    ],
    'Plugins' => [
        'name'       => '插件中心',
        'action'     => 'index',
        'ico'        => 'icon-chatouplug',
        'child'      => [
            'plugin'   => [
                'name'       => '插件',
                'ico'        => 'icon-danmokuai',
                'child'      => [
                    [
                        'action'     => 'plugin_lists',
                        'name'       => '已安装'
                    ],
                    [
                        'action'     => 'plugin_upload',
                        'name'       => '安装插件'
                    ],
                    [
                        'action'     => 'plugin_market',
                        'name'       => '插件市场'
                    ],
                ]
            ]
        ]
    ],
];