Authored by 周奇琪

请求不阻塞

... ... @@ -55,12 +55,11 @@ function cli(req,res) {
if(err) {
console.log(err);
console.log(outerr);
res.json({"code":500,"message": err.message});
} else {
console.log(out);
res.json({"code":200,"message":"done!"});
}
});
res.json({"code":200,"message":"doing!"});
}
module.exports = router;
... ...