摘要: const mongoose = require('mongoose'); const Schema=mongoose.Schema; mongoose.connect("mongodb://47.93.52.112:27017/myDb", function(err) { console.log('MongoDB 连接成功'); const stuSchema = new Sc... 阅读全文
posted @ 2018-05-03 13:49 丁少华 阅读(163) 评论(0) 推荐(0)