|
|
@ -4036,12 +4036,10 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const result = { |
|
|
const result = { |
|
|
list: dataSource, |
|
|
data: dataSource, |
|
|
pagination: { |
|
|
total: dataSource.length, |
|
|
total: dataSource.length, |
|
|
pageSize, |
|
|
pageSize, |
|
|
current: parseInt(params.currentPage, 10) || 1, |
|
|
current: parseInt(params.currentPage, 10) || 1, |
|
|
|
|
|
}, |
|
|
|
|
|
}; |
|
|
}; |
|
|
return res.json(result); |
|
|
return res.json(result); |
|
|
} |
|
|
} |
|
|
|