用request重写了请求部分

This commit is contained in:
孟政元
2017-12-31 18:45:33 +08:00
parent 4cddeb6a2e
commit 602a4dbc4c
4 changed files with 111 additions and 139 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ app.use("/user/record", require("./router/user_playrecord"));
const port = process.env.PORT || 3000;
app.listen(port, () => {
console.log(`server running @${port}`);
console.log(`server running @ http://localhost:${port}`);
});
module.exports = app;