tweak mock

This commit is contained in:
Pan
2019-03-20 11:00:54 +08:00
parent d927d4172f
commit 7c33568883
6 changed files with 59 additions and 29 deletions

View File

@@ -22,7 +22,7 @@ export default [
return !(name && lowerCaseName.indexOf(name.toLowerCase()) < 0)
})
return {
code: '20000',
code: 20000,
data: { items: mockNameList }
}
}
@@ -34,7 +34,7 @@ export default [
type: 'get',
response: _ => {
return {
code: '20000',
code: 20000,
data: {
total: 20,
'items|20': [{