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 18  
19 19 ## 关键字段
20 20  
21   -参考1:spu表 & sku表、数据源《商品导入模板》
  21 +参考1:spu表 & sku表 & 属性表、数据源《商品导入模板》
22 22 ### SPU表(shoplazza_product_spu)
23   -
24 23 主要字段:
25 24 - `id`: BIGINT - 主键ID
26 25 - `tenant_id`: BIGINT - 租户ID
... ... @@ -75,6 +74,10 @@ spu表全部字段
75 74 "tags" "text" "YES" "" ""
76 75 "note" "text" "YES" "" ""
77 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 81 "shoplazza_created_at" "datetime" "YES" "" ""
79 82 "shoplazza_updated_at" "datetime" "YES" "MUL" ""
80 83 "tenant_id" "bigint(20)" "NO" "MUL" ""
... ... @@ -86,7 +89,6 @@ spu表全部字段
86 89  
87 90  
88 91 ### SKU表(shoplazza_product_sku)
89   -
90 92 主要字段:
91 93 - `id`: BIGINT - 主键ID(对应variant_id)
92 94 - `spu_id`: BIGINT - SPU ID(关联字段)
... ... @@ -133,6 +135,11 @@ sku全部字段
133 135 "update_time" "datetime" "NO" "" "CURRENT_TIMESTAMP" "on update CURRENT_TIMESTAMP"
134 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 143 参考2:波哥 索引《店匠指南》 -> 商品详解
137 144  
138 145  
... ...