feat: 支持无SKU目录导入策略 (#141)

This commit is contained in:
chengma
2026-08-11 11:03:18 +08:00
parent 6386d76488
commit 4259be0e55
17 changed files with 766 additions and 73 deletions
+6
View File
@@ -24,6 +24,12 @@ type CatalogImportRun struct {
ShopeeUpdated int
SKUCreated int
SKUUpdated int
UpdatePolicy string
SKUFilled int
SKUSameSourceUpdated int
SKUSkipped int
SKUManualSkipped int
SKUStaleSkipped int
PddCreated int
PddUpdated int
AssociationCreated int
+2 -1
View File
@@ -181,7 +181,8 @@ type ShopeeProduct struct {
// **永远原样保留**。Color/Size/Advice 是尽力解析的结果,
// 解析失败时留空并把 ParseOK 置 false,不要瞎猜。
type ShopeeSKU struct {
SKUID string
RecordID string // 系统内部记录主键
SKUID string // 可空的真实蝦皮 SKU ID,不得用内部主键冒充
GoodsID string
SpecRaw string
Color string