From 6f2743be079fd0d30ac9f36fd64ef9de9755ed13 Mon Sep 17 00:00:00 2001 From: timerzz Date: Thu, 5 Sep 2024 16:19:39 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E4=BE=9B=E5=BA=94=E5=95=86=E5=95=86?= =?UTF-8?q?=E5=93=81=E6=B7=BB=E5=8A=A0=E8=83=BD=E5=90=A6=E8=B4=AD=E4=B9=B0?= =?UTF-8?q?=E6=A0=87=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- structs/v2/provider.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/structs/v2/provider.go b/structs/v2/provider.go index e4b98c7..f420b73 100644 --- a/structs/v2/provider.go +++ b/structs/v2/provider.go @@ -66,6 +66,8 @@ type ProviderArticle struct { SkuID string `gorm:"index:providerId_sku,unique" json:"skuID"` // 当前成本价 Cost ProviderPrice `json:"cost" gorm:"type:json;serializer:json"` + // 能否购买 + Available bool `json:"available"` // 是否排除,如果排除,就不用拉取价格 Exclude bool `json:"exclude"` // 历史成本价格