const appmenu = {
    url: '/account/menu',
    type: 'get',
    response: {
        code: 200,
        msg: 'success',
        total: 0,
        data: [
            {
                authType: 1,
                sort: 1,
                title: '好友查询',
                code: 'Member',
                url: '/member',
                urlType: 1,
                component: 'views/member/index.vue',
                icon: 'UserFilled',
            },
            {
                authType: 1,
                sort: 2,
                title: '收益查询',
                code: 'Profit',
                url: '/profit',
                urlType: 1,
                component: 'views/profit/index.vue',
                icon: 'TrendCharts',
            },
            {
                authType: 1,
                sort: 3,
                title: '比例查询',
                code: 'Ratio',
                url: '/ratio',
                urlType: 1,
                component: 'views/ratio/index.vue',
                icon: 'Histogram',
                children: [
                    {
                        authType: 3,
                        title: '流水',
                        code: 'RatioHistory',
                        component: 'views/ratio/components/history/index.vue',
                    },
                ]
            },
            {
                authType: 1,
                sort: 4,
                title: '交易数据',
                code: 'Tradedata',
                url: '/tradedata',
                urlType: 1,
                component: 'views/tradedata/index.vue',
                icon: 'TrendCharts',
            },
            {
                authType: 1,
                sort: 5,
                title: '推广收益',
                code: 'Promotion',
                url: '/promotion',
                urlType: 1,
                component: 'views/promotion/index.vue',
                icon: 'Histogram',
                children: [
                    {
                        authType: 3,
                        title: '明细',
                        code: 'PromotionDetails',
                        component: 'views/promotion/components/details/index.vue',
                    },
                    {
                        authType: 3,
                        title: '支取',
                        code: 'PromotionPayment',
                        component: 'views/promotion/components/payment/index.vue',
                    },
                ]
            },
        ]
    }
};

export default [
    appmenu,
]