Commit 3b4ab9c2 by 兰国旗

添加图片大小到数据库并展示,修改图片名称为自动获取文件名称

parent f533f3f2
......@@ -22,7 +22,11 @@ module.exports = (db, DataTypes) => {
allowNull: false,
type: DataTypes.STRING
}
,
pic_size: {
allowNull: false,
type: DataTypes.STRING
}
}, {
paranoid: true,//假的删除
underscored: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment