Browse Source

测试

master
wenlele 12 months ago
parent
commit
e554656a9b
  1. 3
      api/app/lib/controllers/bigScreen/index .js

3
api/app/lib/controllers/bigScreen/index .js

@ -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: '下发指令失败' };
}
}

Loading…
Cancel
Save