Compare commits
2 Commits
4890bae068
...
4dd85485b5
| Author | SHA1 | Date |
|---|---|---|
|
|
4dd85485b5 | |
|
|
53c04d7f6c |
30
README.md
30
README.md
|
|
@ -36,3 +36,33 @@ Dcat-admin 商品管理
|
||||||
| id | bigint | not null | - | 主键 |
|
| id | bigint | not null | - | 主键 |
|
||||||
| name | varchar(191) | not null | - | 名称 |
|
| name | varchar(191) | not null | - | 名称 |
|
||||||
| attr | json | 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": ["耳机", "快充", "手机壳"]},
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
|
### 商品品牌: goods_brand
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue