修复异常

This commit is contained in:
aixianling
2022-07-14 11:51:29 +08:00
parent 7a22c233fe
commit 21102cdfe2
2 changed files with 4 additions and 4 deletions

View File

@@ -3,10 +3,10 @@ module.exports = {
action: "/node/custom/list",
method: "post",
execute: (request, response) => {
let {size, current, name} = request.query
let {size, current, name, type} = request.query
dbUtils.list({
table: 'node_custom_config', con: name,
search: {size, current}
search: {size, current, type}
}).then(data => {
response.send({code: 0, data})
}).catch(err => {