Commit 5b8cac31 by Sxy

fix: 代码规范

parent c13da8b3
...@@ -17,7 +17,6 @@ module.exports = function (app) { ...@@ -17,7 +17,6 @@ module.exports = function (app) {
if (invokeObj.doexec) { if (invokeObj.doexec) {
p = invokeObj.doexec.apply(invokeObj, params); p = invokeObj.doexec.apply(invokeObj, params);
p.then((r) => { p.then((r) => {
// res.end(JSON.stringify(r));
res.json(r); res.json(r);
}); });
} }
...@@ -42,7 +41,6 @@ module.exports = function (app) { ...@@ -42,7 +41,6 @@ module.exports = function (app) {
if (invokeObj.doexec) { if (invokeObj.doexec) {
p = invokeObj.doexec.apply(invokeObj, params); p = invokeObj.doexec.apply(invokeObj, params);
p.then((r) => { p.then((r) => {
// res.end(JSON.stringify(r));
res.json(r); res.json(r);
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment