feat: 展示蝦皮主图和店铺 (#142)
This commit is contained in:
@@ -11,32 +11,36 @@ const (
|
||||
|
||||
// CatalogImportRun 保存批次追踪信息,不保存 Token 或完整请求体。
|
||||
type CatalogImportRun struct {
|
||||
Source string
|
||||
BatchID string
|
||||
RequestHash string
|
||||
Status CatalogImportStatus
|
||||
RequestCount int
|
||||
ConflictCount int
|
||||
ObservedAt string
|
||||
LastRequestAt string
|
||||
LastConflictAt string
|
||||
ShopeeCreated int
|
||||
ShopeeUpdated int
|
||||
SKUCreated int
|
||||
SKUUpdated int
|
||||
UpdatePolicy string
|
||||
SKUFilled int
|
||||
SKUSameSourceUpdated int
|
||||
SKUSkipped int
|
||||
SKUManualSkipped int
|
||||
SKUStaleSkipped int
|
||||
PddCreated int
|
||||
PddUpdated int
|
||||
AssociationCreated int
|
||||
AssociationUnchanged int
|
||||
FailureCount int
|
||||
ErrorSummary string
|
||||
ResponseBody string
|
||||
CreatedAt string
|
||||
FinishedAt string
|
||||
Source string
|
||||
BatchID string
|
||||
RequestHash string
|
||||
Status CatalogImportStatus
|
||||
RequestCount int
|
||||
ConflictCount int
|
||||
ObservedAt string
|
||||
LastRequestAt string
|
||||
LastConflictAt string
|
||||
ShopeeCreated int
|
||||
ShopeeUpdated int
|
||||
ShopeeFieldsFilled int
|
||||
ShopeeFieldsSameSourceUpdated int
|
||||
ShopeeFieldsManualSkipped int
|
||||
ShopeeFieldsStaleSkipped int
|
||||
SKUCreated int
|
||||
SKUUpdated int
|
||||
UpdatePolicy string
|
||||
SKUFilled int
|
||||
SKUSameSourceUpdated int
|
||||
SKUSkipped int
|
||||
SKUManualSkipped int
|
||||
SKUStaleSkipped int
|
||||
PddCreated int
|
||||
PddUpdated int
|
||||
AssociationCreated int
|
||||
AssociationUnchanged int
|
||||
FailureCount int
|
||||
ErrorSummary string
|
||||
ResponseBody string
|
||||
CreatedAt string
|
||||
FinishedAt string
|
||||
}
|
||||
|
||||
+15
-9
@@ -164,15 +164,21 @@ func (p PddProduct) IsDeleted() bool {
|
||||
//
|
||||
// 采集结果和采集状态**不在这里**——它们属于 PDD 商品,见 PddProduct。
|
||||
type ShopeeProduct struct {
|
||||
GoodsID string
|
||||
Title string
|
||||
ShopeeStatus string
|
||||
MainSKUCode string
|
||||
Source string // report=蝦皮报表完整行;syb=顺运宝同步补建的商品骨架
|
||||
PddGoodsURL string
|
||||
PddGoodsID string // 指向 PddProduct.GoodsID,为空表示还没填链接
|
||||
CreatedAt string
|
||||
UpdatedAt string
|
||||
GoodsID string
|
||||
Title string
|
||||
ShopeeStatus string
|
||||
MainSKUCode string
|
||||
ImageURL string
|
||||
ShopeeShopName string
|
||||
ImageSource, ImageObservedAt string
|
||||
ImageIsManual bool
|
||||
ShopNameSource, ShopNameObservedAt string
|
||||
ShopNameIsManual bool
|
||||
Source string // report=蝦皮报表完整行;syb=顺运宝同步补建的商品骨架
|
||||
PddGoodsURL string
|
||||
PddGoodsID string // 指向 PddProduct.GoodsID,为空表示还没填链接
|
||||
CreatedAt string
|
||||
UpdatedAt string
|
||||
}
|
||||
|
||||
// ShopeeSKU 是蝦皮的一个规格(SKU 级)。
|
||||
|
||||
Reference in New Issue
Block a user