微信公众号鉴权流程
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
257 B

var mongoose = require('mongoose')
// 表结构对象
var userSchema = new mongoose.Schema({
user: String,
pwd: String
})
// 操作表结构对象的数据模型
var userModel = mongoose.model('userModel', userSchema)
module.exports = userModel