商品扩展分类

需求:一件商品能有多个扩展分类,搜索任何一个分类都能搜出该商品

建表【扩展分类表】

drop table if exists p39_goods_cat;
create table p39_goods_cat
(
    cat_id mediumint unsigned not null comment '分类Id',
    goods_id mediumint unsigned not null comment '商品Id',
    key goods_id(goods_id),
    key cat_id(cat_id)
)engine=InnoDB default charset=utf8 comment '扩展分类';
goods_cat

相关文章:

  • 2021-09-06
  • 2022-02-25
  • 2021-07-30
  • 2021-07-09
  • 2021-07-31
  • 2021-06-27
  • 2022-02-14
  • 2022-01-21
猜你喜欢
  • 2021-07-11
  • 2021-10-23
  • 2021-12-25
  • 2021-05-31
  • 2021-11-16
  • 2021-07-23
  • 2021-09-30
相关资源
相似解决方案