字段 类型 默认 注释
id int(11) NO 商品id
uniacid int(11) NO 店铺ID
brand_id int(11) NO 品牌ID
type tinyint(11) NO 1为实体,2为虚拟
status tinyint(11) NO 状态 1上架,0下架
display_order int(11) YES 排序
title varchar(100) NO 商品名称
thumb varchar(255) NO 商品图
thumb_url text(65535) YES 缩略图地址
sku varchar(5) YES 商品单位 unit
description varchar(1000) YES 分享描述
content text(65535) YES 商品详情
goods_sn varchar(50) YES 商品编号
product_sn varchar(50) YES 商品条码
market_price int(11) YES 原价
price int(11) NO 商品现价
cost_price int(11) YES 成本价
stock int(11) NO 商品库存 原total
reduce_stock_method int(11) YES 减库存方式 0 拍下减库存 1 付款减库存 2 永久不减 totalcnf
show_sales int(11) YES 已出售数量
real_sales int(11) YES 实际出售数量
weight decimal(11) YES 重量
has_option int(11) YES 启用商品规格 0 不启用 1 启用
is_new tinyint(11) YES 新上
is_hot tinyint(11) YES 热卖
is_discount tinyint(11) YES 促销
is_recommand tinyint(11) YES 推荐
is_comment tinyint(11) YES 允许评论
is_deleted tinyint(11) NO 是否删除
created_at int(11) YES 建立时间
deleted_at int(11) YES 软删除
updated_at int(11) YES 更新时间
is_plugin tinyint(11) YES 是否为供应商商品
plugin_id tinyint(11) YES 插件商品标识
virtual_sales int(11) YES 0 虚拟销量
goods_video string YES 0 商品视频链接(不用了)
no_refund tinyint YES 0 不可退货退款 0否 1是
need_address tinyint YES 0 是否需要填写收货地址 0:是1:否