import { MockAdapter } from '@/mock/mock-adapter';
const mock = MockAdapter.getInstance();

import Mock from 'mockjs'
const Random = Mock.Random;

// 获取应用数据
mock.onGet('v7/lite-indexappmenu').reply((config: any) => {
    let status = MockAdapter.mockStatus(config);
    return [status, {
        name: 'appmenu',
        items:  [
            {
	id: '4B9A341A-0A50-4997-84D8-16FA43CDED10',
	name: 'menuitem2',
	text: '数据源',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '数据源',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc2',
	resourcetag: '',
},
            {
	id: '5EB1E88B-564C-4F54-89A3-5954D5EE97F0',
	name: 'menuitem13',
	text: '系统',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '系统',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc13',
	resourcetag: '',
},
            {
	id: '65EB3C1E-8D9D-4694-A65F-495137764D2F',
	name: 'menuitem12',
	text: '模块',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '模块',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc12',
	resourcetag: '',
},
            {
	id: '4F6D513C-830B-4920-8D21-C7241EBC417D',
	name: 'menuitem1',
	text: '实体',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '实体',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc',
	resourcetag: '',
},
            {
	id: 'A9C57D33-0396-4595-AF22-4AB01652C900',
	name: 'menuitem9',
	text: '模型',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '模型',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc9',
	resourcetag: '',
},
            {
	id: '46AB50C7-6CDC-4CA9-ADB8-BB1CE8B2CF4D',
	name: 'menuitem6',
	text: '微服务',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '微服务',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc6',
	resourcetag: '',
},
            {
	id: '2465B8D8-0519-412B-9D34-1F3355FB9EAF',
	name: 'menuitem8',
	text: '接口',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '接口',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc8',
	resourcetag: '',
},
            {
	id: '6FBDA444-19F9-4382-BBED-AE16FB3C7DBE',
	name: 'menuitem5',
	text: '应用',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '应用',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc5',
	resourcetag: '',
},
            {
	id: '72F4E9D3-2443-49F9-85B4-6CC42A268322',
	name: 'menuitem7',
	text: '路由',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '路由',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc7',
	resourcetag: '',
},
            {
	id: 'E7008324-F31D-4CB7-B2E6-F3CE660996B0',
	name: 'menuitem3',
	text: '视图',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '视图',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc3',
	resourcetag: '',
},
            {
	id: '7B655FD1-69E0-4A81-9618-87B5F60DCB12',
	name: 'menuitem4',
	text: '组件',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '组件',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc4',
	resourcetag: '',
},
            {
	id: 'D1F510DC-819F-45FA-AF98-55327155B417',
	name: 'menuitem11',
	text: '配置项',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '配置项',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc11',
	resourcetag: '',
},
            {
	id: '8DAB721A-F1FD-42E3-9EC7-C2871C815FF5',
	name: 'menuitem10',
	text: '大屏',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '大屏',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc10',
	resourcetag: '',
},
            {
	id: 'A51B0224-E5AB-4221-82CA-CAF4CB5BA509',
	name: 'menuitem14',
	text: '动态模型',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '动态模型',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc14',
	resourcetag: '',
},
        ],
    }];
});

