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.
vue-shop-admin-work/models/PermissionModel.js

14 lines
277 B

module.exports = function(db,callback){
// 用户模型
db.define("PermissionModel",{
ps_id : {type: 'serial', key: true},
ps_name : String,
ps_pid : Number,
ps_c : String,
ps_a : String,
ps_level : String
},{
table : "sp_permission"
});
return callback();
}