From 3164dbe5a0c3ea69c26987491bc26a8103ab33ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E9=A3=9E=E6=B4=8B?= <15778543+xufeiyang6017@user.noreply.gitee.com> Date: Tue, 6 Jan 2026 13:52:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20Product=E6=A8=A1=E5=9E=8B=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0label=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server-example/server-mysql.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server-example/server-mysql.js b/server-example/server-mysql.js index cfae1eb..0593da7 100644 --- a/server-example/server-mysql.js +++ b/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,