From 047dbb0d7f0b08833f56972f440be2738598ec98 Mon Sep 17 00:00:00 2001 From: timerzz Date: Wed, 4 Sep 2024 14:19:45 +0800 Subject: [PATCH] =?UTF-8?q?feat=20SellerArticle=20=E5=8F=AF=E8=83=BD?= =?UTF-8?q?=E5=AD=98=E5=9C=A8=E5=8C=B9=E9=85=8D=E4=B8=8D=E4=B8=8A=E7=9A=84?= =?UTF-8?q?=E6=83=85=E5=86=B5=EF=BC=8C=E6=89=80=E4=BB=A5=E5=8E=BB=E6=8E=89?= =?UTF-8?q?=E7=BB=84=E5=90=88=E5=94=AF=E4=B8=80=E7=BA=A6=E6=9D=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- structs/v2/seller.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/structs/v2/seller.go b/structs/v2/seller.go index decead8..b5e8d07 100644 --- a/structs/v2/seller.go +++ b/structs/v2/seller.go @@ -59,9 +59,9 @@ type SellerArticle struct { // 销售商商品链接 Link string `json:"link"` // 销售商id - SellerId SellerId `gorm:"index:sellerId_sku,unique" json:"sellerId"` + SellerId SellerId `json:"sellerId"` // 销售商的sku - SkuID string `gorm:"index:sellerId_sku,unique" json:"skuID"` + SkuID string `gorm:"index" json:"skuID"` // 销售商的spuId SpuID string `json:"spuID"` // 是否排除