Browse Source

feat: Product模型添加label字段

pull/8/head
徐飞洋 2 months ago
parent
commit
3164dbe5a0
  1. 5
      server-example/server-mysql.js

5
server-example/server-mysql.js

@ -840,6 +840,11 @@ Product.init({
allowNull: true,
comment: '商品种类'
},
label: {
type: DataTypes.INTEGER,
defaultValue: 0,
comment: '下架标识,1表示已下架'
},
description: {
type: DataTypes.TEXT,
allowNull: true,

Loading…
Cancel
Save