摘要: 1 const mongoose = require('mongoose'); 2 3 mongoose.connect('mongodb://localhost/playground') 4 .then(() => console.log('数据库链接成功')) 5 .catch(err => c 阅读全文
posted @ 2020-09-15 14:32 鼓舞飞扬 阅读(204) 评论(0) 推荐(0) 编辑