摘要: //用户 var mongoose = require("mongoose"), setting = require("./setting"); //配置连接数据库方法 var connect = function(){ //mongoose.connect('mongodb://localhost/test'); mongoose.connect("m... 阅读全文
posted @ 2015-06-09 14:10 小小平凡世界 阅读(332) 评论(0) 推荐(0) 编辑