You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
739 B
50 lines
739 B
export default [ |
|
{ |
|
url: '/crud/list', |
|
method: 'get', |
|
response: () => { |
|
return { |
|
data: { |
|
total: 10, |
|
data: Array(10).fill( |
|
{ |
|
name: 'small', |
|
sex: '男', |
|
}, |
|
{ |
|
name: 'small', |
|
sex: '男', |
|
} |
|
), |
|
}, |
|
}; |
|
}, |
|
}, |
|
{ |
|
url: '/crud', |
|
method: 'post', |
|
response: () => { |
|
return { |
|
data: {}, |
|
}; |
|
}, |
|
}, |
|
{ |
|
url: '/crud', |
|
method: 'put', |
|
response: () => { |
|
return { |
|
data: {}, |
|
}; |
|
}, |
|
}, |
|
{ |
|
url: '/crud', |
|
method: 'delete', |
|
response: () => { |
|
return { |
|
data: {}, |
|
}; |
|
}, |
|
}, |
|
];
|
|
|