This commit is contained in:
2026-02-05 19:04:49 +08:00
parent e43757c4a1
commit 7cb90dfee8
28 changed files with 222 additions and 139 deletions

View File

@@ -4,8 +4,8 @@ CREATE TABLE mall_product
spu_sn VARCHAR(255) DEFAULT '' NOT NULL,
spu_name VARCHAR(255) DEFAULT '' NOT NULL,
main_img VARCHAR(255) DEFAULT '' NOT NULL, --缩略图
detail_img text NULL, --详情图
top_img text NULL, -- 详情页顶图
detail_img text[] NULL, --详情图
top_img text[] NULL, -- 详情页顶图
attribute text DEFAULT '' NOT NULL,
unit VARCHAR(12),
category_id VARCHAR(255) DEFAULT '' NOT NULL,
@@ -17,13 +17,13 @@ CREATE TABLE mall_product
sales int4 DEFAULT 0 NOT NULL,
spu_qty int4 DEFAULT 0 NOT NULL,
tags text DEFAULT '' NOT NULL,
status int4 DEFAULT 0 NULL,
create_user int8 NULL,
create_dept int8 NULL,
create_time TIMESTAMP NULL,
update_user int8 NULL,
update_time TIMESTAMP NULL,
is_deleted int4 DEFAULT 0 NULL
status int4 DEFAULT 0 NULL,
create_user int8 NULL,
create_dept int8 NULL,
create_time TIMESTAMP NULL,
update_user int8 NULL,
update_time TIMESTAMP NULL,
is_deleted int4 DEFAULT 0 NULL
);
-- 缺规格 运费