From bb9fe2646c5f0fe4183b4e38342f8dcb295b9d47 Mon Sep 17 00:00:00 2001 From: timerzz Date: Mon, 18 Nov 2024 17:26:04 +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=E5=BA=93=E5=AD=98=E4=BF=A1=E6=81=AF?= 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 e556ba1..57370b5 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"` + // 库存数量 + Ast int `json:"ast"` // 能否购买 Available bool `json:"available"` // 是否排除,如果排除,就不用拉取价格