Commit db265024 by 王栋源

wdy

parent c03886d3
...@@ -50,7 +50,7 @@ class TmjsonfileService extends ServiceBase { ...@@ -50,7 +50,7 @@ class TmjsonfileService extends ServiceBase {
} }
var jsonstr = JSON.stringify(sources, null, "\t"); var jsonstr = JSON.stringify(sources, null, "\t");
return new Promise(function (resv, rej) { return new Promise(function (resv, rej) {
fs.writeFile('/tmp/tmjsonfile/20191125_2.json', jsonstr, function (err) { fs.writeFile('/tmp/20191125_2.json', jsonstr, function (err) {
if (err) { if (err) {
console.error(err); console.error(err);
} }
......
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