一张表记录所有的商品属性,有三组
[
{"specname":"码数","values":["S","M","L","XL"]},
{"specname":"颜色","values":["蓝色","红色","绿色","紫色"]},
{"specname":"款式","values":["豹纹","羽毛","哆啦A梦","海贼王"]}
]
商品细表记录各种组个规格,json格式,每组其中一条组合
["M","蓝色","哆啦A梦"]
这只是我自己的思路,还望大佬们指点
来源:https://www.cnblogs.com/hjieone/p/12431274.html