Authored by mali

接口文档

... ... @@ -134,6 +134,18 @@ Alter table product_shop_relation add primary key(product_skn, shop_id);
Alter table product_keywords ADD column `product_skn` int(11) unsigned default 0;
create index keywords_skn on product_keywords(`product_skn`);
-- 2.8 平台商品属性值表
CREATE TABLE product_attribute_property_values (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`product_skn` int(11) unsigned NOT NULL,
`attribute_id` int(11) unsigned NOT NULL COMMENT '品类属性ID',
`attribute_value_id` int(11) unsigned NOT NULL COMMENT '品类属性值ID',
`display_position` int(1) unsigned DEFAULT '1' COMMENT '1:基础商品-非销售属性 2:网销信息-上架后补全信息 3:网销信息-商品参数',
PRIMARY KEY (`id`),
KEY `attribute_pro_skn_attrid` (`product_skn`,`attribute_id`)
) ENGINE=INNODB DEFAULT CHARSET=utf8 COMMENT '平台商品属性值表';
-- 3 数据需要特殊割接
... ...