Commit c13da8b3 by Sxy

fix: 代码规范

parent f0ae8e22
...@@ -255,7 +255,7 @@ class DeliverybillService extends ServiceBase { ...@@ -255,7 +255,7 @@ class DeliverybillService extends ServiceBase {
master_source_number: masterSourceNumber master_source_number: masterSourceNumber
}, },
attributes: ["id", "delivery_code"] attributes: ["id", "delivery_code"]
}) });
} }
} }
module.exports = DeliverybillService; module.exports = DeliverybillService;
...@@ -18,7 +18,7 @@ module.exports = function (app) { ...@@ -18,7 +18,7 @@ module.exports = function (app) {
p = invokeObj.doexec.apply(invokeObj, params); p = invokeObj.doexec.apply(invokeObj, params);
p.then((r) => { p.then((r) => {
// res.end(JSON.stringify(r)); // res.end(JSON.stringify(r));
res.json(r) res.json(r);
}); });
} }
}); });
...@@ -43,7 +43,7 @@ module.exports = function (app) { ...@@ -43,7 +43,7 @@ module.exports = function (app) {
p = invokeObj.doexec.apply(invokeObj, params); p = invokeObj.doexec.apply(invokeObj, params);
p.then((r) => { p.then((r) => {
// res.end(JSON.stringify(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