This commit is contained in:
pplokijuhyg 2019-12-23 20:19:47 +08:00
parent c2d1399ab0
commit 906d3a5e7d

2
app.js
View File

@ -1,6 +1,6 @@
const Koa = require("koa");
const requter = require("./bin/router.js");
dbs = require("./bin/mongodb.js")('mongodb://localhost:27017/myblog',"wecatdemo")
dbs = require("./bin/mongodb.js")('mongodb://localhost:27017/wecatdemo',"wecatdemo")
// console.log(requter)
// import requter from "./bin/router"
const app = new Koa();