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/GoodAttributeModel.js

13 lines
269 B

module.exports = function(db,callback){
// 用户模型
db.define("GoodAttributeModel",{
id : {type: 'serial', key: true},
goods_id : Number,
attr_id : Number,
attr_value : String,
add_price : Number
},{
table : "sp_goods_attr"
});
return callback();
}