const appmenu = {
    url: '/account/menu',
    type: 'get',
    response: {
        code: 200,
        msg: 'success',
        total: 0,
        data: [
            {
                authType: 1,
                sort: 1,
                title: '工作台',
                code: 'home',
                url: '/home',
                urlType: 1,
                component: 'Page',
                icon: 'Platform',
                children: [
                    {
                        authType: 1,
                        sort: 1,
                        title: '监控中心',
                        code: 'home_main',
                        url: 'main',
                        urlType: 1,
                        component: 'views/home/main/index.vue',
                    },
                ]
            },
            {
                authType: 1,
                sort: 1,
                title: '期货市场',
                code: 'market',
                url: '/market',
                urlType: 1,
                component: 'Page',
                icon: 'TrendCharts',
                children: [
                    {
                        authType: 1,
                        sort: 1,
                        title: '行情列表',
                        code: 'market_quote',
                        url: 'quote',
                        urlType: 1,
                        component: 'views/market/quote/index.vue',
                        children: [
                            {
                                authType: 2,
                                sort: 1,
                                title: '现货明细',
                                code: 'market_quote_spot',
                                component: 'views/market/quote/components/spot/index.vue',
                            },
                            {
                                authType: 2,
                                sort: 2,
                                title: '期货明细',
                                code: 'market_quote_futures',
                                component: 'views/market/quote/components/futures/index.vue',
                            },
                            {
                                authType: 3,
                                title: '新增',
                                code: 'market_quote_add',
                                icon: 'Plus',
                                buttonType: 'primary',
                                component: 'views/market/quote/components/edit/index.vue',
                            },
                            {
                                authType: 3,
                                title: '删除',
                                code: 'market_quote_delete',
                                icon: 'Delete',
                                buttonType: 'danger',
                            },
                            {
                                authType: 3,
                                title: '交易',
                                code: 'market_quote_trade',
                                buttonType: 'primary',
                                component: 'components/modules/trade/index.vue',
                            },
                            {
                                authType: 3,
                                title: '详情',
                                code: 'market_quote_detail',
                                component: 'views/market/quote/components/detail/index.vue',
                            }
                        ],
                    },
                    {
                        authType: 1,
                        sort: 2,
                        title: '期货图表',
                        code: 'market_chart',
                        url: 'chart',
                        urlType: 1,
                        component: 'views/market/chart/index.vue'
                    },
                ]
            },
            {
                authType: 1,
                sort: 1,
                title: '订单管理',
                code: 'order',
                url: '/order',
                urlType: 1,
                component: 'Page',
                icon: 'List',
                children: [
                    {
                        authType: 1,
                        sort: 1,
                        title: '订单列表',
                        code: 'order_list',
                        url: 'list',
                        urlType: 1,
                        component: 'views/order/list/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '修改',
                                code: 'order_list_modify',
                            },
                            {
                                authType: 3,
                                title: '详情',
                                code: 'order_list_detail',
                                children: [
                                    {
                                        authType: 3,
                                        title: '审核',
                                        code: 'order_list_detail_audit',
                                    }
                                ]
                            }
                        ],
                    },
                ]
            },
            {
                authType: 1,
                sort: 1,
                title: '系统管理',
                code: 'system',
                url: '/system',
                urlType: 1,
                component: 'Page',
                icon: 'Setting',
                children: [
                    {
                        authType: 1,
                        sort: 1,
                        title: '菜单管理',
                        code: 'system_menu',
                        url: 'menu',
                        urlType: 1,
                        component: 'views/system/menu/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '新增',
                                code: 'system_menu_add',
                                icon: 'Plus',
                                buttonType: 'primary',
                                component: 'views/system/menu/components/edit/index.vue',
                            },
                            {
                                authType: 3,
                                title: '编辑',
                                code: 'system_menu_edit',
                                icon: 'Edit',
                                buttonType: 'primary',
                                component: 'views/system/menu/components/edit/index.vue',
                            },
                            {
                                authType: 3,
                                title: '删除',
                                code: 'system_menu_delete',
                                icon: 'Delete',
                                buttonType: 'danger',
                            }
                        ]
                    },
                    {
                        authType: 1,
                        sort: 1,
                        title: '角色管理',
                        code: 'system_role',
                        url: 'role',
                        urlType: 1,
                        component: 'views/system/role/index.vue',
                        children: [
                            {
                                authType: 3,
                                title: '新增',
                                code: 'system_role_add',
                                icon: 'Plus',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '权限',
                                code: 'system_role_auth',
                                icon: 'Lock',
                                buttonType: 'primary',
                                component: 'views/system/role/components/auth/index.vue',
                            },
                            {
                                authType: 3,
                                title: '编辑',
                                code: 'system_role_edit',
                                icon: 'Edit',
                                buttonType: 'primary',
                            },
                            {
                                authType: 3,
                                title: '删除',
                                code: 'system_role_delete',
                                icon: 'Delete',
                                buttonType: 'danger',
                            }
                        ]
                    },
                ]
            },
        ]
    }
};

export default [
    appmenu,
]