update readme.md
parent
4890bae068
commit
53c04d7f6c
28
README.md
28
README.md
|
|
@ -36,3 +36,31 @@ Dcat-admin 商品管理
|
|||
| id | bigint | not null | - | 主键 |
|
||||
| name | varchar(191) | not null | - | 名称 |
|
||||
| attr | json | null | - | 属性展示 |
|
||||
| spec | json | null | - | 规格筛选 |
|
||||
| part | json | null | - | 配件多选 |
|
||||
|
||||
> goods_type.attr 存储格式
|
||||
|
||||
```json
|
||||
[
|
||||
{"name": "主体", "values": ["入网型号", "上市年份"]},
|
||||
{"name": "基本信息", "values": ["尺寸", "颜色", "CPU型号", "重量"]}
|
||||
]
|
||||
```
|
||||
|
||||
> goods_type.spec 存储格式
|
||||
|
||||
```json
|
||||
[
|
||||
{"name": "颜色", "values": ["红色", "白色", "灰色"]},
|
||||
{"name": "版本", "values": ["128G", "256G", "512G", "1TB"]}
|
||||
]
|
||||
```
|
||||
|
||||
> goods_type.part 存储格式
|
||||
|
||||
```json
|
||||
[
|
||||
{"name": "配件", "values": ["耳机", "快充", "手机壳"]},
|
||||
]
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue