Commit 3a33657de5acd771b4b91d54ddc877f104ee88df

Authored by tangwang
1 parent 15e63baf

索引文档修改

Showing 1 changed file with 10 additions and 3 deletions   Show diff stats
docs/索引字段说明.md
@@ -18,9 +18,8 @@ @@ -18,9 +18,8 @@
18 18
19 ## 关键字段 19 ## 关键字段
20 20
21 -参考1:spu表 & sku表、数据源《商品导入模板》 21 +参考1:spu表 & sku表 & 属性表、数据源《商品导入模板》
22 ### SPU表(shoplazza_product_spu) 22 ### SPU表(shoplazza_product_spu)
23 -  
24 主要字段: 23 主要字段:
25 - `id`: BIGINT - 主键ID 24 - `id`: BIGINT - 主键ID
26 - `tenant_id`: BIGINT - 租户ID 25 - `tenant_id`: BIGINT - 租户ID
@@ -75,6 +74,10 @@ spu表全部字段 @@ -75,6 +74,10 @@ spu表全部字段
75 "tags" "text" "YES" "" "" 74 "tags" "text" "YES" "" ""
76 "note" "text" "YES" "" "" 75 "note" "text" "YES" "" ""
77 "category" "varchar(255)" "YES" "" "" 76 "category" "varchar(255)" "YES" "" ""
  77 +"category_id" "bigint(20)" "YES" "" ""
  78 +"category_google_id" "bigint(20)" "YES" "" ""
  79 +"category_level" "int(11)" "YES" "" ""
  80 +"category_path" "varchar(500)" "YES" "" ""
78 "shoplazza_created_at" "datetime" "YES" "" "" 81 "shoplazza_created_at" "datetime" "YES" "" ""
79 "shoplazza_updated_at" "datetime" "YES" "MUL" "" 82 "shoplazza_updated_at" "datetime" "YES" "MUL" ""
80 "tenant_id" "bigint(20)" "NO" "MUL" "" 83 "tenant_id" "bigint(20)" "NO" "MUL" ""
@@ -86,7 +89,6 @@ spu表全部字段 @@ -86,7 +89,6 @@ spu表全部字段
86 89
87 90
88 ### SKU表(shoplazza_product_sku) 91 ### SKU表(shoplazza_product_sku)
89 -  
90 主要字段: 92 主要字段:
91 - `id`: BIGINT - 主键ID(对应variant_id) 93 - `id`: BIGINT - 主键ID(对应variant_id)
92 - `spu_id`: BIGINT - SPU ID(关联字段) 94 - `spu_id`: BIGINT - SPU ID(关联字段)
@@ -133,6 +135,11 @@ sku全部字段 @@ -133,6 +135,11 @@ sku全部字段
133 "update_time" "datetime" "NO" "" "CURRENT_TIMESTAMP" "on update CURRENT_TIMESTAMP" 135 "update_time" "datetime" "NO" "" "CURRENT_TIMESTAMP" "on update CURRENT_TIMESTAMP"
134 "deleted" "bit(1)" "NO" "" "b'0'" "" 136 "deleted" "bit(1)" "NO" "" "b'0'" ""
135 137
  138 +### 属性表
  139 +"id" "spu_id" "shop_id" "shoplazza_id" "shoplazza_product_id" "position" "name" "values" "tenant_id" "creator" "create_time" "updater" "update_time" "deleted"
  140 +"1" "64001" "1" "7f9eaed5-ff76-4bdd-ae75-b716130e5b0d" "ef7c68fb-2685-4dc5-8996-9c32e8610499" "1" "颜色" "[""蓝色"", ""红色"", ""绿色""]" "162" "1" "16/11/2025 19:39:59" "" "18/11/2025 10:06:11" "0"
  141 +
  142 +
136 参考2:波哥 索引《店匠指南》 -> 商品详解 143 参考2:波哥 索引《店匠指南》 -> 商品详解
137 144
138 145