|
|
@ -77,7 +77,6 @@ const pumpInformation = async function (ctx) { |
|
|
|
|
|
|
|
const getPumpStation = async function (ctx) { |
|
|
|
try { |
|
|
|
console.log(ctx); |
|
|
|
const { key, methodType, field } = ctx.query; |
|
|
|
|
|
|
|
let res |
|
|
@ -161,7 +160,7 @@ async function getCapabilitiesInvoke (ctx, next) { |
|
|
|
ctx.body = res.body; |
|
|
|
} catch (err) { |
|
|
|
ctx.fs.logger.error(`path: ${ctx.path}, error: ${err}`); |
|
|
|
ctx.status = 400;++ |
|
|
|
ctx.status = 400; |
|
|
|
ctx.body = { name: 'FindError', message: '下发指令失败' }; |
|
|
|
} |
|
|
|
} |
|
|
|