1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
export default [{ url: '/mock/api/getApiInfo', method: 'get', response: () => { return { code: 200, title: 'mock api test.' } } }, { url: '/api/category', type: 'get', response: () => { return { code: 200, data: [ { id: 1, title: 'JAVA', href: '/category/java' }, { id: 2, title: 'SpringBoot', href: '/category/SpringBoot', }, { id: 3, title: 'MySql', href: '/category/MySql' }, { id: 4, title: '随笔', href: '/category/live' } ] } } } ]
|
评论