feat: 完善 SYB 蝦皮主数据与软删除 (#203 #204 #205)

This commit is contained in:
chengma
2026-08-13 10:39:21 +08:00
parent 3af9bf245a
commit ad1ccc2c60
23 changed files with 864 additions and 90 deletions
+5
View File
@@ -177,10 +177,15 @@ type ShopeeProduct struct {
Source string // report=蝦皮报表完整行;syb=顺运宝同步补建的商品骨架
PddGoodsURL string
PddGoodsID string // 指向 PddProduct.GoodsID,为空表示还没填链接
DeletedAt string
DeletedByUserID string
CreatedAt string
UpdatedAt string
}
// IsDeleted 判断蝦皮商品是否在回收状态。
func (p ShopeeProduct) IsDeleted() bool { return p.DeletedAt != "" }
// ShopeeSKU 是蝦皮的一个规格(SKU 级)。
//
// SpecRaw 是报表里的规格原文,例如「黑色,M【建議40-50公斤】」,